|
Subject: RE: Converting attributes into child elements From: Kay Michael <Michael.Kay@xxxxxxx> Date: Sun, 12 Nov 2000 00:26:05 -0000 |
> I need some help with a transformation. I would like to take
> an element
> with multiple attributes and convert them so the attributes
> are now child
> elements of the original element.
<xsl:for-each select="@*">
<xsl:element name="{name(.)}">
<xsl:value-of select="."/>
</xsl:element>
</xsl:for-each>
Mike Kay
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Converting attributes into chil, David Carlisle | Thread | RE: Converting attributes into chil, jlangdon |
| RE: question with using Muenchian/x, Xiaocun Xu | Date | RE: question with using Muenchian/x, Kay Michael |
| Month |