xsl-list
[Top] [All Lists]

RE: [xsl] Re: xsl:namespace

2009-02-22 04:20:26

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? 

No. You need xsl:namespace if either of the following is true:

(a) the URI or prefix of the namespace to be generated is computed
dynamically

(b) the name of the containing element is computed dynamically

(Except that you don't strictly need it, there are workarounds available;
but they aren't nice.)

Michael Kay
http://www.saxonica.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>