xsl-list
[Top] [All Lists]

Re: an Xpath question - $tag/$subtag

2003-07-07 14:00:50
Thnx Markus!...that helped a lot!
----- Original Message -----
From: "Markus Abt" <abt(_at_)comet(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Monday, July 07, 2003 4:01 PM
Subject: AW: [xsl] an Xpath question - $tag/$subtag


thnx for the reply and sorry for being vague.
If my first step is 'nodeset' and the second and all the subsequent
steps
are 'String'....will xpath support it?

ok, then you use:

<xsl:apply-templates select="$tag/*[name()=$subtag]"/>


Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de


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



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



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