![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xsl] [XPath-2.0] Get the name of type of a node [xsl] [XPath-2.0] Get the name of type of a nodeTo: Date: 11/1/2005 9:18:00 PM 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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
