Re: [xml] XML_XINCLUDE_START/END nodes



On Wed, 2004-01-07 at 12:05, Rob Richards wrote:
What is the purpose of these nodes other than to marking the beginning
and end of xincluded documents?
 
I have a dom implementation which after passing the document through
an xinclude process, contains these nodes. Looking through the dom and
xinclude specs, I couldnt find any reference to these nodes, so can
these just be removed from the tree after the xinclude processing or
do they provide some additional functionality which would need to be
handled in the dom implementation?

After you have created your tree and done any validation you require,
you can ignore those nodes.

It would be inconvenient to automatically drop them from any created
tree, since I have more than once come across situations that need to
know when they are leaving the main document and entering some XIncluded
content.

Cheers,
Malcolm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]