I
want to show all pages under Page 1 on Page 1 with headings as there
names & Heirarchy should be mainetained. i.e. pages under subpage 1
should be shown under heading of subpage 1 & so on.
<xsl:param name="currentPage"/> <!-- only select children of current page --> <xsl:variable name="startPage" select="$currentPage[@isDoc]"/> <!-- h level (default = 1 for h1) --> <xsl:variable name="headingLevel" select="1"/> <!-- max level (default = don't go more than 6 levels (only up to h6)) --> <xsl:variable name="maxLevel" select="$headingLevel + 5"/>
Showing content of all child pages on one page
Hi,
I have one herirchy
Page 1
>subpage1
>>sub1page1
>>sub1page2
>subpage2
>>sub2page1
>>sub2page2
I want to show all pages under Page 1 on Page 1 with headings as there names & Heirarchy should be mainetained. i.e. pages under subpage 1 should be shown under heading of subpage 1 & so on.
Please help me to do this.
Hi,
I want to showsomthing like this on Page 1
subpage1
content of sub1page1
content of sub1page2
subpage2
content of sub2page1
content of sub2page2
can any 1 help me.
You could try this:
Hope it helps
is working on a reply...