This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problem: namespace declaration in output document


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]