RE: [xsl] Getting Node Name

Subject: RE: [xsl] Getting Node Name
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Fri, 24 May 2002 11:36:35 +0100

>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


Current Thread