| Unwanted namespace attribute(s) added by applying an XSL transform |
|
|
You have written a nice XSLT template to transform one XML document into another. Well every thing seams to be ok but on some random element you get an unwanted
attribute or even more of the same... |
||
| How it was solved |
|
|
Here the amended style sheet header:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="#default" version="1.0" >The exclude-result-prefixes attribute allows to selectively suppress the unwanted prefixes by listing their names. #default designates the default namespace which itself has no name. |
||