This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: binding an xpath expression to a variable/param
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 26 Feb 2002 21:33:04 +0100
- Subject: Re: [xsl] binding an xpath expression to a variable/param
- References: <F267ztNIWq2ktWu696Q0001644f@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Kit,
you mean storing something like '/root/child/@id' in a variable? THis is of
course possible, but only as string. For using it as XPATH expression, you
need a extension function evaluate(). E.g. Xalan:
http://xml.apache.org/xalan-j/extensionslib.html#evaluate.
Joerg
> hi, i was wondering is it true that you cannot bind an xpath expression in
> a variable or param? if not, is there a way to overide it?
> many thanks
>
> Regards
> Kit
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list