[xml] How to create an xmlBufferPtr???

I'm adding a function to PHP so we can dump nodes as well as documents (that
is, get the XML text).

The first argument to xmlNodeDump() is something called an xmlBufferPtr.
Where do I get one?

Also, I noticed the second argument is supposed to be a doc ptr.  Is there
something wrong with passing the node's doc as in:

xmlNodedump(aBuf, node->doc, node, 1, 1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]