This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binding an xpath expression to a variable/param


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]