Re: [xsl] Vertical table display with sort

Subject: Re: [xsl] Vertical table display with sort
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 30 Apr 2003 13:11:51 +0100
> Can I declare some variable like this and use it inside
>       <xsl:for-each select="o/com/$temp/*">?

No. As is the case with most programming languages, Xpath variables can
only hold values not fragments of expressions.

You can do

<xsl:for-each select="o/com/*/*">

or

<xsl:for-each select="o/com/*[nsmae()=$temp]/*">

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread