This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: transformation problem
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] transformation problem
- From: Jörg Heinicke <joerg dot heinicke at gmx dot de>
- Date: Fri, 05 Oct 2001 18:57:13 +0200
- References: <OF03683A69.E97CA3DB-ON80256ADC.005AA233@nebula.ie>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sorry, but this will never, never work! But there is a really easy alternative:
<xsl:element name="@name"/>
Joerg
marc.harrington@nebula.ie wrote:
> Hi all !
>
> I have the following tag in my xml doc.
>
> <element name="book"/>
>
> I'm trying to extract the attribute and use it as a tag.
>
> <book/>
>
>
> I'm trying
>
> <xsl:template match="xsd:element">
> <"{@name}"/>
> </xsl:template >
>
> But this doesn't work.
>
> Any ideas ?
>
> Also does anyone have any examples of schema annonations or adjuncts
> working ?
>
> Thanks
> Marc Harrington
--
System Development
VIRBUS AG
Fon +49(0)341-979-7435
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list