Commit 50cdab55 authored by Daniel Veillard's avatar Daniel Veillard

New saving functions using xmlBuf and conversion

* save.h: new header providing new functions currently internal
          and xmlBuf counterparts of old xmlBuffer based ones
* xmlsave.c: convert functions to use xmlBuf as much as possible
parent dddeede0
* save.h: Internal Interfaces for saving
* See Copyright for the status of this software.
#ifndef __XML_SAVE_H__
#define __XML_SAVE_H__
#include <libxml/tree.h>
#ifdef __cplusplus
extern "C" {
void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
xmlAttrPtr attr, const xmlChar * string);
void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
#ifdef __cplusplus
#endif /* __XML_SAVE_H__ */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment