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: Richard Draucker <richard at draucker dot com>
- Date: Wed, 23 May 2001 18:28:04 -0400
- Organization: Protected-Data.Com
- References: <Pine.SUN.3.95.1010523211440.9018A-100000@sun20>
- Reply-To: xsl-list at lists dot mulberrytech dot com
At time of post, {@num} should not be available. This
would seem to mean you're xslt processor isn't assigning
the value to {@num}. Look at the source in your result
document to verify this. You may be trying to solve
a consequence rather than a problem.
On Wed, 23 May 2001, you wrote:
> 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
--
Richard Draucker, richard@protected-data.com
Protected-Data.Com www.protected-data.com
Remote data support for web developers.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list