Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Include Elements from other namespace in own XML

From: Joe Kesselman <keshlam-nospam@-------.--->
To: NULL
Date: 7/3/2007 8:03:00 AM

Benjamin Kalytta wrote:
> But is it possible to remove each namespace prefix from XML DOM Tree so 
> that only <a ...> left? I think there is no XML conform way to do this.

Removing namespace prefixes and declarations may change the meaning of 
the document. It can sometimes be done, by switching to using the 
default namespace declaration -- but not always; prefixes are sometimes 
used in the document's content as well.

Thus, if you want to do this, it has to be done by application code 
which _understands_ the document's meaning and knows what changes are or 
aren't appropriate. There's no standard solution; you have to write your 
own.


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent