This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem: namespace declaration in output document
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Problem: namespace declaration in output document
- From: "Yvonne Gerber" <ygerber at e2e dot ch>
- Date: Wed, 26 Sep 2001 15:27:01 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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