|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [XPath-2.0] Get the name of type of a node
Hi
Do you know if it's possible to get the name of the type of an
element, with XPath 2.0? Say I want to display the type of the 'elem'
elements. What can I use in the '@select' of the following
'xsl:value-of'?
<xsl:template match="elem">
<xsl:text>name: 'elem', type: '</xsl:text>
<xsl:value-of select="type-name(type-of(.))"/>
<xsl:text>' </xsl:text>
</xsl:template>
Thanks,
--drkm
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








