00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __XML_C14N_H__
00013 #define __XML_C14N_H__
00014 #ifdef LIBXML_OUTPUT_ENABLED
00015
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019
00020 #include <libxml/xmlversion.h>
00021 #include <libxml/tree.h>
00022 #include <libxml/xpath.h>
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050 XMLPUBFUN int XMLCALL
00051 xmlC14NDocSaveTo (xmlDocPtr doc,
00052 xmlNodeSetPtr nodes,
00053 int exclusive,
00054 xmlChar **inclusive_ns_prefixes,
00055 int with_comments,
00056 xmlOutputBufferPtr buf);
00057
00058 XMLPUBFUN int XMLCALL
00059 xmlC14NDocDumpMemory (xmlDocPtr doc,
00060 xmlNodeSetPtr nodes,
00061 int exclusive,
00062 xmlChar **inclusive_ns_prefixes,
00063 int with_comments,
00064 xmlChar **doc_txt_ptr);
00065
00066 XMLPUBFUN int XMLCALL
00067 xmlC14NDocSave (xmlDocPtr doc,
00068 xmlNodeSetPtr nodes,
00069 int exclusive,
00070 xmlChar **inclusive_ns_prefixes,
00071 int with_comments,
00072 const char* filename,
00073 int compression);
00074
00075
00079 typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
00080 xmlNodePtr node,
00081 xmlNodePtr parent);
00082
00083 XMLPUBFUN int XMLCALL
00084 xmlC14NExecute (xmlDocPtr doc,
00085 xmlC14NIsVisibleCallback is_visible_callback,
00086 void* user_data,
00087 int exclusive,
00088 xmlChar **inclusive_ns_prefixes,
00089 int with_comments,
00090 xmlOutputBufferPtr buf);
00091
00092 #ifdef __cplusplus
00093 }
00094 #endif
00095
00096 #endif
00097 #endif
00098
00099