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
|