xsl-list
[Top] [All Lists]

RE: Re: dynamic XPath?

2003-03-12 14:27:41
[Dimitre Novatchev]

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.

Cheers,

Tom P

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



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