From eb5d521a2df72fa829a7f8196b957c696e7ccc58 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 18 Mar 2010 07:40:32 +0100 Subject: Import upstream version 2.7.7 --- doc/devhelp/libxml2-tree.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/devhelp/libxml2-tree.html') diff --git a/doc/devhelp/libxml2-tree.html b/doc/devhelp/libxml2-tree.html index c370203..2c254a3 100644 --- a/doc/devhelp/libxml2-tree.html +++ b/doc/devhelp/libxml2-tree.html @@ -781,7 +781,11 @@ void xmlFreeNsList (xmlError lastError xmlParserMode parseMode : the parser mode unsigned long nbentities : number of entities references - unsigned long sizeentities : size of parsed entities + unsigned long sizeentities : size of parsed entities for use by HTML non-recursive parser + xmlParserNodeInfo * nodeInfo : Current NodeInfo + int nodeInfoNr : Depth of the parsing stack + int nodeInfoMax : Max depth of the parsing stack + xmlParserNodeInfo * nodeInfoTab : array of nodeInfos } xmlParserCtxt;

@@ -1349,7 +1353,7 @@ void xmlFreeNsList (
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
encoding:an optional encoding string


xmlNodeGetBase ()

xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)
-

Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use xmlDocumentGetBase() for this

+

Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use doc->URL in this case

doc:the document the node pertains to
cur:the node being checked
Returns:a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree().

xmlNodeGetContent ()

xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)
-- cgit v1.2.3