Re: [xsl] Lost Attributes?

Subject: Re: [xsl] Lost Attributes?
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>
Date: Tue, 5 Mar 2002 20:39:11 +0100
Hi Mike,

you want to create a attribute named 'ENCODINGANALOG' and to this attribute
you copy the attribute 'LINK'. Attributes can not be nested. So
<xsl:value-of/> is the one and only solution.



> THIS DOES NOT WORK:===========
> <xsl:template match="C1005" mode="hey">
>   <xsl:element name="PHYSDESC">
>     <xsl:attribute name="ENCODINGANALOG">
>       <xsl:copy-of select="@LINK"/>
>     </xsl:attribute>
>     <xsl:copy-of select="@SC300"/>
>   </xsl:element>
> </xsl:template>
> Maybe I need to use xsl:copy instead?
> Mike F.

 XSL-List info and archive:

Current Thread