I instantiate a DOMParser object and call its parse method on the XML.
I perform an operation where I ask for a list of children on a node,
which is successful. Then, I call the DOMParser reset method, and once
again call the parse method on a new XML. I then perform an operation
to ask for a list of children on a similar node, which has children and
query the DOM_NodeList object for a count of its children, which
indicates it has 0 children.
The documentation indicates that the reset method "resets the state of
the DOM driver and makes it ready for a fresh parse run". The question
is "how do you use DOMParser to parse multiple XMLs within the same
session"? Other than the call to XMLPlatformUtils::Initialize(), are
there other initialization calls that are required in order to setup the
DOMParser? I have not found where this is addressed in the
documentation or in the samples.
Thanks for any information you can give in this matter.
Elliott Perkins
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]