Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Include Elements from other namespace in own XML [Thread Next] Re: Include Elements from other namespace in own XMLTo: 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
