xsl-list
[Top] [All Lists]

RE: From a string to node-set

2003-08-28 22:43:21
Hi,

At this moment I can only get string and pass it into
the template. How can I test if an element by that
name exists?

  *[name() = $pName]

or

  *[local-name() = $pName]

See the XPath spec for the difference between name() and local-name() functions.

Cheers,

Jarno

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



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