![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Cand XSLT evaluate XPath in String variable? [Thread Next] Re: Cand XSLT evaluate XPath in String variable?To: NULL Date: 1/4/2005 2:06:00 PM Hi, > In XSLT, is this possible to get value from xml using XPath > which is in XSLT variable? > > Any solution for this problem in XSLT? This is not possible in XSLT1.0 (I don't know about 2.0), but you can work around it. 1) Use an extension function that evaluates a string as Xpath e.g. 'dyn:evaluate' (http://www.exslt.org/dyn/functions/evaluate/index.html) 2) Use a two step tranformation If you choose the second option, I could help - I have no experience whatsoever with the first option. regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Spread the wiki (http://www.wikipedia.org) | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
