Subject: RE: Problem: namespace declaration in output document
From: "Yvonne Gerber" <ygerber@xxxxxx>
Date: Wed, 26 Sep 2001 15:27:01 +0100
|
Thanks, it's working now!
> <xsl:variable name="rtf">
> <xsl:element name="my:dummy" namespace="{-- your namespace here-- }"/>
> </xsl:variable>
>
> <definitions>
> <xsl:copy select="xx:node-set($rtf)/*/namespace::my"/>
> <xsl:attribute name="name">xyz</xsl:attribute>
I used the alternative (b) but I had to use <xsl:copy-of select="..."/>
instead of <xsl:copy select="..."/> to get the desired output.
Yvonne Gerber
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|