Subject: RE: [xsl] Getting Node Name From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx> Date: Fri, 24 May 2002 12:06:22 +0100 |
i think that you could use also <xsl:template match="."> <Node><xsl:node-name/></Node> </xsl:template> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Andrew Welch Sent: sexta-feira, 24 de Maio de 2002 11:37 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Getting Node Name >Can I get the node name like this. Yes, investigate the functions name() and local-name() such as: <xsl:template match="*"> <Node> <xsl:value-of select="local-name()"/> </Node> </xsl:template> cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Getting Node Name, Andrew Welch | Thread | Re: [xsl] Getting Node Name, David Carlisle |
[xsl] regarding extension elements, Laura Jenkins | Date | Re: [xsl] Displaying text nodes and, Filipe Correia |
Month |