Subject: [xsl] [XPath-2.0] Get the name of type of a node From: Florent Georges <fgeorges.spam@xxxxxxxxx> Date: Tue, 1 Nov 2005 21:38:23 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] removing nodes according , drkm | Thread | RE: [xsl] [XPath-2.0] Get the name , Michael Kay |
[xsl] removing nodes according to a, Charles Ohana | Date | [xsl] Processing IDREFS attributes, Dan Vint |
Month |