Re: [PHP-XML-DEV] XInclude and DOM

[email protected] ("Rob Richards") Wed, 7 Jan 2004 10:53:35 -0500
Newsgroups php.xml.dev
Message-ID <[email protected]>
From: Adam Trachtenberg

> My natural inclination is to ignore them under the theory that the
> point of XIncluding content is to make the resulting document identical
> to how it would have looked if it was actually one physical XML file.

Resolution to this is that the XML_XINCLUDE_START/END nodes are now removed
from the tree after the xinclude processing. After some discussion on the
libxml list, these nodes really have no bearing on the document and are
there for reference mainly for building editors where it is needed to know
where xincluded documents were inserted, so they can safely be removed.

Rob