Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 1 | /* |
Daniel Veillard | 28cc42d | 2012-08-10 10:00:18 +0800 | [diff] [blame] | 2 | * Summary: Internal Interfaces for saving in libxml2 |
| 3 | * Description: this module describes a few interfaces which were |
| 4 | * addded along with the API changes in 2.9.0 |
| 5 | * those are private routines at this point |
Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 6 | * |
Daniel Veillard | 28cc42d | 2012-08-10 10:00:18 +0800 | [diff] [blame] | 7 | * Copy: See Copyright for the status of this software. |
Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 8 | * |
Daniel Veillard | 28cc42d | 2012-08-10 10:00:18 +0800 | [diff] [blame] | 9 | * Author: Daniel Veillard |
Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef __XML_SAVE_H__ |
| 13 | #define __XML_SAVE_H__ |
| 14 | |
| 15 | #include <libxml/tree.h> |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | extern "C" { |
| 19 | #endif |
| 20 | |
Daniel Veillard | 28cc42d | 2012-08-10 10:00:18 +0800 | [diff] [blame] | 21 | #ifdef LIBXML_OUTPUT_ENABLED |
Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 22 | void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc, |
| 23 | xmlAttrPtr attr, const xmlChar * string); |
| 24 | void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table); |
| 25 | void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem); |
| 26 | void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr); |
| 27 | void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent); |
Daniel Veillard | 7d4c529 | 2012-09-05 11:45:32 +0800 | [diff] [blame] | 28 | xmlChar *xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input); |
Daniel Veillard | 28cc42d | 2012-08-10 10:00:18 +0800 | [diff] [blame] | 29 | #endif |
Daniel Veillard | 50cdab5 | 2012-07-16 14:52:00 +0800 | [diff] [blame] | 30 | |
| 31 | #ifdef __cplusplus |
| 32 | } |
| 33 | #endif |
| 34 | #endif /* __XML_SAVE_H__ */ |
| 35 | |