Re: [xsl] unwanted xmlns="" attribute

Subject: Re: [xsl] unwanted xmlns="" attribute
From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
Date: Fri, 01 Oct 2004 18:03:08 +0300
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



Current Thread