Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xsl:value select

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 4/2/2009 9:22:00 AM
I also meant to add that for simple cases you can also do:
<xsl:value-of select="//*[local-name() = $myFieldName]" />
although it would be better to have a more specific path if possible.

-- 

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

 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent