This is a simplified version of my earlier question, which may have been too situation specific to allow anyone to answer.
Is it possible to send libxml output to a file handle of a previously opened file (E.G. stdin) rather than a file name as used in these examples?
If it is then it may provide an answer to my earlier query.
Versions etc. Language: C Fedora Linux r20 Apache 2.4.10 libxml2
This is from the same link you posted
after you finish writing to the memory buffer you can
or if you used
open