This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to specify a path to a node in a nodeset using a variable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] How to specify a path to a node in a nodeset using a variable
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 12 Mar 2001 09:14:56 GMT
- CC: XSL-List at lists dot mulberrytech dot com
- References: <LAW2-OE24k3zp2IZuST00002719@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> In my scenario, $container is a nodeset, not a nodeset expression.
yes but '$container' is a string. You can use concat to join that to
a string representation of the rest of the XPath expression you want to
evaluate, then use saxon: or xalan: evaluate to evaluate the resulting
string as an XPath expression.
> Why can't we have a construct specifically for changing the current nodeset,
> in my previous email I gave two alternatives.
Well it depends whetehr you are discussing programming in XSLT or in a
future version. Both are reasonable subjects for this list, but you
get different answers depending on the context.
> Does this mailing list apply only to saxon? Should I be posting
> somewhere else for Xalan.
No it's for XSLT in general. processor specific questions are best asked
elsewhere (both saxon and xalan have their pwn developers lists, I
believe)
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list