[xml] Avoiding document declaration on xmlDocDumpMemory?

        (libxml2, 2.6.10)

Is there a simple way to avoid the document declaration from being output when using xmlDocDumpMemory / xmlDocDumpFormatMemory?

        I am concatenating several XML files and I am trying to avoid this:

<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>

        From being output at the start of the libxml2's XML memory dump.


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