> I use them, to parse the xml to existing Document.
Ah. Yes, that's a reasonable use case. I believe the DOM Level 3 Load/Save
API is planning to provide an official mechanism for this, as part of their
parser control mechanism.
As a short-term solution, what I've generally done in the past ha
Hi,
i want to parser an XML file using URLInputSource.
does this class allow me to parse at remote file
represented by URL also or does it requies files to be
present on same m/c ( local URL path) ??
i mean cant i give URL path like
http:// or ftp:// ??
pls enlighten me.
thanks
Oni
-
I use them, to parse the xml to existing Document.
Before parsing, I set the current node and current parent (missing method),
so that the parser is able to use existing document (not to create one from
scratch as it does).
Actually I made those changes long ago, and I want them to be added, so t
Could you provide usecases for these (explain why you want them)? I'm
having trouble thinking of cases where I'd want to expose the DOM before it
is completely assembled; the potential for damage seems quite severe.
-
To unsubs
DOMParser.hpp
Please provide with two additional protected members:
DOM_Node getCurrentParent();
void setCurrentParent(DOM_Node toSet);
inline DOM_Node DOMParser::getCurrentParent()
{
return fCurrentParent;
}
inline void DOMParser::setCurrentParent(DOM_Node toSet)
{