xsl-list
[Top] [All Lists]

Re: [xsl] Re: removing a specific namespace declaration

2009-11-08 16:03:08
On 11/8/09 2:15 PM, "G. Ken Holman" <gkholman(_at_)CraneSoftwrights(_dot_)com> 
wrote:


Fine ... but just remember an unused namespace is supposed to be
benign to XML-based applications.

It's still a little unclear to me why this approach requires a
namespace declaration in the element
(namespace="{namespace-uri(.)}"), as I would have thought the
explicit copying of namespace nodes would have taken care of it,

Unexpected (and unneeded) namespace declarations can be a problem for
DTD-validated documents where not all elements provide the namespace
declaration attributes. Thus a namespace declaration emitted on an element
the DTD didn't provide for will result in an invalid document.

Cheers,

Eliot

----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email:  ekimber(_at_)reallysi(_dot_)com <mailto:ekimber(_at_)reallysi(_dot_)com>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com>  | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.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>
--~--