xsl-list
[Top] [All Lists]

Re: [xsl] variable in xsl:template match

2007-04-26 07:55:16
Garvin Riensche wrote:
Great! Thanks to you an Ronan for the quick answer!

/root/node()[name() = $target]/child


Be aware of namespaces... You may want to use local-name() or some other method, as in my previous post. Also, you need XSLT 2.0, but that was already explained to you.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--