Re: XInclude and DOM
| From: | Rob Richards | Date: | Wed, 07 Jan 2004 15:53:35 +0000 |
| Subject: | Re: XInclude and DOM | ||
| References: | 1 2 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-280@lists.php.net to get a copy of this message | ||
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