It will also "work" for more than one node (in case $tagPath
evaluates to a
nodeset of two or more nodes) and most probably is not what
the author of
the original message wanted.
I think I may have misunderstood here, and perhaps you misunderstood me
as well... I understood the original question to ask for matching a
__string__ containing a path expression, like "/a/b/c" (that is the kind
of example O thought that Yue Ma showed). For my own post, I put the
path string into a variable, thinking that it would probably eventually
be sent in via a parameter.
Re-reading your comment, I notice that you might have thought that I
was selecting a node set into the variable, instead of a string, but
that is not the case.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list