xsl-list
[Top] [All Lists]

RE: xsl:copy and namespaces definitions

2005-06-24 07:15:05

I don't understand why namespaces definitions get copied.

Because the spec says they should be copied. It says so because this is the
safe option since the system can't know whether the namespace is needed or
not.

XSLT 2.0 allows <xsl:copy copy-namespaces="no"> if this isn't what you want.

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>