Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Xalan XPathAPI question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Joona I Palaste, post: 553055"] This should read: "/document/element[@name=$var]/text()" I missed the "at sign" from the original. NO, there are no quotes around $var. That is intentional. It's supposed to be the variable named var, not the literal string "$var". AFAIK, the string I wrote above *IS* a valid XPath string. The document at the W3C's home page says variable references are part of the XPath syntax. I already know how to search for literal strings, thanks very much. I wouldn't have asked "how can I resolve variables?" if all I ever had were literal strings. This is irrelevant to my question. -- /-- Joona Palaste (palaste@cc.helsinki.fi) ------------- Finland --------\ \-- [URL]http://www.helsinki.fi/~palaste[/URL] --------------------- rules! --------/ "I am not very happy acting pleased whenever prominent scientists overmagnify intellectual enlightenment." - Anon [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Xalan XPathAPI question
Top