[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Re: xsl:namespace
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Date: Sat, 21 Feb 2009 11:01:10 +0100
Michael Kay wrote:

"Another use case for xsl:namespace is to promote a namespace declaration to
the root element of a document to avoid the clutter caused when it appears
on hundreds of child elements. Again, xsl:namespace is needed only if the
root element is created using xsl:element or if the namespace URI or prefix
is computed."

Am I right in saying that when URI or prefix are not computed,
xsl:namespace is never necessary for creating namespaces for element
or attribute names? When static, xsl:namespace is only necessary when
we are talking about content of elements or attribute values?

Cheers,
Jesper Tverskov

http://www.xmlkurser.dk
http://www.xmlplease.com

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member