This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Getting Node Name
- From: "Andrew Welch" <awelch at piper-group dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 24 May 2002 11:36:35 +0100
- Subject: RE: [xsl] Getting Node Name
- Reply-to: xsl-list at lists dot mulberrytech dot com
>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