This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Lost Attributes?
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 5 Mar 2002 20:39:11 +0100
- Subject: Re: [xsl] Lost Attributes?
- References: <20020305192231.91536.qmail@web10103.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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.
Regards,
Joerg
> 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: http://www.mulberrytech.com/xsl/xsl-list