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/html/libxml-tree.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/html/libxml-tree.html') diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index 6f91605..50cc447 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -563,7 +563,11 @@ A:link, A:visited, A:active { text-decoration: underline } 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 + xmlParserNodeInfo * nodeInfo : Current NodeInfo + int nodeInfoNr : Depth of the parsing stack + int nodeInfoMax : Max depth of the parsing stack + xmlParserNodeInfo * nodeInfoTab : array of nodeInfos }

Structure xmlParserInput

Structure xmlParserInput
struct _xmlParserInput { xmlParserInputBufferPtr buf : UTF-8 encoded buffer const char * filename : The file analyzed, if any @@ -860,7 +864,7 @@ A:link, A:visited, A:active { text-decoration: underline }
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
Returns:the number of bytes written to the buffer or -1 in case of error

Function: xmlNodeDumpOutput

void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)

Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

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

Function: 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().

Function: xmlNodeGetContent

xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)

Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.

cur:the node being read
Returns:a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetLang

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