[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Avoid copying of namespace declarations of the XSL


Subject: RE: [xsl] Avoid copying of namespace declarations of the XSL
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 13 May 2003 02:03:17 +0100

> Is there a way to avoid getting the namespace
> definitions copied into the result xml file using XSLT
> 
> ... in my case, the input xml file does not have any
> namespace declarations.

If the unwanted namespaces are being copied from the stylesheet, as
distinct from the source XML document, then exclude-result-prefixes
should prevent this.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords