Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Include Elements from other namespace in own XML

From: Benjamin Kalytta <bkausbk@---.-->
To: 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


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