aspose file tools
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 The Software Craftsman this week in the Agile 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!
It is sorta covered in the JavaRanch Style Guide.
subject: string to xpath (nodelist)