| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Summary: the XML document serializer | 2 * Summary: the XML document serializer |
| 3 * Description: API to save document or subtree of document | 3 * Description: API to save document or subtree of document |
| 4 * | 4 * |
| 5 * Copy: See Copyright for the status of this software. | 5 * Copy: See Copyright for the status of this software. |
| 6 * | 6 * |
| 7 * Author: Daniel Veillard | 7 * Author: Daniel Veillard |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 #ifndef __XML_XMLSAVE_H__ | 10 #ifndef __XML_XMLSAVE_H__ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 /** | 23 /** |
| 24 * xmlSaveOption: | 24 * xmlSaveOption: |
| 25 * | 25 * |
| 26 * This is the set of XML save options that can be passed down | 26 * This is the set of XML save options that can be passed down |
| 27 * to the xmlSaveToFd() and similar calls. | 27 * to the xmlSaveToFd() and similar calls. |
| 28 */ | 28 */ |
| 29 typedef enum { | 29 typedef enum { |
| 30 XML_SAVE_FORMAT = 1<<0, /* format save output */ | 30 XML_SAVE_FORMAT = 1<<0, /* format save output */ |
| 31 XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */ | 31 XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */ |
| 32 XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */ | 32 XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */ |
| 33 XML_SAVE_NO_XHTML» = 1<<3 /* disable XHTML1 specific rules */ | 33 XML_SAVE_NO_XHTML» = 1<<3, /* disable XHTML1 specific rules */ |
| 34 XML_SAVE_XHTML» = 1<<4, /* force XHTML1 specific rules */ |
| 35 XML_SAVE_AS_XML = 1<<5, /* force XML serialization on HTML doc */ |
| 36 XML_SAVE_AS_HTML = 1<<6 /* force HTML serialization on XML doc */ |
| 34 } xmlSaveOption; | 37 } xmlSaveOption; |
| 35 | 38 |
| 36 | 39 |
| 37 typedef struct _xmlSaveCtxt xmlSaveCtxt; | 40 typedef struct _xmlSaveCtxt xmlSaveCtxt; |
| 38 typedef xmlSaveCtxt *xmlSaveCtxtPtr; | 41 typedef xmlSaveCtxt *xmlSaveCtxtPtr; |
| 39 | 42 |
| 40 XMLPUBFUN xmlSaveCtxtPtr XMLCALL | 43 XMLPUBFUN xmlSaveCtxtPtr XMLCALL |
| 41 xmlSaveToFd (int fd, | 44 xmlSaveToFd (int fd, |
| 42 const char *encoding, | 45 const char *encoding, |
| 43 int options); | 46 int options); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 XMLPUBFUN int XMLCALL | 78 XMLPUBFUN int XMLCALL |
| 76 xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt, | 79 xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt, |
| 77 xmlCharEncodingOutputFunc escape); | 80 xmlCharEncodingOutputFunc escape); |
| 78 #ifdef __cplusplus | 81 #ifdef __cplusplus |
| 79 } | 82 } |
| 80 #endif | 83 #endif |
| 81 #endif /* LIBXML_OUTPUT_ENABLED */ | 84 #endif /* LIBXML_OUTPUT_ENABLED */ |
| 82 #endif /* __XML_XMLSAVE_H__ */ | 85 #endif /* __XML_XMLSAVE_H__ */ |
| 83 | 86 |
| 84 | 87 |
| OLD | NEW |