I have a question about how to effectively parser a large DOM document. For
example, I have a lot of 'PatchData' elements. I am looking for the set of
these where the child element 'CbName' matches a certain string. The
following code takes 30 seconds just to loop through the DOMNodeList before
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Where is the buffer(string) allocated which is returned by the XMLCh pointer
of the getNodeValue() function? Do I have to provide my own buffer, like I
do below, to copy the contents of the returned string into? Or could I just
return the XMLCh pointer from my GetElementValue() method?
BOOL CDOM
I have the following DOM structure. My application has to make repeated
requests to find the Label element value for each Patch element in a Side
element. I may have up to 2000 Patches per Side. All my application knows
is the Side Index and the RowIndex & ColIndex. Because these are
attributes
I am trying to create rather simple DOM documents and send them over
sockets, I then repackage the socket stream, on the receiving end, into DOM
documents.
I would expect the documents to be the same, i.e. isEqualNode would return
true. However, it is failing at least because the LocalName is no
Another VC++ thought...if you are using MFC you can
very easily get a BSTR from a CString by calling
CString::AllocSysString(). If CString is already UNICODE there is no code
page conversion to get to the BSTR. In addition, I think the Win32
API function SysAllocString() does the same thin