This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XPath-Expression


Hi Mengel,

> Is there any way to convert a string into a nodeset or are there any
> other possibilities ?

This isn't possible* in XSLT 1.0 without an extension function like
saxon:evaluate() or using msxsl:script in MSXML.

* Well, if the paths are simple, you can use things like "*[name() =
$path]" to select elements that are named in the path, and use
recursive functions to move along the string, but usually it ends up
being too complicated to be worthwhile.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]