xsl-list
[Top] [All Lists]

Re: unwanted xmlns="" attribute

2004-10-01 08:03:08
Hi tom tom,

tom tom wrote:

<xsl:template match="test" mode="testy">
    <help/>
</xsl:template>

Here you tell the XSLT processor to ouput an element in an empty namespace and thats what it does. For more on XSLT and namespaces see [1]. Moving all namespace declarations to the xsl:stylesheet/xsl:transform element should help (including a default namespace to match your help element).

[1]  http://www.dpawson.co.uk/xsl/sect2/N5536.html


Manos