This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with attributes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]