Omit unneeded namespaces from the output
问题 My XSLT is outputiung some tags with xmlns:x="http://something" attribute... How to avoid this redundant attribute? The output XML never use, neither in a the x:tag , nor in an x:attribute . EXAMPLE OF XML: <root><p>Hello</p><p>world</p></root> EXAMPLE OF XSL: <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink"> <xsl:output encoding="UTF-8" method="xml" version="1.0" indent="no"/> <xsl:template match="root"><foo> <xsl:for