Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - how to access attribute value as an expression [Thread Next] Re: how to access attribute value as an expressionTo: NULL Date: 11/4/2004 1:48:00 PM Niels Schultz wrote: > i have created a temporary Node, to pass it as parameter to a > "generator" template that is supposed to produce a html table, with 2 > columns (or whatever): > > -------------- > Desc. | Value > -------------- > Desc. | Value > > and so on, now I can't get the "description" from the XML, so I made > myself a few attributes inside the Nodes Element to assign them to > elements from the XML file, and I can read the elements name, but I > need the self-made attributes "value" to access the current elements > value, I hope i can make myself clear here?! ;) XSLT doesn't support dynamic XPath evaluation. You can go for extension functions (if you are on .NET, check out EXSLT.NET's dyn2:evaluate() function) or generating XSLT on the fly workarounds. -- Oleg Tkachenko [XML MVP] http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
