Subject: Re: XPath-Expression
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 22 May 2001 15:56:29 +0100
|
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
|