File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes string to xpath (nodelist) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "string to xpath (nodelist)" Watch "string to xpath (nodelist)" New topic

string to xpath (nodelist)

robert bisang

Joined: Jun 11, 2001
Posts: 4
my problem is a xsl:variable which is concatinated. for example like this:
now when i do a xsl:value-of i always get this string back and not the value in the element "Value".
thanks for help
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
i guess this can be achieved only using xslt extensions.
Which procesor are you using?
if using xalan , you can use the extension function evaluate, similar to the eval construct provided by many programming languages.

robert bisang

Joined: Jun 11, 2001
Posts: 4
thanks a lot.
i'm using saxon, but it's the same command and it's working!
I agree. Here's the link:
subject: string to xpath (nodelist)
It's not a secret anymore!