save.h 1018 B

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