7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Gnome XML Library Reference Manual"
11 HREF="book1.html"><LINK
13 TITLE="Libxml Library Reference"
14 HREF="libxml-lib.html"><LINK
17 HREF="libxml-catalog.html"><LINK
20 HREF="libxml-threads.html"></HEAD
43 >Gnome XML Library Reference Manual</FONT
52 HREF="libxml-catalog.html"
57 ><<< Previous Page</B
90 HREF="libxml-lib.html"
106 HREF="libxml-threads.html"
111 >Next Page >>></B
120 NAME="LIBXML-C14N">c14n</H1
128 >c14n -- </DIV
130 CLASS="REFSYNOPSISDIV"
146 HREF="libxml-c14n.html#XMLC14NDOCSAVETO"
149 HREF="libxml-tree.html#XMLDOCPTR"
153 HREF="libxml-xpath.html#XMLNODESETPTR"
158 HREF="libxml-tree.html#XMLCHAR"
160 > **inclusive_ns_prefixes,
163 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
164 >xmlOutputBufferPtr</A
167 HREF="libxml-c14n.html#XMLC14NDOCDUMPMEMORY"
168 >xmlC14NDocDumpMemory</A
170 HREF="libxml-tree.html#XMLDOCPTR"
174 HREF="libxml-xpath.html#XMLNODESETPTR"
179 HREF="libxml-tree.html#XMLCHAR"
181 > **inclusive_ns_prefixes,
184 HREF="libxml-tree.html#XMLCHAR"
188 HREF="libxml-c14n.html#XMLC14NDOCSAVE"
191 HREF="libxml-tree.html#XMLDOCPTR"
195 HREF="libxml-xpath.html#XMLNODESETPTR"
200 HREF="libxml-tree.html#XMLCHAR"
202 > **inclusive_ns_prefixes,
204 const char *filename,
207 HREF="libxml-c14n.html#XMLC14NISVISIBLECALLBACK"
208 >*xmlC14NIsVisibleCallback</A
211 HREF="libxml-tree.html#XMLNODEPTR"
215 HREF="libxml-tree.html#XMLNODEPTR"
219 HREF="libxml-c14n.html#XMLC14NEXECUTE"
222 HREF="libxml-tree.html#XMLDOCPTR"
226 HREF="libxml-c14n.html#XMLC14NISVISIBLECALLBACK"
227 >xmlC14NIsVisibleCallback</A
228 > is_visible_callback,
232 HREF="libxml-tree.html#XMLCHAR"
234 > **inclusive_ns_prefixes,
237 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
238 >xmlOutputBufferPtr</A
268 NAME="XMLC14NDOCSAVETO"
270 >xmlC14NDocSaveTo ()</H3
279 CLASS="PROGRAMLISTING"
280 >int xmlC14NDocSaveTo (<A
281 HREF="libxml-tree.html#XMLDOCPTR"
285 HREF="libxml-xpath.html#XMLNODESETPTR"
290 HREF="libxml-tree.html#XMLCHAR"
292 > **inclusive_ns_prefixes,
295 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
296 >xmlOutputBufferPtr</A
302 >Dumps the canonized image of given XML document into the provided buffer.
303 For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
304 "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</P
308 CLASS="INFORMALTABLE"
335 > the XML document for canonization</TD
352 > the nodes set to be included in the canonized image
353 or NULL if all document nodes should be included</TD
370 > the exclusive flag (0 - non-exclusive canonicalization;
371 otherwise - exclusive canonicalization)</TD
381 >inclusive_ns_prefixes</I
388 > the list of inclusive namespace prefixes
389 ended with a NULL or NULL if there is no
390 inclusive namespaces (only for exclusive
391 canonicalization, ignored otherwise)</TD
408 > include comments in the result (!=0) or not (==0)</TD
425 > the output buffer to store canonical XML; this
426 buffer MUST have encoder==NULL because C14N requires
445 >non-negative value on success or a negative value on fail </TD
460 NAME="XMLC14NDOCDUMPMEMORY"
462 >xmlC14NDocDumpMemory ()</H3
471 CLASS="PROGRAMLISTING"
472 >int xmlC14NDocDumpMemory (<A
473 HREF="libxml-tree.html#XMLDOCPTR"
477 HREF="libxml-xpath.html#XMLNODESETPTR"
482 HREF="libxml-tree.html#XMLCHAR"
484 > **inclusive_ns_prefixes,
487 HREF="libxml-tree.html#XMLCHAR"
489 > **doc_txt_ptr);</PRE
494 >Dumps the canonized image of given XML document into memory.
495 For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
496 "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</P
500 CLASS="INFORMALTABLE"
527 > the XML document for canonization</TD
544 > the nodes set to be included in the canonized image
545 or NULL if all document nodes should be included</TD
562 > the exclusive flag (0 - non-exclusive canonicalization;
563 otherwise - exclusive canonicalization)</TD
573 >inclusive_ns_prefixes</I
580 > the list of inclusive namespace prefixes
581 ended with a NULL or NULL if there is no
582 inclusive namespaces (only for exclusive
583 canonicalization, ignored otherwise)</TD
600 > include comments in the result (!=0) or not (==0)</TD
617 > the memory pointer for allocated canonical XML text;
618 the caller of this functions is responsible for calling
620 HREF="libxml-globals.html#XMLFREE"
622 >() to free allocated memory </TD
640 >the number of bytes written on success or a negative value on fail </TD
655 NAME="XMLC14NDOCSAVE"
657 >xmlC14NDocSave ()</H3
666 CLASS="PROGRAMLISTING"
667 >int xmlC14NDocSave (<A
668 HREF="libxml-tree.html#XMLDOCPTR"
672 HREF="libxml-xpath.html#XMLNODESETPTR"
677 HREF="libxml-tree.html#XMLCHAR"
679 > **inclusive_ns_prefixes,
681 const char *filename,
682 int compression);</PRE
687 >Dumps the canonized image of given XML document into the file.
688 For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
689 "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</P
693 CLASS="INFORMALTABLE"
720 > the XML document for canonization</TD
737 > the nodes set to be included in the canonized image
738 or NULL if all document nodes should be included</TD
755 > the exclusive flag (0 - non-exclusive canonicalization;
756 otherwise - exclusive canonicalization)</TD
766 >inclusive_ns_prefixes</I
773 > the list of inclusive namespace prefixes
774 ended with a NULL or NULL if there is no
775 inclusive namespaces (only for exclusive
776 canonicalization, ignored otherwise)</TD
793 > include comments in the result (!=0) or not (==0)</TD
810 > the filename to store canonical XML image</TD
827 > the compression level (zlib requred):
830 >0 - compression level</TD
848 >the number of bytes written success or a negative value on fail </TD
863 NAME="XMLC14NISVISIBLECALLBACK"
865 >xmlC14NIsVisibleCallback ()</H3
874 CLASS="PROGRAMLISTING"
875 >int (*xmlC14NIsVisibleCallback) (void *user_data,
877 HREF="libxml-tree.html#XMLNODEPTR"
881 HREF="libxml-tree.html#XMLNODEPTR"
890 CLASS="INFORMALTABLE"
984 NAME="XMLC14NEXECUTE"
986 >xmlC14NExecute ()</H3
995 CLASS="PROGRAMLISTING"
996 >int xmlC14NExecute (<A
997 HREF="libxml-tree.html#XMLDOCPTR"
1001 HREF="libxml-c14n.html#XMLC14NISVISIBLECALLBACK"
1002 >xmlC14NIsVisibleCallback</A
1003 > is_visible_callback,
1007 HREF="libxml-tree.html#XMLCHAR"
1009 > **inclusive_ns_prefixes,
1012 HREF="libxml-tree.html#XMLOUTPUTBUFFERPTR"
1013 >xmlOutputBufferPtr</A
1019 >Dumps the canonized image of given XML document into the provided buffer.
1020 For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
1021 "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</P
1025 CLASS="INFORMALTABLE"
1052 > the XML document for canonization</TD
1062 >is_visible_callback</I
1069 >the function to use to determine is node visible
1087 > the first parameter for <TT
1090 >is_visible_callback</I
1093 (in most cases, it is nodes set)</TD
1110 > the exclusive flag (0 - non-exclusive canonicalization;
1111 otherwise - exclusive canonicalization)</TD
1121 >inclusive_ns_prefixes</I
1128 > the list of inclusive namespace prefixes
1129 ended with a NULL or NULL if there is no
1130 inclusive namespaces (only for exclusive
1131 canonicalization, ignored otherwise)</TD
1148 > include comments in the result (!=0) or not (==0)</TD
1165 > the output buffer to store canonical XML; this
1166 buffer MUST have encoder==NULL because C14N requires
1185 >non-negative value on success or a negative value on fail </TD
1197 CLEAR="all"><BR><TABLE
1209 HREF="libxml-catalog.html"
1214 ><<< Previous Page</B
1247 HREF="libxml-lib.html"
1263 HREF="libxml-threads.html"
1268 >Next Page >>></B