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

RE: [xsl] Problem with doctype-system in transformation xml to xml


Subject: RE: [xsl] Problem with doctype-system in transformation xml to xml
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 7 Dec 2005 16:23:29 -0000

> Now i have all the attributes of the xsl:stylesheet element 
> as attributes of
> my top-level element in the destination xml-file.

Do you mean attributes, or do you mean namespace declarations?

To avoid namespaces being copied from the stylesheet to the result document,
use the exclude-result-prefixes attribute on xsl:stylesheet.

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


Current Thread