I would like to know which elements in a document exist as a result of
XInclude processing and I need to retrieve the original <include>
element so that I have access to the entire set of attributes.
My only solution, which I don't like, involves parsing the document
twice. The first parse sets the xinclude feature of the DOMParser
(actually, of the underlying XIncludeAwareParserConfiguration), the
second parse has that feature turned off. The second parse creates a
DOM node for the <include> element. The two DOM instances can be
compared to find the nodes in the first parse that correspond to
<include> elements in the second parse.
Is there a better way?
Thanks - Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org