Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - xsl:value select [Thread Next] Re: xsl:value selectTo: NULL Date: 4/2/2009 9:19:00 AM You can't really do what you want, dynamic XPath, using standard XSLT. Some processors have extension methods that allow this though, Saxon for example has saxon:evaluate and saxon:eval. If you're using a Microsoft product you could also write you own extension. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name "Sly" <slygagnon247@g...> wrote in message news:36f70bcd-2c01-4665-b5c4-e85e6c510e9d@r...... > Hi all, > > I would like used the <xsl:value-of select="MyXMLField"/> command from > my xsl file. > > Here my XML file: > > > MyXMLField is defined from another value of field on my xml file. > <TEST> > <VALUE> > <MYFIELDNAME>MyXMLField</MYFIELDNAME> > <MyXMLField>10</MyXMLField> > </VALUE> > </TEST> > > It is possible to have this value by this command? : > <xsl:value-of select=<xsl:value-of select"MYFIELDNAME"/> > > Thanks > > Sly | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
