This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Converting attributes into child elements
- To: xsl-list at mulberrytech dot com
- Subject: Re: Converting attributes into child elements
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Sat, 11 Nov 2000 17:58:03 GMT
- References: <200011111738.MAA04983@mail.monmouth.com>
- Reply-To: xsl-list at mulberrytech dot com
<xsl:template match="person">
<xsl:copy>
<xsl:for-each select="@*"/>
<xsl:element name="{name()}"><xsl:value-of select="."/></xsl:element>
</xsl:for-each>
</xsl:copy>
</xsl:template>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list