[xml] How to omit the <?xml..?> header?



Currently I'm using xml_save_format_file_enc and xml_doc_dump_memory_enc. But for a certain application I'd like to write, either to stdout or into a memory buffer, a chunk of XML from a document tree, but *without the <?xml?> header*. I have looked into several API sections, and it seems that the only way to get XML text without the header is to dump the tree to a memory buffer. Or is there some way to set this option for the previously mentioned high-level function?
 
Wolfgang
 


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