On Wed, Aug 20, 2014 at 07:04:06PM +0200, Iñigo Martínez wrote:
> Hi:
>
> I'm working with a protocol based on XML, something like:
>
> Receiver="P2">
>
> I can successfully parse these messages using xmlReadMemory and
> navigating through the tree. When trying to create my own messages I
> can
It looks like a longer way. I mean, with the new saving API there is
one more variable and one more function call, plus the creation of the
full document, instead of using only just the nodes. Some code
snippets.
Using the saving API:
xmlDocPtr doc;
xmlNodePtr node;
xmlBufferPtr