This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem with attributes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Problem with attributes
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 23 May 2001 10:29:28 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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 ?
A guess - you're using WD-xsl and not XSLT.
See the MSXML FAQ at www.netcrucible.com
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list