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 XML Re: Include Elements from other namespace in own XMLTo: NULL Date: 7/1/2007 6:34:00 PM Martin Honnen schrieb: > Benjamin Kalytta wrote: > >> So what does it mean? Is it possible to create a DOM Tree like I >> described, i.e. which contain <strong> as child of <string> for example? > > Yes, of course. The DOM tree does not depend in any way on the > existance of a schema. As long as your XML is well-formed XML with > namespaces the parser can deal with it. > Ok, nice to hear that. I ask because my parser (PHP 5 DOM XML) wasn't able to do that. Either the parser ignored inner <html:> tags completely or stopped with the error. *Warning*: DOMDocument::load() [function.DOMDocument-load <http://smartftp/generator/function.DOMDocument-load>]: Namespace prefix html on a is not defined in file.xml, line: 367 in xyz.php Benjamin Kalytta | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
