xsl-list
[Top] [All Lists]

Re: [xsl] Re: xsl:namespace

2009-02-21 05:01:39
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>