Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Variables in XSLT >Thread Next - Re: Variables in XSLT Re: Variables in XSLTTo: NULL Date: 11/2/2006 5:52:00 PM Carles Company Soler wrote: > I want to store the value of an attribute in a XSL variable. I do it this > way: > > <xsl:variable name="aux" select="@x" /> > > But I don't get anything in the variable... What do I get wrong? We need to know what is the context node (e.g. whether it is an element node and has an attribute named "x"), then we need to see where you read out the attribute value. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
