xsl-list
[Top] [All Lists]

Re: Vertical table display with sort

2003-04-30 05:11:51

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



<Prev in Thread] Current Thread [Next in Thread>