diff --git a/ChangeLog b/ChangeLog
index 543f0f8b..1340fa87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Nov 27 16:24:52 CET 2008 Daniel Veillard Letter b:
+Letter b:
+xmlEntityReferenceFunc
+xmlFirstElementChild
xmlKeepBlanksDefault
+xmlLastElementChild
xmlNanoFTPGet
xmlNanoFTPList
+xmlNextElementSibling
+xmlPreviousElementSibling
xmlRelaxNGDump
xmlSetEntityReferenceFunc
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html
index ff1be472..41acac9d 100644
--- a/doc/APIchunk12.html
+++ b/doc/APIchunk12.html
@@ -302,7 +302,9 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlTextWriterEndDocument
xmlNanoHTTPSave
-
+
+xmlPreviousElementSibling
+xmlXPathCeilingFunction
xmlXPathFloorFunction
xmlXPathRoundFunction
@@ -793,6 +795,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlValidateDtd
ftpListCallback
+xmlChildElementCount
xmlExpRef
xmlLsCountNode
xmlSaveDoc
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html
index 2e8417fe..a66dbb22 100644
--- a/doc/APIchunk13.html
+++ b/doc/APIchunk13.html
@@ -408,7 +408,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlACatalogAdd
xmlBuildQName
xmlCatalogAdd
+xmlChildElementCount
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
xmlNodeGetBase
+xmlPreviousElementSibling
xmlStrEqual
xmlStrQEqual
@@ -538,11 +543,16 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRegExecCallbacks
xlinkIsLink
+xmlChildElementCount
xmlCreatePushParserCtxt
xmlDOMWrapCloneNode
+xmlFirstElementChild
+xmlLastElementChild
xmlNewDocNode
xmlNewDocNodeEatName
+xmlNextElementSibling
xmlParseStartTag
+xmlPreviousElementSibling
xmlRegExecErrInfo
xmlRegExecNextValues
xmlSearchNs
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html
index 788a439f..b8e3fed6 100644
--- a/doc/APIchunk16.html
+++ b/doc/APIchunk16.html
@@ -201,15 +201,20 @@ A:link, A:visited, A:active { text-decoration: underline }
attribute
attributeSAXFunc
htmlHandleOmittedElem
+xmlChildElementCount
+xmlFirstElementChild
xmlHandleEntity
+xmlLastElementChild
xmlNamespaceParseNCName
xmlNamespaceParseNSDef
xmlNamespaceParseQName
+xmlNextElementSibling
xmlNodeListGetRawString
xmlOutputBufferCreateFilenameDefault
xmlParserHandlePEReference
xmlParserHandleReference
xmlParserInputBufferCreateFilenameDefault
+xmlPreviousElementSibling
xmlRegNewExecCtxt
xmlRegisterInputCallbacks
xmlRegisterOutputCallbacks
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html
index 19238899..aeb315a8 100644
--- a/doc/APIchunk2.html
+++ b/doc/APIchunk2.html
@@ -62,34 +62,6 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlIsPubidChar
xmlNewGlobalNs
-
-_xmlParserCtxt
-attribute
-attributeSAXFunc
-docbSAXParseDoc
-docbSAXParseFile
-htmlSAXParseDoc
-htmlSAXParseFile
-ignorableWhitespace
-ignorableWhitespaceSAXFunc
-resolveEntity
-resolveEntitySAXFunc
-xmlDOMWrapAcquireNsFunction
-xmlDOMWrapReconcileNamespaces
-xmlDOMWrapRemoveNode
-xmlDocDumpFormatMemoryEnc
-xmlDocDumpMemoryEnc
-xmlKeepBlanksDefault
-xmlSAX2IgnorableWhitespace
-xmlSAX2ResolveEntity
-xmlSAXParseDoc
-xmlSAXParseEntity
-xmlSAXParseFile
-xmlSAXParseFileWithData
-xmlSAXParseMemory
-xmlSAXParseMemoryWithData
-xmlXPathNodeSetGetLength
-xmlXPathNodeSetItem
xmlDOMWrapNewCtxt
@@ -260,6 +232,8 @@ A:link, A:visited, A:active { text-decoration: underline }
_xmlElement
_xmlElementContent
htmlNodeStatus
+xmlFirstElementChild
+xmlLastElementChild
xmlParseAttributeType
xmlParseDocTypeDecl
xmlParseElement
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html
index c84804cc..6e3c9c4d 100644
--- a/doc/APIchunk22.html
+++ b/doc/APIchunk22.html
@@ -344,6 +344,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlKeepBlanksDefault
xmlLineNumbersDefault
xmlPedanticParserDefault
+xmlPreviousElementSibling
xmlPushInput
xmlSAXDefaultVersion
xmlSubstituteEntitiesDefault
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html
index 83f51111..845f9192 100644
--- a/doc/APIchunk24.html
+++ b/doc/APIchunk24.html
@@ -315,6 +315,8 @@ A:link, A:visited, A:active { text-decoration: underline }
_xmlNode
xmlAddNextSibling
xmlAddPrevSibling
+xmlNextElementSibling
+xmlPreviousElementSibling
xmlSchemaValueAppend
xmlSchemaValueGetNext
xmlXPathNextPrecedingSibling
@@ -364,10 +366,15 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSetStructuredErrorFunc
xmlBuildRelativeURI
+xmlChildElementCount
xmlDOMWrapAdoptNode
xmlDOMWrapCloneNode
xmlDOMWrapReconcileNamespaces
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
xmlParseExternalID
+xmlPreviousElementSibling
xmlRelaxNGNewDocParserCtxt
xmlCurrentChar
@@ -486,7 +493,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlStringCurrentChar
+xmlChildElementCount
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
xmlParseComment
+xmlPreviousElementSibling
IS_BLANK
IS_BYTE_CHAR
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html
index 2dce6a0c..6b0749db 100644
--- a/doc/APIchunk25.html
+++ b/doc/APIchunk25.html
@@ -109,25 +109,6 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlStreamWantsAnyNode
-
-xmlExpExpDerive
-xmlExpGetLanguage
-xmlExpGetStart
-xmlNewNs
-xmlParseAttribute
-xmlParseAttributeType
-xmlParseElementDecl
-xmlParseElementMixedContentDecl
-xmlParseSDDecl
-xmlParseStartTag
-xmlSetGenericErrorFunc
-xmlStrEqual
-xmlTextReaderIsNamespaceDecl
-xmlXPathCeilingFunction
-xmlXPathCompareValues
-xmlXPathFloorFunction
-xmlXPathSubstringFunction
-xmlXPathTranslateFunction
xmlEncodeEntities
xmlEncodeEntitiesReentrant
@@ -316,7 +297,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserValidityWarning
xmlParserWarning
-
+
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
+xmlPreviousElementSibling
+xmlXPathAxisFunc
xmlXPathNextAncestor
xmlXPathNextAncestorOrSelf
xmlXPathNextAttribute
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html
index 3f5646a3..958aefef 100644
--- a/doc/APIchunk3.html
+++ b/doc/APIchunk3.html
@@ -72,7 +72,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlHashRemoveEntry3
xmlParserFindNodeInfo
xmlParserFindNodeInfoIndex
-
+
+xmlExpIsNillable
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
+xmlPreviousElementSibling
_xmlEntity
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html
index fb32180c..ca0b6eb1 100644
--- a/doc/APIchunk9.html
+++ b/doc/APIchunk9.html
@@ -71,7 +71,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseVersionNum
-Letter W:
Letter W:
+xmlFirstElementChild
+xmlLastElementChild
+xmlNextElementSibling
+xmlPreviousElementSibling
+xmlTextReaderSchemaValidate
xmlTextReaderSchemaValidateCtxt
xmlSchemaNewStringValue
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html
index 300fc038..bebc3e1f 100644
--- a/doc/APIconstructors.html
+++ b/doc/APIconstructors.html
@@ -89,7 +89,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSaveTree
xmlTextReaderByteConsumed
xmlXPathOrderDocElems
-
xmlChildElementCount
+xmlParserFindNodeInfoIndex
xmlSchemaGetFacetValueAsULong
xmlCatalogAddLocal Builds the QName @prefix:@ncname in @memory if there is enough space and prefix is not NULL nor empty, otherwise allocate a new string. If prefix is NULL or empty it returns ncname. Finds the current number of child nodes of that element which are element nodes. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities. Dump an XML/HTML node, recursive behaviour, children are printed too. Finds the first child node of that element which is a Element node Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Free up all the structures used by a document, tree included. Try to find if the document correspond to an XHTML DTD Finds the last child node of that element which is a Element node Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Creation of a new node containing a CDATA block. Creation of a new text node with an extra parameter for the content's length Finds the first closest next sibling of the node which is an element node. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Append the extra substring to the node content. NOTE: In contrast to xmlNodeSetContent(), @content is supposed to be raw text, so unescaped XML special chars are allowed, entity references are not supported. Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute. Finds the first closest previous sibling of the node which is an element node. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on @tree at the top of the given subtree. routine which manage and grows an output buffer. This one writes a quoted or double quoted #xmlChar string, checking first if it holds quote or double-quotes internally Builds the QName @prefix:@ncname in @memory if there is enough space and prefix is not NULL nor empty, otherwise allocate a new string. If prefix is NULL or empty it returns ncname. Finds the current number of child nodes of that element which are element nodes. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities. Do a copy of the dtd. Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). Dump an XML/HTML node, recursive behaviour, children are printed too. Finds the first child node of that element which is a Element node Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Free up all the structures used by a document, tree included. Free a DTD structure. Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node. Try to find if the document correspond to an XHTML DTD Finds the last child node of that element which is a Element node Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Creation of a new node containing a CDATA block. Creation of a new character reference node. Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations. Creation of a new text node with an extra parameter for the content's length Finds the first closest next sibling of the node which is an element node. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. Append the extra substring to the node content. NOTE: In contrast to xmlNodeSetContent(), @content is supposed to be raw text, so unescaped XML special chars are allowed, entity references are not supported. Append the extra substring to the node content. NOTE: In contrast to xmlNodeSetContentLen(), @content is supposed to be raw text, so unescaped XML special chars are allowed, entity references are not supported. Set (or reset) the name of a node. Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute. Finds the first closest previous sibling of the node which is an element node. Note the handling of entities references is different than in the W3C DOM element traversal spec since we don't have back reference from entities content to entities references. This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on @tree at the top of the given subtree. Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes
xmlFileOpen
@@ -363,7 +364,9 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlDocCopyNodeList
xmlDocGetRootElement
xmlDocSetRootElement
+xmlFirstElementChild
xmlGetLastChild
+xmlLastElementChild
xmlNewCDataBlock
xmlNewCharRef
xmlNewChild
@@ -383,6 +386,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewText
xmlNewTextChild
xmlNewTextLen
+xmlNextElementSibling
+xmlPreviousElementSibling
xmlReplaceNode
xmlStringGetNodeList
xmlStringLenGetNodeList
diff --git a/doc/APIfiles.html b/doc/APIfiles.html
index f4ef0e56..0c9934d3 100644
--- a/doc/APIfiles.html
+++ b/doc/APIfiles.html
@@ -1382,6 +1382,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlBufferWriteChar
xmlBufferWriteQuotedString
xmlBuildQName
+xmlChildElementCount
xmlChildrenNode
xmlCopyDoc
xmlCopyDtd
@@ -1429,6 +1430,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlEntityPtr
xmlEnumeration
xmlEnumerationPtr
+xmlFirstElementChild
xmlFreeDoc
xmlFreeDtd
xmlFreeNode
@@ -1454,6 +1456,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlIDPtr
xmlIsBlankNode
xmlIsXHTML
+xmlLastElementChild
xmlNewCDataBlock
xmlNewCharRef
xmlNewChild
@@ -1481,6 +1484,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewText
xmlNewTextChild
xmlNewTextLen
+xmlNextElementSibling
xmlNode
xmlNodeAddContent
xmlNodeAddContentLen
@@ -1514,6 +1518,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserInputBuffer
xmlParserInputBufferPtr
xmlParserInputPtr
+xmlPreviousElementSibling
xmlReconciliateNs
xmlRef
xmlRefPtr
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html
index 3cf9ced2..6cf73df5 100644
--- a/doc/APIfunctions.html
+++ b/doc/APIfunctions.html
@@ -1437,6 +1437,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlAddPrevSibling
xmlAddSibling
xmlC14NIsVisibleCallback
+xmlChildElementCount
xmlCopyProp
xmlCopyPropList
xmlDOMWrapAcquireNsFunction
@@ -1451,6 +1452,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlDocSetRootElement
xmlElemDump
xmlEntityReferenceFunc
+xmlFirstElementChild
xmlFreeNode
xmlFreeNodeList
xmlGetLastChild
@@ -1465,6 +1467,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlIsBlankNode
xmlIsID
xmlIsRef
+xmlLastElementChild
xmlLsCountNode
xmlLsOneNode
xmlNewChild
@@ -1474,6 +1477,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewProp
xmlNewTextChild
xmlNewTextWriterTree
+xmlNextElementSibling
xmlNodeAddContent
xmlNodeAddContentLen
xmlNodeBufGetContent
@@ -1494,6 +1498,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodeSetSpacePreserve
xmlParseInNodeContext
xmlPatternMatch
+xmlPreviousElementSibling
xmlReconciliateNs
xmlRegisterNodeFunc
xmlRelaxNGValidateFullElement
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html
index 9a1cf8ec..32bfe394 100644
--- a/doc/APIsymbols.html
+++ b/doc/APIsymbols.html
@@ -1820,6 +1820,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlCheckLanguageID
xmlCheckUTF8
xmlCheckVersion
+xmlChildElementCount
xmlChildrenNode
xmlCleanupCharEncodingHandlers
xmlCleanupEncodingAliases
@@ -1998,6 +1999,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlFileOpen
xmlFileRead
xmlFindCharEncodingHandler
+xmlFirstElementChild
xmlFree
xmlFreeAttributeTable
xmlFreeAutomata
@@ -2172,6 +2174,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlIsXHTML
xmlKeepBlanksDefault
xmlKeepBlanksDefaultValue
+xmlLastElementChild
xmlLastError
xmlLineNumbersDefault
xmlLineNumbersDefaultValue
@@ -2342,6 +2345,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewTextWriterTree
xmlNewValidCtxt
xmlNextChar
+xmlNextElementSibling
xmlNoNetExternalEntityLoader
xmlNode
xmlNodeAddContent
@@ -2519,6 +2523,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlPedanticParserDefaultValue
xmlPopInput
xmlPopInputCallbacks
+xmlPreviousElementSibling
xmlPrintURI
xmlPushInput
xmlRMutex
diff --git a/doc/devhelp/libxml2-tree.html b/doc/devhelp/libxml2-tree.html
index 188d43bd..6e709900 100644
--- a/doc/devhelp/libxml2-tree.html
+++ b/doc/devhelp/libxml2-tree.html
@@ -125,11 +125,12 @@ int xmlValidateQName (const xmlBufferAddHead (xmlBufferPtr buf,
const xmlChar * str,
int len);
xmlNodePtr xmlNewPI (const xmlChar * name,
const xmlChar * content);
void xmlDocDumpFormatMemoryEnc (xmlDocPtr out_doc,
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format);
-int xmlUnsetNsProp (xmlNodePtr node,
xmlNsPtr ns,
const xmlChar * name);
+unsigned long xmlChildElementCount (xmlNodePtr parent);
void xmlElemDump (FILE * f,
xmlDocPtr doc,
xmlNodePtr cur);
int xmlSaveFormatFileTo (xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char * encoding,
int format);
xmlDtdPtr xmlGetIntSubset (xmlDocPtr doc);
int xmlNodeBufGetContent (xmlBufferPtr buffer,
xmlNodePtr cur);
+xmlNodePtr xmlNextElementSibling (xmlNodePtr node);
void xmlBufferWriteChar (xmlBufferPtr buf,
const char * string);
void xmlBufferFree (xmlBufferPtr buf);
int xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt,
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlNodePtr * resNode,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int deep,
int options);
@@ -159,6 +160,8 @@ int xmlDOMWrapAdoptNode (xmlChar * xmlGetNodePath (xmlNodePtr node);
void xmlFreePropList (xmlAttrPtr cur);
void xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content);
+int xmlUnsetNsProp (xmlNodePtr node,
xmlNsPtr ns,
const xmlChar * name);
+xmlNodePtr xmlFirstElementChild (xmlNodePtr parent);
xmlNodePtr xmlAddNextSibling (xmlNodePtr cur,
xmlNodePtr elem);
int xmlIsBlankNode (xmlNodePtr node);
xmlNsPtr xmlNewGlobalNs (xmlDocPtr doc,
const xmlChar * href,
const xmlChar * prefix);
@@ -179,6 +182,7 @@ void xmlFreeProp (xmlTextConcat (xmlNodePtr node,
const xmlChar * content,
int len);
int xmlNodeGetSpacePreserve (xmlNodePtr cur);
int xmlBufferShrink (xmlBufferPtr buf,
unsigned int len);
+xmlNodePtr xmlPreviousElementSibling (xmlNodePtr node);
void xmlNodeSetContentLen (xmlNodePtr cur,
const xmlChar * content,
int len);
void xmlNodeAddContentLen (xmlNodePtr cur,
const xmlChar * content,
int len);
void xmlBufferWriteQuotedString (xmlBufferPtr buf,
const xmlChar * string);
@@ -193,6 +197,7 @@ typedef xmlNsPtr xmlGetLineNo (xmlNodePtr node);
const xmlChar * xmlBufferContent (const xmlBufferPtr buf);
int xmlRemoveProp (xmlAttrPtr cur);
+xmlNodePtr xmlLastElementChild (xmlNodePtr parent);
xmlChar * xmlNodeGetLang (xmlNodePtr cur);
int xmlGetDocCompressMode (xmlDocPtr doc);
xmlChar * xmlGetNsProp (xmlNodePtr node,
const xmlChar * name,
const xmlChar * nameSpace);
@@ -1002,6 +1007,10 @@ void xmlFreeNsList (xmlBuildQName ()
xmlChar * xmlBuildQName (const xmlChar * ncname,
const xmlChar * prefix,
xmlChar * memory,
int len)
ncname: the Name prefix: the prefix memory: preallocated memory len: preallocated memory length Returns: the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error
+ xmlChildElementCount ()
unsigned long xmlChildElementCount (xmlNodePtr parent)
+parent: the parent node Returns: the count of element child or 0 if not available
xmlCopyDoc ()
xmlDocPtr xmlCopyDoc (xmlDocPtr doc,
int recursive)
xmlElemDump ()
void xmlElemDump (FILE * f,
xmlDocPtr doc,
xmlNodePtr cur)
f: the FILE * for the output doc: the document cur: the current node
+ xmlFirstElementChild ()
xmlNodePtr xmlFirstElementChild (xmlNodePtr parent)
+parent: the parent node Returns: the first element child or NULL if not available
xmlFreeDoc ()
void xmlFreeDoc (xmlDocPtr cur)
xmlIsXHTML ()
int xmlIsXHTML (const xmlChar * systemID,
const xmlChar * publicID)
systemID: the system identifier publicID: the public identifier Returns: 1 if true, 0 if not and -1 in case of error
+ xmlLastElementChild ()
xmlNodePtr xmlLastElementChild (xmlNodePtr parent)
+parent: the parent node Returns: the last element child or NULL if not available
xmlNewCDataBlock ()
xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc,
const xmlChar * content,
int len)
xmlNewTextLen ()
xmlNodePtr xmlNewTextLen (const xmlChar * content,
int len)
content: the text content len: the text len. Returns: a pointer to the new node object.
+ xmlNextElementSibling ()
xmlNodePtr xmlNextElementSibling (xmlNodePtr node)
+node: the current node Returns: the next element sibling or NULL if not available
xmlNodeAddContent ()
void xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content)
xmlNodeSetSpacePreserve ()
void xmlNodeSetSpacePreserve (xmlNodePtr cur,
int val)
cur: the node being changed val: the xml:space value ("0": default, 1: "preserve")
+ xmlPreviousElementSibling ()
xmlNodePtr xmlPreviousElementSibling (xmlNodePtr node)
+node: the current node Returns: the previous element sibling or NULL if not available
xmlReconciliateNs ()
int xmlReconciliateNs (xmlDocPtr doc,
xmlNodePtr tree)
void xmlBufferWriteChar (xmlBufferPtr buf,
const char * string)void xmlBufferWriteQuotedString (xmlBufferPtr buf,
const xmlChar * string)xmlChar * xmlBuildQName (const xmlChar * ncname,
+
const xmlChar * prefix,
xmlChar * memory,
int len)unsigned long xmlChildElementCount (xmlNodePtr parent)
xmlDocPtr xmlCopyDoc (xmlDocPtr doc,
int recursive)xmlDtdPtr xmlCopyDtd (xmlDtdPtr dtd)
xmlNsPtr xmlCopyNamespace (xmlNsPtr cur)
@@ -116,6 +117,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodePtr xmlDocGetRootElement (xmlDocPtr doc)
xmlNodePtr xmlDocSetRootElement (xmlDocPtr doc,
xmlNodePtr root)void xmlElemDump (FILE * f,
+
xmlDocPtr doc,
xmlNodePtr cur)xmlNodePtr xmlFirstElementChild (xmlNodePtr parent)
void xmlFreeDoc (xmlDocPtr cur)
void xmlFreeDtd (xmlDtdPtr cur)
void xmlFreeNode (xmlNodePtr cur)
@@ -139,6 +141,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlAttrPtr xmlHasProp (xmlNodePtr node,
const xmlChar * name)int xmlIsBlankNode (xmlNodePtr node)
int xmlIsXHTML (const xmlChar * systemID,
+
const xmlChar * publicID)xmlNodePtr xmlLastElementChild (xmlNodePtr parent)
xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc,
const xmlChar * content,
int len)xmlNodePtr xmlNewCharRef (xmlDocPtr doc,
const xmlChar * name)xmlNodePtr xmlNewChild (xmlNodePtr parent,
@@ -166,6 +169,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)xmlNodePtr xmlNewText (const xmlChar * content)
xmlNodePtr xmlNewTextChild (xmlNodePtr parent,
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)xmlNodePtr xmlNewTextLen (const xmlChar * content,
+
int len)xmlNodePtr xmlNextElementSibling (xmlNodePtr node)
void xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content)void xmlNodeAddContentLen (xmlNodePtr cur,
const xmlChar * content,
int len)int xmlNodeBufGetContent (xmlBufferPtr buffer,
@@ -184,6 +188,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodePtr cur)void xmlNodeSetLang (xmlNodePtr cur,
const xmlChar * lang)void xmlNodeSetName (xmlNodePtr cur,
const xmlChar * name)void xmlNodeSetSpacePreserve (xmlNodePtr cur,
+
int val)xmlNodePtr xmlPreviousElementSibling (xmlNodePtr node)
int xmlReconciliateNs (xmlDocPtr doc,
xmlNodePtr tree)int xmlRemoveProp (xmlAttrPtr cur)
xmlNodePtr xmlReplaceNode (xmlNodePtr old,
@@ -681,7 +686,9 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodePtr cur)buf: the XML buffer output string: the string to add Function: xmlBuildQName
xmlChar * xmlBuildQName (const xmlChar * ncname,
const xmlChar * prefix,
xmlChar * memory,
int len)
ncname: the Name prefix: the prefix memory: preallocated memory len: preallocated memory length Returns: the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error Function: xmlCopyDoc
xmlDocPtr xmlCopyDoc (xmlDocPtr doc,
int recursive)
+ncname: the Name prefix: the prefix memory: preallocated memory len: preallocated memory length Returns: the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error Function: xmlChildElementCount
unsigned long xmlChildElementCount (xmlNodePtr parent)
+parent: the parent node Returns: the count of element child or 0 if not available Function: xmlCopyDoc
xmlDocPtr xmlCopyDoc (xmlDocPtr doc,
int recursive)
doc: the document recursive: if not zero do a recursive copy. Returns: a new #xmlDocPtr, or NULL in case of error. Function: xmlCopyDtd
xmlDtdPtr xmlCopyDtd (xmlDtdPtr dtd)
doc: the document root: the new document root element, if root is NULL no action is taken, to remove a node from a document use xmlUnlinkNode(root) instead. Returns: the old root element if any was found, NULL if root was NULL Function: xmlElemDump
void xmlElemDump (FILE * f,
xmlDocPtr doc,
xmlNodePtr cur)
f: the FILE * for the output doc: the document cur: the current node Function: xmlFreeDoc
void xmlFreeDoc (xmlDocPtr cur)
+f: the FILE * for the output doc: the document cur: the current node Function: xmlFirstElementChild
xmlNodePtr xmlFirstElementChild (xmlNodePtr parent)
+parent: the parent node Returns: the first element child or NULL if not available Function: xmlFreeDoc
void xmlFreeDoc (xmlDocPtr cur)
cur: pointer to the document Function: xmlFreeDtd
void xmlFreeDtd (xmlDtdPtr cur)
node: the node Returns: 1 yes, 0 no Function: xmlIsXHTML
int xmlIsXHTML (const xmlChar * systemID,
const xmlChar * publicID)
systemID: the system identifier publicID: the public identifier Returns: 1 if true, 0 if not and -1 in case of error Function: xmlNewCDataBlock
xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc,
const xmlChar * content,
int len)
+systemID: the system identifier publicID: the public identifier Returns: 1 if true, 0 if not and -1 in case of error Function: xmlLastElementChild
xmlNodePtr xmlLastElementChild (xmlNodePtr parent)
+parent: the parent node Returns: the last element child or NULL if not available Function: xmlNewCDataBlock
xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc,
const xmlChar * content,
int len)
doc: the document content: the CDATA block content content len: the length of the block Returns: a pointer to the new node object. Function: xmlNewCharRef
xmlNodePtr xmlNewCharRef (xmlDocPtr doc,
const xmlChar * name)
parent: the parent node ns: a namespace if any name: the name of the child content: the text content of the child if any. Returns: a pointer to the new node object. Function: xmlNewTextLen
xmlNodePtr xmlNewTextLen (const xmlChar * content,
int len)
content: the text content len: the text len. Returns: a pointer to the new node object. Function: xmlNodeAddContent
void xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content)
+content: the text content len: the text len. Returns: a pointer to the new node object. Function: xmlNextElementSibling
xmlNodePtr xmlNextElementSibling (xmlNodePtr node)
+node: the current node Returns: the next element sibling or NULL if not available Function: xmlNodeAddContent
void xmlNodeAddContent (xmlNodePtr cur,
const xmlChar * content)
cur: the node being modified content: extra content Function: xmlNodeAddContentLen
void xmlNodeAddContentLen (xmlNodePtr cur,
const xmlChar * content,
int len)
cur: the node being changed name: the new tag name Function: xmlNodeSetSpacePreserve
void xmlNodeSetSpacePreserve (xmlNodePtr cur,
int val)
cur: the node being changed val: the xml:space value ("0": default, 1: "preserve") Function: xmlReconciliateNs
int xmlReconciliateNs (xmlDocPtr doc,
xmlNodePtr tree)
+cur: the node being changed val: the xml:space value ("0": default, 1: "preserve") Function: xmlPreviousElementSibling
xmlNodePtr xmlPreviousElementSibling (xmlNodePtr node)
+node: the current node Returns: the previous element sibling or NULL if not available Function: xmlReconciliateNs
int xmlReconciliateNs (xmlDocPtr doc,
xmlNodePtr tree)
doc: the document tree: a node defining the subtree to reconciliate Returns: the number of namespace declarations created or -1 in case of error. Function: xmlRemoveProp
int xmlRemoveProp (xmlAttrPtr cur)