Is it Possible to Send libxml Output to a File Handle?
问题 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 回答1: This is from the same link you posted xmlBufferPtr buf; /* Create a new XML buffer, to which the