|
Subject: Re: Converting attributes into child elements From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 11 Nov 2000 17:58:03 GMT |
<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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Converting attributes into chil, Steve Muench | Thread | RE: Converting attributes into chil, Kay Michael |
| Re: Converting attributes into chil, Steve Muench | Date | XPath help, Robert Koberg |
| Month |