View Single Post
  #5 (permalink)  
Old February 18th, 2009, 12:11 AM
mrame mrame is offline
Friend of Wrox
Points: 1,306, Level: 14
Points: 1,306, Level: 14 Points: 1,306, Level: 14 Points: 1,306, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2008
Location: Pondicherry, India
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts
Thumbs up

Try this:

Code:
 
<xsl:template match="PAGE">
<a>
<xsl:attribute name="name">
<xsl:value-of select="@LABEL"></xsl:value-of>
</xsl:attribute>
</a>
<p><xsl:value-of select="INDENTPARA"></xsl:value-of></p>
</xsl:template>

<xsl:template match="INDENTPARA"></xsl:template>

<xsl:template match="INDEXITEMPAGE">
<a>
<xsl:attribute name="href">#<xsl:value-of select="@LABEL"></xsl:value-of></xsl:attribute>
<xsl:value-of select="."></xsl:value-of>
</a>
</xsl:template>


You should post the input and required output correctly. Only then you could get a solution. Your question is not clear much.
__________________
Rummy
Reply With Quote