XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
manjula pSubject: xpath in string format
Author: manjula p
Date: 16 Feb 2009 04:34 AM
Hi,

I have this.
<xsl:variable name="path" select="/html/body/table">
I want '/html/body/table' so that i can use it for concatination with other xpath string and evaluate it using dyn:evaluate function.

How to convert node-set to string xpath?

Can anyone please help me.

thanks,

Posttop
Tony LavinioSubject: xpath in string format
Author: Tony Lavinio
Date: 17 Feb 2009 08:17 AM
The XSLT standard defines XPaths as something static, not dynamic.
There are some processors which let you evaluate them at runtime.
See saxon:evaluate as an example.
http://www.saxonica.com/documentation/extensions/functions/evaluate.html

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.