Lyndon,
You can use saxon:evaluate() for that. For instance
saxon:evaluate($path), if $path contains an XPath expression, or
saxon:evaluate(/a/b) of the node /a/b itself contains an XPath
expression. You'll find more on this at:
http://www.saxonica.com/documentation/extensions/functions/evaluate.htmlAlex
On Mon, Apr 19, 2010 at 8:53 AM, lkbrown <
[hidden email]> wrote:
> I have a string stored in a variable or xml elements that I would like to
> use in an xpath expression. Is there an easy way to convert this string to a
> node set ? example:: model: ="/ai:inventory/ai:products/ai:product ....
> body: This doesn't work. .....
> ________________________________
> View this message in context: String to nodeset
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing
> list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/My Twitter:
http://twitter.com/avernet--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet