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: "Jeni Tennison" <mail at jenitennison dot com>, <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: "Shakeel Mahate" <shakeelmahate at hotmail dot com>
- Date: Wed, 14 Mar 2001 08:34:29 -0700
- References: <LAW2-OE3181TbdkSmLA00002d0c@hotmail.com> <1782791523.20010314085612@jenitennison.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
From: "Jeni Tennison" <mail@jenitennison.com>
> > Is $container//account/person/@name a valid XPath expression?
>
> Yes. It says:
>
> > I tried looking up the documentation for the saxon:evaluate and
> > xalan:evaluate() but I couldnt answer the question.
>
> If you want to learn about XPath expressions, you should have a look
> at the XPath Recommendation at http://www.w3.org/TR/xpath. Or one of
> the online tutorials about them.
>
The XPath TR contains just 5 references to '$' and another 5 references to
'VariableReference'. There arent any examples or explanation of
VariableReference.
Can VariableReference contain VariableReferences?
Can an expression contain more than one VariableReference?
The VariableReference is something that is not obvious after reading the
spec.
Thanks a lot for your help.
I would suggest that the evaluate function in Kay's XSLT reference should
have some more meat (not the EU meat :-)
-Shakeel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list