Hi Fauze,
you should use MemBufferInputSource (have a look at the sample MemParse)
Alberto
At 12.07 27/10/2005 -0200, Fauze Valério Polpeta wrote:
Hi;
I'm trying to build a protocol where the PDUs
(i.e. Protocol Data Units) are formatted in XML.
However taking a look at XERCES-C++, I didnt
find a way to parse a XML from a binary buffer (
I mean an array of bytes ). Looks like xerces
only parses XML data that is placed in a file.
Since my PDU are not files, but an buffer that
is loaded through a socket connection, how do I
parse this XML binary buffer? Do I need to write
a file and after that parse it? Is that possible with DOM?
Best Regards
Fauze