[xsl] superfluous namespace declarations with xsl:element

Subject: [xsl] superfluous namespace declarations with xsl:element
From: Georges Schmitz <georges.schmitz@xxxxxxxxx>
Date: Tue, 10 Dec 2002 14:19:17 +0100
Hi,

How can I avoid, that with <xsl:element name="{name()}"> and a
namespace-prefix in this name, I get a namespace declaration in my
output on mostly all elements created this way? Is there some
strategy, to get the namespace declaration only once in my root
element?

Transformers work quite differently on this point (eg. msxslt
apparently avoids itself superfluous declarations), so I'm wondering
if there is a general approach at all.

Tips appreciated,
Georges


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread