xsl-list
[Top] [All Lists]

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

2007-11-30 05:30:48

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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>