Subject: Re: [xsl] Re: removing a specific namespace declaration From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 09 Nov 2009 12:18:26 -0500 |
On 11/8/09 2:15 PM, "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> 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, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: removing a specific n, ekimber | Thread | [xsl] Obtaining a specific context , Mark Wilson |
Re: [xsl] Filtering out a specific , Mark Wilson | Date | [xsl] Can an element have 2 namespa, cert21 |
Month |