wood burning stoves 2.0*
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "string to xpath (nodelist)" Watch "string to xpath (nodelist)" New topic
Author

string to xpath (nodelist)

robert bisang
Greenhorn

Joined: Jun 11, 2001
Posts: 4
hi
my problem is a xsl:variable which is concatinated. for example like this:
/Offer/Brick[@name='InsuredPerson1']/Attribute[@name=$fullAttributeName]/Value
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.

HTH
robert bisang
Greenhorn

Joined: Jun 11, 2001
Posts: 4
thanks a lot.
i'm using saxon, but it's the same command and it's working!
bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: string to xpath (nodelist)
 
Similar Threads
javax.servlet.forward.path_info
How to access data?
request.getHeader("Referer")
need help urgently
request.getParameter