[xsl] Problem with attributes

Subject: [xsl] Problem with attributes
From: Seema Kumar <2kseema@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 May 2001 21:18:31 +0500 (GMT-5)
Hi all !

I had posted a similar question yesterday, but failed to get a proper
solution. I have the following lines inserted in my xsl :
<xsl:for-each select="chapter">
<a href="XMLShowLevel?num={@num} "><xsl:value-of select="title"/></a>

However, when the servlet XMLShowLevel is called it refuses to get the
value of the attribute num as parameter. It just gets the string "{@num}"
and not the value. Could somebody help me with this ?

Also could anyone provide me with any sample implementation of a Table of
Contents where it is viewed level by level ?

Thanks in advance
Seema


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread