nokogiri 1.14.5-x86-linux → 1.15.0-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +9 -8
- data/dependencies.yml +6 -6
- data/ext/nokogiri/extconf.rb +66 -22
- data/ext/nokogiri/html4_document.c +1 -2
- data/ext/nokogiri/html4_element_description.c +19 -14
- data/ext/nokogiri/html4_sax_parser_context.c +10 -16
- data/ext/nokogiri/html4_sax_push_parser.c +2 -2
- data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
- data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
- data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
- data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
- data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
- data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
- data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
- data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
- data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
- data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
- data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
- data/ext/nokogiri/include/libxslt/attributes.h +1 -0
- data/ext/nokogiri/include/libxslt/variables.h +3 -3
- data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
- data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
- data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
- data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
- data/ext/nokogiri/nokogiri.c +46 -24
- data/ext/nokogiri/nokogiri.h +13 -2
- data/ext/nokogiri/xml_attr.c +1 -1
- data/ext/nokogiri/xml_cdata.c +10 -2
- data/ext/nokogiri/xml_comment.c +1 -1
- data/ext/nokogiri/xml_document.c +102 -22
- data/ext/nokogiri/xml_document_fragment.c +1 -1
- data/ext/nokogiri/xml_dtd.c +1 -1
- data/ext/nokogiri/xml_element_content.c +32 -29
- data/ext/nokogiri/xml_element_decl.c +5 -5
- data/ext/nokogiri/xml_encoding_handler.c +12 -4
- data/ext/nokogiri/xml_entity_reference.c +1 -1
- data/ext/nokogiri/xml_namespace.c +11 -12
- data/ext/nokogiri/xml_node.c +7 -7
- data/ext/nokogiri/xml_node_set.c +125 -105
- data/ext/nokogiri/xml_processing_instruction.c +1 -1
- data/ext/nokogiri/xml_reader.c +37 -28
- data/ext/nokogiri/xml_relax_ng.c +65 -78
- data/ext/nokogiri/xml_sax_parser.c +24 -5
- data/ext/nokogiri/xml_sax_parser_context.c +46 -25
- data/ext/nokogiri/xml_sax_push_parser.c +29 -8
- data/ext/nokogiri/xml_schema.c +90 -116
- data/ext/nokogiri/xml_text.c +10 -2
- data/ext/nokogiri/xml_xpath_context.c +156 -83
- data/ext/nokogiri/xslt_stylesheet.c +103 -50
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/lib/nokogiri/3.2/nokogiri.so +0 -0
- data/lib/nokogiri/css/xpath_visitor.rb +2 -2
- data/lib/nokogiri/extension.rb +1 -1
- data/lib/nokogiri/html4/document_fragment.rb +1 -1
- data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
- data/lib/nokogiri/html5/document_fragment.rb +1 -1
- data/lib/nokogiri/html5/node.rb +5 -0
- data/lib/nokogiri/html5.rb +5 -2
- data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/attribute_decl.rb +4 -2
- data/lib/nokogiri/xml/document_fragment.rb +1 -1
- data/lib/nokogiri/xml/element_content.rb +10 -2
- data/lib/nokogiri/xml/element_decl.rb +4 -2
- data/lib/nokogiri/xml/entity_decl.rb +4 -2
- data/lib/nokogiri/xml/node/save_options.rb +8 -0
- data/lib/nokogiri/xml/node.rb +22 -13
- data/lib/nokogiri/xml/pp/node.rb +23 -12
- data/lib/nokogiri/xml/sax/document.rb +1 -1
- data/lib/nokogiri/xml/searchable.rb +18 -10
- data/lib/nokogiri/xslt.rb +73 -3
- data/lib/nokogiri.rb +12 -4
- data/lib/xsd/xmlparser/nokogiri.rb +1 -1
- metadata +2 -2
@@ -74,7 +74,7 @@ typedef xmlEntity *xmlEntityPtr;
|
|
74
74
|
typedef enum {
|
75
75
|
XML_BUFFER_ALLOC_DOUBLEIT, /* double each time one need to grow */
|
76
76
|
XML_BUFFER_ALLOC_EXACT, /* grow only to the minimal size */
|
77
|
-
XML_BUFFER_ALLOC_IMMUTABLE, /* immutable buffer */
|
77
|
+
XML_BUFFER_ALLOC_IMMUTABLE, /* immutable buffer, deprecated */
|
78
78
|
XML_BUFFER_ALLOC_IO, /* special allocation scheme used for I/O */
|
79
79
|
XML_BUFFER_ALLOC_HYBRID, /* exact up to a threshold, and doubleit thereafter */
|
80
80
|
XML_BUFFER_ALLOC_BOUNDED /* limit the upper size of the buffer */
|
@@ -117,10 +117,10 @@ typedef xmlBuf *xmlBufPtr;
|
|
117
117
|
* A few public routines for xmlBuf. As those are expected to be used
|
118
118
|
* mostly internally the bulk of the routines are internal in buf.h
|
119
119
|
*/
|
120
|
-
XMLPUBFUN xmlChar*
|
121
|
-
XMLPUBFUN xmlChar*
|
122
|
-
XMLPUBFUN size_t
|
123
|
-
XMLPUBFUN size_t
|
120
|
+
XMLPUBFUN xmlChar* xmlBufContent (const xmlBuf* buf);
|
121
|
+
XMLPUBFUN xmlChar* xmlBufEnd (xmlBufPtr buf);
|
122
|
+
XMLPUBFUN size_t xmlBufUse (const xmlBufPtr buf);
|
123
|
+
XMLPUBFUN size_t xmlBufShrink (xmlBufPtr buf, size_t len);
|
124
124
|
|
125
125
|
/*
|
126
126
|
* LIBXML2_NEW_BUFFER:
|
@@ -180,8 +180,10 @@ typedef enum {
|
|
180
180
|
/* XML_DOCB_DOCUMENT_NODE= 21 */ /* removed */
|
181
181
|
} xmlElementType;
|
182
182
|
|
183
|
+
/** DOC_DISABLE */
|
183
184
|
/* For backward compatibility */
|
184
185
|
#define XML_DOCB_DOCUMENT_NODE 21
|
186
|
+
/** DOC_ENABLE */
|
185
187
|
|
186
188
|
/**
|
187
189
|
* xmlNotation:
|
@@ -660,32 +662,32 @@ struct _xmlDOMWrapCtxt {
|
|
660
662
|
defined (LIBXML_HTML_ENABLED) || defined(LIBXML_SAX1_ENABLED) || \
|
661
663
|
defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || \
|
662
664
|
defined(LIBXML_LEGACY_ENABLED)
|
663
|
-
XMLPUBFUN int
|
665
|
+
XMLPUBFUN int
|
664
666
|
xmlValidateNCName (const xmlChar *value,
|
665
667
|
int space);
|
666
668
|
#endif
|
667
669
|
|
668
670
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
669
|
-
XMLPUBFUN int
|
671
|
+
XMLPUBFUN int
|
670
672
|
xmlValidateQName (const xmlChar *value,
|
671
673
|
int space);
|
672
|
-
XMLPUBFUN int
|
674
|
+
XMLPUBFUN int
|
673
675
|
xmlValidateName (const xmlChar *value,
|
674
676
|
int space);
|
675
|
-
XMLPUBFUN int
|
677
|
+
XMLPUBFUN int
|
676
678
|
xmlValidateNMToken (const xmlChar *value,
|
677
679
|
int space);
|
678
680
|
#endif
|
679
681
|
|
680
|
-
XMLPUBFUN xmlChar *
|
682
|
+
XMLPUBFUN xmlChar *
|
681
683
|
xmlBuildQName (const xmlChar *ncname,
|
682
684
|
const xmlChar *prefix,
|
683
685
|
xmlChar *memory,
|
684
686
|
int len);
|
685
|
-
XMLPUBFUN xmlChar *
|
687
|
+
XMLPUBFUN xmlChar *
|
686
688
|
xmlSplitQName2 (const xmlChar *name,
|
687
689
|
xmlChar **prefix);
|
688
|
-
XMLPUBFUN const xmlChar *
|
690
|
+
XMLPUBFUN const xmlChar *
|
689
691
|
xmlSplitQName3 (const xmlChar *name,
|
690
692
|
int *len);
|
691
693
|
|
@@ -693,318 +695,318 @@ XMLPUBFUN const xmlChar * XMLCALL
|
|
693
695
|
* Handling Buffers, the old ones see @xmlBuf for the new ones.
|
694
696
|
*/
|
695
697
|
|
696
|
-
XMLPUBFUN void
|
698
|
+
XMLPUBFUN void
|
697
699
|
xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme);
|
698
|
-
XMLPUBFUN xmlBufferAllocationScheme
|
700
|
+
XMLPUBFUN xmlBufferAllocationScheme
|
699
701
|
xmlGetBufferAllocationScheme(void);
|
700
702
|
|
701
|
-
XMLPUBFUN xmlBufferPtr
|
703
|
+
XMLPUBFUN xmlBufferPtr
|
702
704
|
xmlBufferCreate (void);
|
703
|
-
XMLPUBFUN xmlBufferPtr
|
705
|
+
XMLPUBFUN xmlBufferPtr
|
704
706
|
xmlBufferCreateSize (size_t size);
|
705
|
-
XMLPUBFUN xmlBufferPtr
|
707
|
+
XMLPUBFUN xmlBufferPtr
|
706
708
|
xmlBufferCreateStatic (void *mem,
|
707
709
|
size_t size);
|
708
|
-
XMLPUBFUN int
|
710
|
+
XMLPUBFUN int
|
709
711
|
xmlBufferResize (xmlBufferPtr buf,
|
710
712
|
unsigned int size);
|
711
|
-
XMLPUBFUN void
|
713
|
+
XMLPUBFUN void
|
712
714
|
xmlBufferFree (xmlBufferPtr buf);
|
713
|
-
XMLPUBFUN int
|
715
|
+
XMLPUBFUN int
|
714
716
|
xmlBufferDump (FILE *file,
|
715
717
|
xmlBufferPtr buf);
|
716
|
-
XMLPUBFUN int
|
718
|
+
XMLPUBFUN int
|
717
719
|
xmlBufferAdd (xmlBufferPtr buf,
|
718
720
|
const xmlChar *str,
|
719
721
|
int len);
|
720
|
-
XMLPUBFUN int
|
722
|
+
XMLPUBFUN int
|
721
723
|
xmlBufferAddHead (xmlBufferPtr buf,
|
722
724
|
const xmlChar *str,
|
723
725
|
int len);
|
724
|
-
XMLPUBFUN int
|
726
|
+
XMLPUBFUN int
|
725
727
|
xmlBufferCat (xmlBufferPtr buf,
|
726
728
|
const xmlChar *str);
|
727
|
-
XMLPUBFUN int
|
729
|
+
XMLPUBFUN int
|
728
730
|
xmlBufferCCat (xmlBufferPtr buf,
|
729
731
|
const char *str);
|
730
|
-
XMLPUBFUN int
|
732
|
+
XMLPUBFUN int
|
731
733
|
xmlBufferShrink (xmlBufferPtr buf,
|
732
734
|
unsigned int len);
|
733
|
-
XMLPUBFUN int
|
735
|
+
XMLPUBFUN int
|
734
736
|
xmlBufferGrow (xmlBufferPtr buf,
|
735
737
|
unsigned int len);
|
736
|
-
XMLPUBFUN void
|
738
|
+
XMLPUBFUN void
|
737
739
|
xmlBufferEmpty (xmlBufferPtr buf);
|
738
|
-
XMLPUBFUN const xmlChar*
|
740
|
+
XMLPUBFUN const xmlChar*
|
739
741
|
xmlBufferContent (const xmlBuffer *buf);
|
740
|
-
XMLPUBFUN xmlChar*
|
742
|
+
XMLPUBFUN xmlChar*
|
741
743
|
xmlBufferDetach (xmlBufferPtr buf);
|
742
|
-
XMLPUBFUN void
|
744
|
+
XMLPUBFUN void
|
743
745
|
xmlBufferSetAllocationScheme(xmlBufferPtr buf,
|
744
746
|
xmlBufferAllocationScheme scheme);
|
745
|
-
XMLPUBFUN int
|
747
|
+
XMLPUBFUN int
|
746
748
|
xmlBufferLength (const xmlBuffer *buf);
|
747
749
|
|
748
750
|
/*
|
749
751
|
* Creating/freeing new structures.
|
750
752
|
*/
|
751
|
-
XMLPUBFUN xmlDtdPtr
|
753
|
+
XMLPUBFUN xmlDtdPtr
|
752
754
|
xmlCreateIntSubset (xmlDocPtr doc,
|
753
755
|
const xmlChar *name,
|
754
756
|
const xmlChar *ExternalID,
|
755
757
|
const xmlChar *SystemID);
|
756
|
-
XMLPUBFUN xmlDtdPtr
|
758
|
+
XMLPUBFUN xmlDtdPtr
|
757
759
|
xmlNewDtd (xmlDocPtr doc,
|
758
760
|
const xmlChar *name,
|
759
761
|
const xmlChar *ExternalID,
|
760
762
|
const xmlChar *SystemID);
|
761
|
-
XMLPUBFUN xmlDtdPtr
|
763
|
+
XMLPUBFUN xmlDtdPtr
|
762
764
|
xmlGetIntSubset (const xmlDoc *doc);
|
763
|
-
XMLPUBFUN void
|
765
|
+
XMLPUBFUN void
|
764
766
|
xmlFreeDtd (xmlDtdPtr cur);
|
765
767
|
#ifdef LIBXML_LEGACY_ENABLED
|
766
768
|
XML_DEPRECATED
|
767
|
-
XMLPUBFUN xmlNsPtr
|
769
|
+
XMLPUBFUN xmlNsPtr
|
768
770
|
xmlNewGlobalNs (xmlDocPtr doc,
|
769
771
|
const xmlChar *href,
|
770
772
|
const xmlChar *prefix);
|
771
773
|
#endif /* LIBXML_LEGACY_ENABLED */
|
772
|
-
XMLPUBFUN xmlNsPtr
|
774
|
+
XMLPUBFUN xmlNsPtr
|
773
775
|
xmlNewNs (xmlNodePtr node,
|
774
776
|
const xmlChar *href,
|
775
777
|
const xmlChar *prefix);
|
776
|
-
XMLPUBFUN void
|
778
|
+
XMLPUBFUN void
|
777
779
|
xmlFreeNs (xmlNsPtr cur);
|
778
|
-
XMLPUBFUN void
|
780
|
+
XMLPUBFUN void
|
779
781
|
xmlFreeNsList (xmlNsPtr cur);
|
780
|
-
XMLPUBFUN xmlDocPtr
|
782
|
+
XMLPUBFUN xmlDocPtr
|
781
783
|
xmlNewDoc (const xmlChar *version);
|
782
|
-
XMLPUBFUN void
|
784
|
+
XMLPUBFUN void
|
783
785
|
xmlFreeDoc (xmlDocPtr cur);
|
784
|
-
XMLPUBFUN xmlAttrPtr
|
786
|
+
XMLPUBFUN xmlAttrPtr
|
785
787
|
xmlNewDocProp (xmlDocPtr doc,
|
786
788
|
const xmlChar *name,
|
787
789
|
const xmlChar *value);
|
788
790
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
|
789
791
|
defined(LIBXML_SCHEMAS_ENABLED)
|
790
|
-
XMLPUBFUN xmlAttrPtr
|
792
|
+
XMLPUBFUN xmlAttrPtr
|
791
793
|
xmlNewProp (xmlNodePtr node,
|
792
794
|
const xmlChar *name,
|
793
795
|
const xmlChar *value);
|
794
796
|
#endif
|
795
|
-
XMLPUBFUN xmlAttrPtr
|
797
|
+
XMLPUBFUN xmlAttrPtr
|
796
798
|
xmlNewNsProp (xmlNodePtr node,
|
797
799
|
xmlNsPtr ns,
|
798
800
|
const xmlChar *name,
|
799
801
|
const xmlChar *value);
|
800
|
-
XMLPUBFUN xmlAttrPtr
|
802
|
+
XMLPUBFUN xmlAttrPtr
|
801
803
|
xmlNewNsPropEatName (xmlNodePtr node,
|
802
804
|
xmlNsPtr ns,
|
803
805
|
xmlChar *name,
|
804
806
|
const xmlChar *value);
|
805
|
-
XMLPUBFUN void
|
807
|
+
XMLPUBFUN void
|
806
808
|
xmlFreePropList (xmlAttrPtr cur);
|
807
|
-
XMLPUBFUN void
|
809
|
+
XMLPUBFUN void
|
808
810
|
xmlFreeProp (xmlAttrPtr cur);
|
809
|
-
XMLPUBFUN xmlAttrPtr
|
811
|
+
XMLPUBFUN xmlAttrPtr
|
810
812
|
xmlCopyProp (xmlNodePtr target,
|
811
813
|
xmlAttrPtr cur);
|
812
|
-
XMLPUBFUN xmlAttrPtr
|
814
|
+
XMLPUBFUN xmlAttrPtr
|
813
815
|
xmlCopyPropList (xmlNodePtr target,
|
814
816
|
xmlAttrPtr cur);
|
815
817
|
#ifdef LIBXML_TREE_ENABLED
|
816
|
-
XMLPUBFUN xmlDtdPtr
|
818
|
+
XMLPUBFUN xmlDtdPtr
|
817
819
|
xmlCopyDtd (xmlDtdPtr dtd);
|
818
820
|
#endif /* LIBXML_TREE_ENABLED */
|
819
821
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
820
|
-
XMLPUBFUN xmlDocPtr
|
822
|
+
XMLPUBFUN xmlDocPtr
|
821
823
|
xmlCopyDoc (xmlDocPtr doc,
|
822
824
|
int recursive);
|
823
825
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) */
|
824
826
|
/*
|
825
827
|
* Creating new nodes.
|
826
828
|
*/
|
827
|
-
XMLPUBFUN xmlNodePtr
|
829
|
+
XMLPUBFUN xmlNodePtr
|
828
830
|
xmlNewDocNode (xmlDocPtr doc,
|
829
831
|
xmlNsPtr ns,
|
830
832
|
const xmlChar *name,
|
831
833
|
const xmlChar *content);
|
832
|
-
XMLPUBFUN xmlNodePtr
|
834
|
+
XMLPUBFUN xmlNodePtr
|
833
835
|
xmlNewDocNodeEatName (xmlDocPtr doc,
|
834
836
|
xmlNsPtr ns,
|
835
837
|
xmlChar *name,
|
836
838
|
const xmlChar *content);
|
837
|
-
XMLPUBFUN xmlNodePtr
|
839
|
+
XMLPUBFUN xmlNodePtr
|
838
840
|
xmlNewNode (xmlNsPtr ns,
|
839
841
|
const xmlChar *name);
|
840
|
-
XMLPUBFUN xmlNodePtr
|
842
|
+
XMLPUBFUN xmlNodePtr
|
841
843
|
xmlNewNodeEatName (xmlNsPtr ns,
|
842
844
|
xmlChar *name);
|
843
845
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
844
|
-
XMLPUBFUN xmlNodePtr
|
846
|
+
XMLPUBFUN xmlNodePtr
|
845
847
|
xmlNewChild (xmlNodePtr parent,
|
846
848
|
xmlNsPtr ns,
|
847
849
|
const xmlChar *name,
|
848
850
|
const xmlChar *content);
|
849
851
|
#endif
|
850
|
-
XMLPUBFUN xmlNodePtr
|
852
|
+
XMLPUBFUN xmlNodePtr
|
851
853
|
xmlNewDocText (const xmlDoc *doc,
|
852
854
|
const xmlChar *content);
|
853
|
-
XMLPUBFUN xmlNodePtr
|
855
|
+
XMLPUBFUN xmlNodePtr
|
854
856
|
xmlNewText (const xmlChar *content);
|
855
|
-
XMLPUBFUN xmlNodePtr
|
857
|
+
XMLPUBFUN xmlNodePtr
|
856
858
|
xmlNewDocPI (xmlDocPtr doc,
|
857
859
|
const xmlChar *name,
|
858
860
|
const xmlChar *content);
|
859
|
-
XMLPUBFUN xmlNodePtr
|
861
|
+
XMLPUBFUN xmlNodePtr
|
860
862
|
xmlNewPI (const xmlChar *name,
|
861
863
|
const xmlChar *content);
|
862
|
-
XMLPUBFUN xmlNodePtr
|
864
|
+
XMLPUBFUN xmlNodePtr
|
863
865
|
xmlNewDocTextLen (xmlDocPtr doc,
|
864
866
|
const xmlChar *content,
|
865
867
|
int len);
|
866
|
-
XMLPUBFUN xmlNodePtr
|
868
|
+
XMLPUBFUN xmlNodePtr
|
867
869
|
xmlNewTextLen (const xmlChar *content,
|
868
870
|
int len);
|
869
|
-
XMLPUBFUN xmlNodePtr
|
871
|
+
XMLPUBFUN xmlNodePtr
|
870
872
|
xmlNewDocComment (xmlDocPtr doc,
|
871
873
|
const xmlChar *content);
|
872
|
-
XMLPUBFUN xmlNodePtr
|
874
|
+
XMLPUBFUN xmlNodePtr
|
873
875
|
xmlNewComment (const xmlChar *content);
|
874
|
-
XMLPUBFUN xmlNodePtr
|
876
|
+
XMLPUBFUN xmlNodePtr
|
875
877
|
xmlNewCDataBlock (xmlDocPtr doc,
|
876
878
|
const xmlChar *content,
|
877
879
|
int len);
|
878
|
-
XMLPUBFUN xmlNodePtr
|
880
|
+
XMLPUBFUN xmlNodePtr
|
879
881
|
xmlNewCharRef (xmlDocPtr doc,
|
880
882
|
const xmlChar *name);
|
881
|
-
XMLPUBFUN xmlNodePtr
|
883
|
+
XMLPUBFUN xmlNodePtr
|
882
884
|
xmlNewReference (const xmlDoc *doc,
|
883
885
|
const xmlChar *name);
|
884
|
-
XMLPUBFUN xmlNodePtr
|
886
|
+
XMLPUBFUN xmlNodePtr
|
885
887
|
xmlCopyNode (xmlNodePtr node,
|
886
888
|
int recursive);
|
887
|
-
XMLPUBFUN xmlNodePtr
|
889
|
+
XMLPUBFUN xmlNodePtr
|
888
890
|
xmlDocCopyNode (xmlNodePtr node,
|
889
891
|
xmlDocPtr doc,
|
890
892
|
int recursive);
|
891
|
-
XMLPUBFUN xmlNodePtr
|
893
|
+
XMLPUBFUN xmlNodePtr
|
892
894
|
xmlDocCopyNodeList (xmlDocPtr doc,
|
893
895
|
xmlNodePtr node);
|
894
|
-
XMLPUBFUN xmlNodePtr
|
896
|
+
XMLPUBFUN xmlNodePtr
|
895
897
|
xmlCopyNodeList (xmlNodePtr node);
|
896
898
|
#ifdef LIBXML_TREE_ENABLED
|
897
|
-
XMLPUBFUN xmlNodePtr
|
899
|
+
XMLPUBFUN xmlNodePtr
|
898
900
|
xmlNewTextChild (xmlNodePtr parent,
|
899
901
|
xmlNsPtr ns,
|
900
902
|
const xmlChar *name,
|
901
903
|
const xmlChar *content);
|
902
|
-
XMLPUBFUN xmlNodePtr
|
904
|
+
XMLPUBFUN xmlNodePtr
|
903
905
|
xmlNewDocRawNode (xmlDocPtr doc,
|
904
906
|
xmlNsPtr ns,
|
905
907
|
const xmlChar *name,
|
906
908
|
const xmlChar *content);
|
907
|
-
XMLPUBFUN xmlNodePtr
|
909
|
+
XMLPUBFUN xmlNodePtr
|
908
910
|
xmlNewDocFragment (xmlDocPtr doc);
|
909
911
|
#endif /* LIBXML_TREE_ENABLED */
|
910
912
|
|
911
913
|
/*
|
912
914
|
* Navigating.
|
913
915
|
*/
|
914
|
-
XMLPUBFUN long
|
916
|
+
XMLPUBFUN long
|
915
917
|
xmlGetLineNo (const xmlNode *node);
|
916
918
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_DEBUG_ENABLED)
|
917
|
-
XMLPUBFUN xmlChar *
|
919
|
+
XMLPUBFUN xmlChar *
|
918
920
|
xmlGetNodePath (const xmlNode *node);
|
919
921
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_DEBUG_ENABLED) */
|
920
|
-
XMLPUBFUN xmlNodePtr
|
922
|
+
XMLPUBFUN xmlNodePtr
|
921
923
|
xmlDocGetRootElement (const xmlDoc *doc);
|
922
|
-
XMLPUBFUN xmlNodePtr
|
924
|
+
XMLPUBFUN xmlNodePtr
|
923
925
|
xmlGetLastChild (const xmlNode *parent);
|
924
|
-
XMLPUBFUN int
|
926
|
+
XMLPUBFUN int
|
925
927
|
xmlNodeIsText (const xmlNode *node);
|
926
|
-
XMLPUBFUN int
|
928
|
+
XMLPUBFUN int
|
927
929
|
xmlIsBlankNode (const xmlNode *node);
|
928
930
|
|
929
931
|
/*
|
930
932
|
* Changing the structure.
|
931
933
|
*/
|
932
934
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED)
|
933
|
-
XMLPUBFUN xmlNodePtr
|
935
|
+
XMLPUBFUN xmlNodePtr
|
934
936
|
xmlDocSetRootElement (xmlDocPtr doc,
|
935
937
|
xmlNodePtr root);
|
936
938
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) */
|
937
939
|
#ifdef LIBXML_TREE_ENABLED
|
938
|
-
XMLPUBFUN void
|
940
|
+
XMLPUBFUN void
|
939
941
|
xmlNodeSetName (xmlNodePtr cur,
|
940
942
|
const xmlChar *name);
|
941
943
|
#endif /* LIBXML_TREE_ENABLED */
|
942
|
-
XMLPUBFUN xmlNodePtr
|
944
|
+
XMLPUBFUN xmlNodePtr
|
943
945
|
xmlAddChild (xmlNodePtr parent,
|
944
946
|
xmlNodePtr cur);
|
945
|
-
XMLPUBFUN xmlNodePtr
|
947
|
+
XMLPUBFUN xmlNodePtr
|
946
948
|
xmlAddChildList (xmlNodePtr parent,
|
947
949
|
xmlNodePtr cur);
|
948
950
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED)
|
949
|
-
XMLPUBFUN xmlNodePtr
|
951
|
+
XMLPUBFUN xmlNodePtr
|
950
952
|
xmlReplaceNode (xmlNodePtr old,
|
951
953
|
xmlNodePtr cur);
|
952
954
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) */
|
953
955
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
|
954
956
|
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED)
|
955
|
-
XMLPUBFUN xmlNodePtr
|
957
|
+
XMLPUBFUN xmlNodePtr
|
956
958
|
xmlAddPrevSibling (xmlNodePtr cur,
|
957
959
|
xmlNodePtr elem);
|
958
960
|
#endif /* LIBXML_TREE_ENABLED || LIBXML_HTML_ENABLED || LIBXML_SCHEMAS_ENABLED */
|
959
|
-
XMLPUBFUN xmlNodePtr
|
961
|
+
XMLPUBFUN xmlNodePtr
|
960
962
|
xmlAddSibling (xmlNodePtr cur,
|
961
963
|
xmlNodePtr elem);
|
962
|
-
XMLPUBFUN xmlNodePtr
|
964
|
+
XMLPUBFUN xmlNodePtr
|
963
965
|
xmlAddNextSibling (xmlNodePtr cur,
|
964
966
|
xmlNodePtr elem);
|
965
|
-
XMLPUBFUN void
|
967
|
+
XMLPUBFUN void
|
966
968
|
xmlUnlinkNode (xmlNodePtr cur);
|
967
|
-
XMLPUBFUN xmlNodePtr
|
969
|
+
XMLPUBFUN xmlNodePtr
|
968
970
|
xmlTextMerge (xmlNodePtr first,
|
969
971
|
xmlNodePtr second);
|
970
|
-
XMLPUBFUN int
|
972
|
+
XMLPUBFUN int
|
971
973
|
xmlTextConcat (xmlNodePtr node,
|
972
974
|
const xmlChar *content,
|
973
975
|
int len);
|
974
|
-
XMLPUBFUN void
|
976
|
+
XMLPUBFUN void
|
975
977
|
xmlFreeNodeList (xmlNodePtr cur);
|
976
|
-
XMLPUBFUN void
|
978
|
+
XMLPUBFUN void
|
977
979
|
xmlFreeNode (xmlNodePtr cur);
|
978
|
-
XMLPUBFUN void
|
980
|
+
XMLPUBFUN void
|
979
981
|
xmlSetTreeDoc (xmlNodePtr tree,
|
980
982
|
xmlDocPtr doc);
|
981
|
-
XMLPUBFUN void
|
983
|
+
XMLPUBFUN void
|
982
984
|
xmlSetListDoc (xmlNodePtr list,
|
983
985
|
xmlDocPtr doc);
|
984
986
|
/*
|
985
987
|
* Namespaces.
|
986
988
|
*/
|
987
|
-
XMLPUBFUN xmlNsPtr
|
989
|
+
XMLPUBFUN xmlNsPtr
|
988
990
|
xmlSearchNs (xmlDocPtr doc,
|
989
991
|
xmlNodePtr node,
|
990
992
|
const xmlChar *nameSpace);
|
991
|
-
XMLPUBFUN xmlNsPtr
|
993
|
+
XMLPUBFUN xmlNsPtr
|
992
994
|
xmlSearchNsByHref (xmlDocPtr doc,
|
993
995
|
xmlNodePtr node,
|
994
996
|
const xmlChar *href);
|
995
997
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || \
|
996
998
|
defined(LIBXML_SCHEMAS_ENABLED)
|
997
|
-
XMLPUBFUN xmlNsPtr *
|
999
|
+
XMLPUBFUN xmlNsPtr *
|
998
1000
|
xmlGetNsList (const xmlDoc *doc,
|
999
1001
|
const xmlNode *node);
|
1000
1002
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) */
|
1001
1003
|
|
1002
|
-
XMLPUBFUN void
|
1004
|
+
XMLPUBFUN void
|
1003
1005
|
xmlSetNs (xmlNodePtr node,
|
1004
1006
|
xmlNsPtr ns);
|
1005
|
-
XMLPUBFUN xmlNsPtr
|
1007
|
+
XMLPUBFUN xmlNsPtr
|
1006
1008
|
xmlCopyNamespace (xmlNsPtr cur);
|
1007
|
-
XMLPUBFUN xmlNsPtr
|
1009
|
+
XMLPUBFUN xmlNsPtr
|
1008
1010
|
xmlCopyNamespaceList (xmlNsPtr cur);
|
1009
1011
|
|
1010
1012
|
/*
|
@@ -1012,94 +1014,94 @@ XMLPUBFUN xmlNsPtr XMLCALL
|
|
1012
1014
|
*/
|
1013
1015
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || \
|
1014
1016
|
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED)
|
1015
|
-
XMLPUBFUN xmlAttrPtr
|
1017
|
+
XMLPUBFUN xmlAttrPtr
|
1016
1018
|
xmlSetProp (xmlNodePtr node,
|
1017
1019
|
const xmlChar *name,
|
1018
1020
|
const xmlChar *value);
|
1019
|
-
XMLPUBFUN xmlAttrPtr
|
1021
|
+
XMLPUBFUN xmlAttrPtr
|
1020
1022
|
xmlSetNsProp (xmlNodePtr node,
|
1021
1023
|
xmlNsPtr ns,
|
1022
1024
|
const xmlChar *name,
|
1023
1025
|
const xmlChar *value);
|
1024
1026
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || \
|
1025
1027
|
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED) */
|
1026
|
-
XMLPUBFUN xmlChar *
|
1028
|
+
XMLPUBFUN xmlChar *
|
1027
1029
|
xmlGetNoNsProp (const xmlNode *node,
|
1028
1030
|
const xmlChar *name);
|
1029
|
-
XMLPUBFUN xmlChar *
|
1031
|
+
XMLPUBFUN xmlChar *
|
1030
1032
|
xmlGetProp (const xmlNode *node,
|
1031
1033
|
const xmlChar *name);
|
1032
|
-
XMLPUBFUN xmlAttrPtr
|
1034
|
+
XMLPUBFUN xmlAttrPtr
|
1033
1035
|
xmlHasProp (const xmlNode *node,
|
1034
1036
|
const xmlChar *name);
|
1035
|
-
XMLPUBFUN xmlAttrPtr
|
1037
|
+
XMLPUBFUN xmlAttrPtr
|
1036
1038
|
xmlHasNsProp (const xmlNode *node,
|
1037
1039
|
const xmlChar *name,
|
1038
1040
|
const xmlChar *nameSpace);
|
1039
|
-
XMLPUBFUN xmlChar *
|
1041
|
+
XMLPUBFUN xmlChar *
|
1040
1042
|
xmlGetNsProp (const xmlNode *node,
|
1041
1043
|
const xmlChar *name,
|
1042
1044
|
const xmlChar *nameSpace);
|
1043
|
-
XMLPUBFUN xmlNodePtr
|
1045
|
+
XMLPUBFUN xmlNodePtr
|
1044
1046
|
xmlStringGetNodeList (const xmlDoc *doc,
|
1045
1047
|
const xmlChar *value);
|
1046
|
-
XMLPUBFUN xmlNodePtr
|
1048
|
+
XMLPUBFUN xmlNodePtr
|
1047
1049
|
xmlStringLenGetNodeList (const xmlDoc *doc,
|
1048
1050
|
const xmlChar *value,
|
1049
1051
|
int len);
|
1050
|
-
XMLPUBFUN xmlChar *
|
1052
|
+
XMLPUBFUN xmlChar *
|
1051
1053
|
xmlNodeListGetString (xmlDocPtr doc,
|
1052
1054
|
const xmlNode *list,
|
1053
1055
|
int inLine);
|
1054
1056
|
#ifdef LIBXML_TREE_ENABLED
|
1055
|
-
XMLPUBFUN xmlChar *
|
1057
|
+
XMLPUBFUN xmlChar *
|
1056
1058
|
xmlNodeListGetRawString (const xmlDoc *doc,
|
1057
1059
|
const xmlNode *list,
|
1058
1060
|
int inLine);
|
1059
1061
|
#endif /* LIBXML_TREE_ENABLED */
|
1060
|
-
XMLPUBFUN void
|
1062
|
+
XMLPUBFUN void
|
1061
1063
|
xmlNodeSetContent (xmlNodePtr cur,
|
1062
1064
|
const xmlChar *content);
|
1063
1065
|
#ifdef LIBXML_TREE_ENABLED
|
1064
|
-
XMLPUBFUN void
|
1066
|
+
XMLPUBFUN void
|
1065
1067
|
xmlNodeSetContentLen (xmlNodePtr cur,
|
1066
1068
|
const xmlChar *content,
|
1067
1069
|
int len);
|
1068
1070
|
#endif /* LIBXML_TREE_ENABLED */
|
1069
|
-
XMLPUBFUN void
|
1071
|
+
XMLPUBFUN void
|
1070
1072
|
xmlNodeAddContent (xmlNodePtr cur,
|
1071
1073
|
const xmlChar *content);
|
1072
|
-
XMLPUBFUN void
|
1074
|
+
XMLPUBFUN void
|
1073
1075
|
xmlNodeAddContentLen (xmlNodePtr cur,
|
1074
1076
|
const xmlChar *content,
|
1075
1077
|
int len);
|
1076
|
-
XMLPUBFUN xmlChar *
|
1078
|
+
XMLPUBFUN xmlChar *
|
1077
1079
|
xmlNodeGetContent (const xmlNode *cur);
|
1078
1080
|
|
1079
|
-
XMLPUBFUN int
|
1081
|
+
XMLPUBFUN int
|
1080
1082
|
xmlNodeBufGetContent (xmlBufferPtr buffer,
|
1081
1083
|
const xmlNode *cur);
|
1082
|
-
XMLPUBFUN int
|
1084
|
+
XMLPUBFUN int
|
1083
1085
|
xmlBufGetNodeContent (xmlBufPtr buf,
|
1084
1086
|
const xmlNode *cur);
|
1085
1087
|
|
1086
|
-
XMLPUBFUN xmlChar *
|
1088
|
+
XMLPUBFUN xmlChar *
|
1087
1089
|
xmlNodeGetLang (const xmlNode *cur);
|
1088
|
-
XMLPUBFUN int
|
1090
|
+
XMLPUBFUN int
|
1089
1091
|
xmlNodeGetSpacePreserve (const xmlNode *cur);
|
1090
1092
|
#ifdef LIBXML_TREE_ENABLED
|
1091
|
-
XMLPUBFUN void
|
1093
|
+
XMLPUBFUN void
|
1092
1094
|
xmlNodeSetLang (xmlNodePtr cur,
|
1093
1095
|
const xmlChar *lang);
|
1094
|
-
XMLPUBFUN void
|
1096
|
+
XMLPUBFUN void
|
1095
1097
|
xmlNodeSetSpacePreserve (xmlNodePtr cur,
|
1096
1098
|
int val);
|
1097
1099
|
#endif /* LIBXML_TREE_ENABLED */
|
1098
|
-
XMLPUBFUN xmlChar *
|
1100
|
+
XMLPUBFUN xmlChar *
|
1099
1101
|
xmlNodeGetBase (const xmlDoc *doc,
|
1100
1102
|
const xmlNode *cur);
|
1101
1103
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED)
|
1102
|
-
XMLPUBFUN void
|
1104
|
+
XMLPUBFUN void
|
1103
1105
|
xmlNodeSetBase (xmlNodePtr cur,
|
1104
1106
|
const xmlChar *uri);
|
1105
1107
|
#endif
|
@@ -1107,14 +1109,14 @@ XMLPUBFUN void XMLCALL
|
|
1107
1109
|
/*
|
1108
1110
|
* Removing content.
|
1109
1111
|
*/
|
1110
|
-
XMLPUBFUN int
|
1112
|
+
XMLPUBFUN int
|
1111
1113
|
xmlRemoveProp (xmlAttrPtr cur);
|
1112
1114
|
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
1113
|
-
XMLPUBFUN int
|
1115
|
+
XMLPUBFUN int
|
1114
1116
|
xmlUnsetNsProp (xmlNodePtr node,
|
1115
1117
|
xmlNsPtr ns,
|
1116
1118
|
const xmlChar *name);
|
1117
|
-
XMLPUBFUN int
|
1119
|
+
XMLPUBFUN int
|
1118
1120
|
xmlUnsetProp (xmlNodePtr node,
|
1119
1121
|
const xmlChar *name);
|
1120
1122
|
#endif /* defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) */
|
@@ -1122,13 +1124,13 @@ XMLPUBFUN int XMLCALL
|
|
1122
1124
|
/*
|
1123
1125
|
* Internal, don't use.
|
1124
1126
|
*/
|
1125
|
-
XMLPUBFUN void
|
1127
|
+
XMLPUBFUN void
|
1126
1128
|
xmlBufferWriteCHAR (xmlBufferPtr buf,
|
1127
1129
|
const xmlChar *string);
|
1128
|
-
XMLPUBFUN void
|
1130
|
+
XMLPUBFUN void
|
1129
1131
|
xmlBufferWriteChar (xmlBufferPtr buf,
|
1130
1132
|
const char *string);
|
1131
|
-
XMLPUBFUN void
|
1133
|
+
XMLPUBFUN void
|
1132
1134
|
xmlBufferWriteQuotedString(xmlBufferPtr buf,
|
1133
1135
|
const xmlChar *string);
|
1134
1136
|
|
@@ -1143,7 +1145,7 @@ XMLPUBFUN void xmlAttrSerializeTxtContent(xmlBufferPtr buf,
|
|
1143
1145
|
/*
|
1144
1146
|
* Namespace handling.
|
1145
1147
|
*/
|
1146
|
-
XMLPUBFUN int
|
1148
|
+
XMLPUBFUN int
|
1147
1149
|
xmlReconciliateNs (xmlDocPtr doc,
|
1148
1150
|
xmlNodePtr tree);
|
1149
1151
|
#endif
|
@@ -1152,67 +1154,67 @@ XMLPUBFUN int XMLCALL
|
|
1152
1154
|
/*
|
1153
1155
|
* Saving.
|
1154
1156
|
*/
|
1155
|
-
XMLPUBFUN void
|
1157
|
+
XMLPUBFUN void
|
1156
1158
|
xmlDocDumpFormatMemory (xmlDocPtr cur,
|
1157
1159
|
xmlChar **mem,
|
1158
1160
|
int *size,
|
1159
1161
|
int format);
|
1160
|
-
XMLPUBFUN void
|
1162
|
+
XMLPUBFUN void
|
1161
1163
|
xmlDocDumpMemory (xmlDocPtr cur,
|
1162
1164
|
xmlChar **mem,
|
1163
1165
|
int *size);
|
1164
|
-
XMLPUBFUN void
|
1166
|
+
XMLPUBFUN void
|
1165
1167
|
xmlDocDumpMemoryEnc (xmlDocPtr out_doc,
|
1166
1168
|
xmlChar **doc_txt_ptr,
|
1167
1169
|
int * doc_txt_len,
|
1168
1170
|
const char *txt_encoding);
|
1169
|
-
XMLPUBFUN void
|
1171
|
+
XMLPUBFUN void
|
1170
1172
|
xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc,
|
1171
1173
|
xmlChar **doc_txt_ptr,
|
1172
1174
|
int * doc_txt_len,
|
1173
1175
|
const char *txt_encoding,
|
1174
1176
|
int format);
|
1175
|
-
XMLPUBFUN int
|
1177
|
+
XMLPUBFUN int
|
1176
1178
|
xmlDocFormatDump (FILE *f,
|
1177
1179
|
xmlDocPtr cur,
|
1178
1180
|
int format);
|
1179
|
-
XMLPUBFUN int
|
1181
|
+
XMLPUBFUN int
|
1180
1182
|
xmlDocDump (FILE *f,
|
1181
1183
|
xmlDocPtr cur);
|
1182
|
-
XMLPUBFUN void
|
1184
|
+
XMLPUBFUN void
|
1183
1185
|
xmlElemDump (FILE *f,
|
1184
1186
|
xmlDocPtr doc,
|
1185
1187
|
xmlNodePtr cur);
|
1186
|
-
XMLPUBFUN int
|
1188
|
+
XMLPUBFUN int
|
1187
1189
|
xmlSaveFile (const char *filename,
|
1188
1190
|
xmlDocPtr cur);
|
1189
|
-
XMLPUBFUN int
|
1191
|
+
XMLPUBFUN int
|
1190
1192
|
xmlSaveFormatFile (const char *filename,
|
1191
1193
|
xmlDocPtr cur,
|
1192
1194
|
int format);
|
1193
|
-
XMLPUBFUN size_t
|
1195
|
+
XMLPUBFUN size_t
|
1194
1196
|
xmlBufNodeDump (xmlBufPtr buf,
|
1195
1197
|
xmlDocPtr doc,
|
1196
1198
|
xmlNodePtr cur,
|
1197
1199
|
int level,
|
1198
1200
|
int format);
|
1199
|
-
XMLPUBFUN int
|
1201
|
+
XMLPUBFUN int
|
1200
1202
|
xmlNodeDump (xmlBufferPtr buf,
|
1201
1203
|
xmlDocPtr doc,
|
1202
1204
|
xmlNodePtr cur,
|
1203
1205
|
int level,
|
1204
1206
|
int format);
|
1205
1207
|
|
1206
|
-
XMLPUBFUN int
|
1208
|
+
XMLPUBFUN int
|
1207
1209
|
xmlSaveFileTo (xmlOutputBufferPtr buf,
|
1208
1210
|
xmlDocPtr cur,
|
1209
1211
|
const char *encoding);
|
1210
|
-
XMLPUBFUN int
|
1212
|
+
XMLPUBFUN int
|
1211
1213
|
xmlSaveFormatFileTo (xmlOutputBufferPtr buf,
|
1212
1214
|
xmlDocPtr cur,
|
1213
1215
|
const char *encoding,
|
1214
1216
|
int format);
|
1215
|
-
XMLPUBFUN void
|
1217
|
+
XMLPUBFUN void
|
1216
1218
|
xmlNodeDumpOutput (xmlOutputBufferPtr buf,
|
1217
1219
|
xmlDocPtr doc,
|
1218
1220
|
xmlNodePtr cur,
|
@@ -1220,13 +1222,13 @@ XMLPUBFUN void XMLCALL
|
|
1220
1222
|
int format,
|
1221
1223
|
const char *encoding);
|
1222
1224
|
|
1223
|
-
XMLPUBFUN int
|
1225
|
+
XMLPUBFUN int
|
1224
1226
|
xmlSaveFormatFileEnc (const char *filename,
|
1225
1227
|
xmlDocPtr cur,
|
1226
1228
|
const char *encoding,
|
1227
1229
|
int format);
|
1228
1230
|
|
1229
|
-
XMLPUBFUN int
|
1231
|
+
XMLPUBFUN int
|
1230
1232
|
xmlSaveFileEnc (const char *filename,
|
1231
1233
|
xmlDocPtr cur,
|
1232
1234
|
const char *encoding);
|
@@ -1235,47 +1237,47 @@ XMLPUBFUN int XMLCALL
|
|
1235
1237
|
/*
|
1236
1238
|
* XHTML
|
1237
1239
|
*/
|
1238
|
-
XMLPUBFUN int
|
1240
|
+
XMLPUBFUN int
|
1239
1241
|
xmlIsXHTML (const xmlChar *systemID,
|
1240
1242
|
const xmlChar *publicID);
|
1241
1243
|
|
1242
1244
|
/*
|
1243
1245
|
* Compression.
|
1244
1246
|
*/
|
1245
|
-
XMLPUBFUN int
|
1247
|
+
XMLPUBFUN int
|
1246
1248
|
xmlGetDocCompressMode (const xmlDoc *doc);
|
1247
|
-
XMLPUBFUN void
|
1249
|
+
XMLPUBFUN void
|
1248
1250
|
xmlSetDocCompressMode (xmlDocPtr doc,
|
1249
1251
|
int mode);
|
1250
|
-
XMLPUBFUN int
|
1252
|
+
XMLPUBFUN int
|
1251
1253
|
xmlGetCompressMode (void);
|
1252
|
-
XMLPUBFUN void
|
1254
|
+
XMLPUBFUN void
|
1253
1255
|
xmlSetCompressMode (int mode);
|
1254
1256
|
|
1255
1257
|
/*
|
1256
1258
|
* DOM-wrapper helper functions.
|
1257
1259
|
*/
|
1258
|
-
XMLPUBFUN xmlDOMWrapCtxtPtr
|
1260
|
+
XMLPUBFUN xmlDOMWrapCtxtPtr
|
1259
1261
|
xmlDOMWrapNewCtxt (void);
|
1260
|
-
XMLPUBFUN void
|
1262
|
+
XMLPUBFUN void
|
1261
1263
|
xmlDOMWrapFreeCtxt (xmlDOMWrapCtxtPtr ctxt);
|
1262
|
-
XMLPUBFUN int
|
1264
|
+
XMLPUBFUN int
|
1263
1265
|
xmlDOMWrapReconcileNamespaces(xmlDOMWrapCtxtPtr ctxt,
|
1264
1266
|
xmlNodePtr elem,
|
1265
1267
|
int options);
|
1266
|
-
XMLPUBFUN int
|
1268
|
+
XMLPUBFUN int
|
1267
1269
|
xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt,
|
1268
1270
|
xmlDocPtr sourceDoc,
|
1269
1271
|
xmlNodePtr node,
|
1270
1272
|
xmlDocPtr destDoc,
|
1271
1273
|
xmlNodePtr destParent,
|
1272
1274
|
int options);
|
1273
|
-
XMLPUBFUN int
|
1275
|
+
XMLPUBFUN int
|
1274
1276
|
xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt,
|
1275
1277
|
xmlDocPtr doc,
|
1276
1278
|
xmlNodePtr node,
|
1277
1279
|
int options);
|
1278
|
-
XMLPUBFUN int
|
1280
|
+
XMLPUBFUN int
|
1279
1281
|
xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt,
|
1280
1282
|
xmlDocPtr sourceDoc,
|
1281
1283
|
xmlNodePtr node,
|
@@ -1290,15 +1292,15 @@ XMLPUBFUN int XMLCALL
|
|
1290
1292
|
* 5 interfaces from DOM ElementTraversal, but different in entities
|
1291
1293
|
* traversal.
|
1292
1294
|
*/
|
1293
|
-
XMLPUBFUN unsigned long
|
1295
|
+
XMLPUBFUN unsigned long
|
1294
1296
|
xmlChildElementCount (xmlNodePtr parent);
|
1295
|
-
XMLPUBFUN xmlNodePtr
|
1297
|
+
XMLPUBFUN xmlNodePtr
|
1296
1298
|
xmlNextElementSibling (xmlNodePtr node);
|
1297
|
-
XMLPUBFUN xmlNodePtr
|
1299
|
+
XMLPUBFUN xmlNodePtr
|
1298
1300
|
xmlFirstElementChild (xmlNodePtr parent);
|
1299
|
-
XMLPUBFUN xmlNodePtr
|
1301
|
+
XMLPUBFUN xmlNodePtr
|
1300
1302
|
xmlLastElementChild (xmlNodePtr parent);
|
1301
|
-
XMLPUBFUN xmlNodePtr
|
1303
|
+
XMLPUBFUN xmlNodePtr
|
1302
1304
|
xmlPreviousElementSibling (xmlNodePtr node);
|
1303
1305
|
#endif
|
1304
1306
|
#ifdef __cplusplus
|