[Home] [By Thread] [By Date] [Recent Entries]
Ryan Puddephatt wrote:
Hi all, If you transform something with XSLT 2.0, you can set exclude-result-prefixes="#all" on the main xsl:stylesheet or xsl:transform element, which will remove all namespace declarations that are unused. It doesn't matter whether your prefixes change. If your namespace changes, your whole document (i.e, the identity of your document and nodes) changes and you'll have to pull other tricks. But different namespaces for the same content are unlikely, so I presume you meant prefixes, right? -- Abel Braaksma http://www.nuntia.nl
|

Cart



