RE: [xsl] Unwanted default namespace copied to output in XSLT v1.0

Subject: RE: [xsl] Unwanted default namespace copied to output in XSLT v1.0
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 30 Nov 2007 12:30:16 -0000
> > Any suggestions how to avoid this problem?
> 
> 
> <xsl:element name="{name()}" namespace="{namespace-uri()}">
> 

Another approach which you might consider is to declare the unwanted
namespace on the outermost element of your result document. You'll then get
one unwanted declaration instead of hundreds of them.

Michael Kay
http://www.saxonica.com/

Current Thread