OLD | NEW |
1 /* | 1 /* |
2 * Summary: Provide Canonical XML and Exclusive XML Canonicalization | 2 * Summary: Provide Canonical XML and Exclusive XML Canonicalization |
3 * Description: the c14n modules provides a | 3 * Description: the c14n modules provides a |
4 * | 4 * |
5 * "Canonical XML" implementation | 5 * "Canonical XML" implementation |
6 * http://www.w3.org/TR/xml-c14n | 6 * http://www.w3.org/TR/xml-c14n |
7 * | 7 * |
8 * and an | 8 * and an |
9 * | 9 * |
10 * "Exclusive XML Canonicalization" implementation | 10 * "Exclusive XML Canonicalization" implementation |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * xmlParserCtxtPtr ctxt; | 47 * xmlParserCtxtPtr ctxt; |
48 * | 48 * |
49 * ... | 49 * ... |
50 * ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; | 50 * ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; |
51 * ctxt->replaceEntities = 1; | 51 * ctxt->replaceEntities = 1; |
52 * ... | 52 * ... |
53 */ | 53 */ |
54 | 54 |
55 /* | 55 /* |
56 * xmlC14NMode: | 56 * xmlC14NMode: |
57 * | 57 * |
58 * Predefined values for C14N modes | 58 * Predefined values for C14N modes |
59 * | 59 * |
60 */ | 60 */ |
61 typedef enum { | 61 typedef enum { |
62 XML_C14N_1_0 = 0, /* Origianal C14N 1.0 spec */ | 62 XML_C14N_1_0 = 0, /* Origianal C14N 1.0 spec */ |
63 XML_C14N_EXCLUSIVE_1_0 = 1, /* Exclusive C14N 1.0 spec */ | 63 XML_C14N_EXCLUSIVE_1_0 = 1, /* Exclusive C14N 1.0 spec */ |
64 XML_C14N_1_1 = 2 /* C14N 1.1 spec */ | 64 XML_C14N_1_1 = 2 /* C14N 1.1 spec */ |
65 } xmlC14NMode; | 65 } xmlC14NMode; |
66 | 66 |
67 XMLPUBFUN int XMLCALL | 67 XMLPUBFUN int XMLCALL |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 xmlOutputBufferPtr buf); | 117 xmlOutputBufferPtr buf); |
118 | 118 |
119 #ifdef __cplusplus | 119 #ifdef __cplusplus |
120 } | 120 } |
121 #endif /* __cplusplus */ | 121 #endif /* __cplusplus */ |
122 | 122 |
123 #endif /* LIBXML_OUTPUT_ENABLED */ | 123 #endif /* LIBXML_OUTPUT_ENABLED */ |
124 #endif /* LIBXML_C14N_ENABLED */ | 124 #endif /* LIBXML_C14N_ENABLED */ |
125 #endif /* __XML_C14N_H__ */ | 125 #endif /* __XML_C14N_H__ */ |
126 | 126 |
OLD | NEW |