From 7300193becde71a344c8ac0973dc290fa24d800d Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Tue, 25 Aug 2015 21:55:54 +0200 Subject: Imported Upstream version 2.9.1+dfsg1 --- doc/html/libxml-tree.html | 144 +++++++++++++++++++++++----------------------- 1 file changed, 72 insertions(+), 72 deletions(-) (limited to 'doc/html/libxml-tree.html') diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index e2081cc..5d932cb 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -70,9 +70,9 @@ The content of this structure is not made public by the API.
xmlNodePtr	xmlAddPrevSibling	(xmlNodePtr cur, 
xmlNodePtr elem)
xmlNodePtr	xmlAddSibling		(xmlNodePtr cur, 
xmlNodePtr elem)
void	xmlAttrSerializeTxtContent	(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlAttrPtr attr,
const xmlChar * string)
-
xmlChar *	xmlBufContent		(const xmlBuf * buf)
-
xmlChar *	xmlBufEnd		(xmlBufPtr buf)
-
int	xmlBufGetNodeContent		(xmlBufPtr buf, 
const xmlNode * cur)
+
xmlChar *	xmlBufContent		(const xmlBufPtr buf)
+
xmlChar *	xmlBufEnd		(const xmlBufPtr buf)
+
int	xmlBufGetNodeContent		(xmlBufPtr buf, 
xmlNodePtr cur)
size_t	xmlBufNodeDump			(xmlBufPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
size_t	xmlBufShrink			(xmlBufPtr buf, 
size_t len)
size_t	xmlBufUse			(const xmlBufPtr buf)
@@ -80,7 +80,7 @@ The content of this structure is not made public by the API.
int	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)
int	xmlBufferCCat			(xmlBufferPtr buf, 
const char * str)
int	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)
-
const xmlChar *	xmlBufferContent	(const xmlBuffer * buf)
+
const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)
xmlBufferPtr	xmlBufferCreate		(void)
xmlBufferPtr	xmlBufferCreateSize	(size_t size)
xmlBufferPtr	xmlBufferCreateStatic	(void * mem, 
size_t size)
@@ -89,7 +89,7 @@ The content of this structure is not made public by the API.
void	xmlBufferEmpty			(xmlBufferPtr buf)
void	xmlBufferFree			(xmlBufferPtr buf)
int	xmlBufferGrow			(xmlBufferPtr buf, 
unsigned int len)
-
int	xmlBufferLength			(const xmlBuffer * buf)
+
int	xmlBufferLength			(const xmlBufferPtr buf)
int	xmlBufferResize			(xmlBufferPtr buf, 
unsigned int size)
void	xmlBufferSetAllocationScheme	(xmlBufferPtr buf, 
xmlBufferAllocationScheme scheme)
int	xmlBufferShrink			(xmlBufferPtr buf, 
unsigned int len)
@@ -102,8 +102,8 @@ The content of this structure is not made public by the API.
xmlDtdPtr	xmlCopyDtd		(xmlDtdPtr dtd)
xmlNsPtr	xmlCopyNamespace	(xmlNsPtr cur)
xmlNsPtr	xmlCopyNamespaceList	(xmlNsPtr cur)
-
xmlNodePtr	xmlCopyNode		(xmlNodePtr node, 
int extended)
-
xmlNodePtr	xmlCopyNodeList		(xmlNodePtr node)
+
xmlNodePtr	xmlCopyNode		(const xmlNodePtr node, 
int extended)
+
xmlNodePtr	xmlCopyNodeList		(const xmlNodePtr node)
xmlAttrPtr	xmlCopyProp		(xmlNodePtr target, 
xmlAttrPtr cur)
xmlAttrPtr	xmlCopyPropList		(xmlNodePtr target, 
xmlAttrPtr cur)
xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
@@ -116,15 +116,15 @@ The content of this structure is not made public by the API.
xmlDOMWrapCtxtPtr	xmlDOMWrapNewCtxt	(void)
int	xmlDOMWrapReconcileNamespaces	(xmlDOMWrapCtxtPtr ctxt, 
xmlNodePtr elem,
int options)
int	xmlDOMWrapRemoveNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr node,
int options)
-
xmlNodePtr	xmlDocCopyNode		(xmlNodePtr node, 
xmlDocPtr doc,
int extended)
-
xmlNodePtr	xmlDocCopyNodeList	(xmlDocPtr doc, 
xmlNodePtr node)
+
xmlNodePtr	xmlDocCopyNode		(const xmlNodePtr node, 
xmlDocPtr doc,
int extended)
+
xmlNodePtr	xmlDocCopyNodeList	(xmlDocPtr doc, 
const xmlNodePtr node)
int	xmlDocDump			(FILE * f, 
xmlDocPtr cur)
void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)
void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)
int	xmlDocFormatDump		(FILE * f, 
xmlDocPtr cur,
int format)
-
xmlNodePtr	xmlDocGetRootElement	(const xmlDoc * doc)
+
xmlNodePtr	xmlDocGetRootElement	(xmlDocPtr doc)
xmlNodePtr	xmlDocSetRootElement	(xmlDocPtr doc, 
xmlNodePtr root)
void	xmlElemDump			(FILE * f, 
xmlDocPtr doc,
xmlNodePtr cur)
xmlNodePtr	xmlFirstElementChild	(xmlNodePtr parent)
@@ -138,18 +138,18 @@ The content of this structure is not made public by the API.
void	xmlFreePropList			(xmlAttrPtr cur)
xmlBufferAllocationScheme	xmlGetBufferAllocationScheme	(void)
int	xmlGetCompressMode		(void)
-
int	xmlGetDocCompressMode		(const xmlDoc * doc)
-
xmlDtdPtr	xmlGetIntSubset		(const xmlDoc * doc)
-
xmlNodePtr	xmlGetLastChild		(const xmlNode * parent)
-
long	xmlGetLineNo			(const xmlNode * node)
-
xmlChar *	xmlGetNoNsProp		(const xmlNode * node, 
const xmlChar * name)
-
xmlChar *	xmlGetNodePath		(const xmlNode * node)
-
xmlNsPtr *	xmlGetNsList		(const xmlDoc * doc, 
const xmlNode * node)
-
xmlChar *	xmlGetNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
-
xmlChar *	xmlGetProp		(const xmlNode * node, 
const xmlChar * name)
-
xmlAttrPtr	xmlHasNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
-
xmlAttrPtr	xmlHasProp		(const xmlNode * node, 
const xmlChar * name)
-
int	xmlIsBlankNode			(const xmlNode * node)
+
int	xmlGetDocCompressMode		(xmlDocPtr doc)
+
xmlDtdPtr	xmlGetIntSubset		(xmlDocPtr doc)
+
xmlNodePtr	xmlGetLastChild		(xmlNodePtr parent)
+
long	xmlGetLineNo			(xmlNodePtr node)
+
xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)
+
xmlChar *	xmlGetNodePath		(xmlNodePtr node)
+
xmlNsPtr *	xmlGetNsList		(xmlDocPtr doc, 
xmlNodePtr node)
+
xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)
+
xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
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)
@@ -164,7 +164,7 @@ The content of this structure is not made public by the API.
xmlNodePtr	xmlNewDocPI		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * content)
xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)
xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
-
xmlNodePtr	xmlNewDocText		(const xmlDoc * doc, 
const xmlChar * content)
+
xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)
xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)
xmlDtdPtr	xmlNewDtd		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)
@@ -175,23 +175,23 @@ The content of this structure is not made public by the API.
xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)
xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
-
xmlNodePtr	xmlNewReference		(const xmlDoc * doc, 
const xmlChar * name)
+
xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)
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, 
const xmlNode * cur)
+
int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
xmlNodePtr cur)
int	xmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)
-
xmlChar *	xmlNodeGetBase		(const xmlDoc * doc, 
const xmlNode * cur)
-
xmlChar *	xmlNodeGetContent	(const xmlNode * cur)
-
xmlChar *	xmlNodeGetLang		(const xmlNode * cur)
-
int	xmlNodeGetSpacePreserve		(const xmlNode * cur)
-
int	xmlNodeIsText			(const xmlNode * node)
-
xmlChar *	xmlNodeListGetRawString	(const xmlDoc * doc, 
const xmlNode * list,
int inLine)
-
xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
const xmlNode * list,
int inLine)
+
xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)
+
xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)
+
xmlChar *	xmlNodeGetLang		(xmlNodePtr cur)
+
int	xmlNodeGetSpacePreserve		(xmlNodePtr cur)
+
int	xmlNodeIsText			(xmlNodePtr node)
+
xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
+
xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)
void	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)
void	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
@@ -220,8 +220,8 @@ The content of this structure is not made public by the API.
void	xmlSetTreeDoc			(xmlNodePtr tree, 
xmlDocPtr doc)
xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)
const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)
-
xmlNodePtr	xmlStringGetNodeList	(const xmlDoc * doc, 
const xmlChar * value)
-
xmlNodePtr	xmlStringLenGetNodeList	(const xmlDoc * doc, 
const xmlChar * value,
int len)
+
xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)
+
xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)
int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)
xmlNodePtr	xmlTextMerge		(xmlNodePtr first, 
xmlNodePtr second)
void	xmlUnlinkNode			(xmlNodePtr cur)
@@ -668,12 +668,12 @@ The content of this structure is not made public by the API.

Add a new element @elem to the list of siblings of @cur merging adjacent TEXT nodes (@elem may be freed) If the new element was already inserted in a document it is first unlinked from its existing context.

cur:the child node
elem:the new node
Returns:the new element or NULL in case of error.

Function: xmlAttrSerializeTxtContent

void	xmlAttrSerializeTxtContent	(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlAttrPtr attr,
const xmlChar * string)

Serialize text attribute values to an xml simple buffer

-
buf:the XML buffer output
doc:the document
attr:the attribute node
string:the text content

Function: xmlBufContent

xmlChar *	xmlBufContent		(const xmlBuf * buf)
+
buf:the XML buffer output
doc:the document
attr:the attribute node
string:the text content

Function: xmlBufContent

xmlChar *	xmlBufContent		(const xmlBufPtr buf)

Function to extract the content of a buffer

-
buf:the buffer
Returns:the internal content

Function: xmlBufEnd

xmlChar *	xmlBufEnd		(xmlBufPtr buf)
+
buf:the buffer
Returns:the internal content

Function: xmlBufEnd

xmlChar *	xmlBufEnd		(const xmlBufPtr buf)

Function to extract the end of the content of a buffer

-
buf:the buffer
Returns:the end of the internal content or NULL in case of error

Function: xmlBufGetNodeContent

int	xmlBufGetNodeContent		(xmlBufPtr buf, 
const xmlNode * cur)
-

Read the value of a node @cur, 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. Fills up the buffer @buf with this value

+
buf:the buffer
Returns:the end of the internal content or NULL in case of error

Function: xmlBufGetNodeContent

int	xmlBufGetNodeContent		(xmlBufPtr buf, 
xmlNodePtr cur)
+

Read the value of a node @cur, 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. Fills up the buffer @buffer with this value

buf:a buffer xmlBufPtr
cur:the node being read
Returns:0 in case of success and -1 in case of error.

Function: xmlBufNodeDump

size_t	xmlBufNodeDump			(xmlBufPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)

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
Returns:the number of bytes written to the buffer, in case of error 0 is returned or @buf stores the error

Function: xmlBufShrink

size_t	xmlBufShrink			(xmlBufPtr buf, 
size_t len)
@@ -688,7 +688,7 @@ The content of this structure is not made public by the API.

Append a zero terminated C string to an XML buffer.

buf:the buffer to dump
str:the C char string
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlBufferCat

int	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)

Append a zero terminated string to an XML buffer.

-
buf:the buffer to add to
str:the #xmlChar string
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlBufferContent

const xmlChar *	xmlBufferContent	(const xmlBuffer * buf)
+
buf:the buffer to add to
str:the #xmlChar string
Returns:0 successful, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlBufferContent

const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)

Function to extract the content of a buffer

buf:the buffer
Returns:the internal content

Function: xmlBufferCreate

xmlBufferPtr	xmlBufferCreate		(void)

routine to create an XML buffer.

@@ -706,7 +706,7 @@ The content of this structure is not made public by the API.

Frees an XML buffer. It frees both the content and the structure which encapsulate it.

buf:the buffer to free

Function: xmlBufferGrow

int	xmlBufferGrow			(xmlBufferPtr buf, 
unsigned int len)

Grow the available space of an XML buffer.

-
buf:the buffer
len:the minimum free size to allocate
Returns:the new available space or -1 in case of error

Function: xmlBufferLength

int	xmlBufferLength			(const xmlBuffer * buf)
+
buf:the buffer
len:the minimum free size to allocate
Returns:the new available space or -1 in case of error

Function: xmlBufferLength

int	xmlBufferLength			(const xmlBufferPtr buf)

Function to get the length of a buffer

buf:the buffer
Returns:the length of data in the internal content

Function: xmlBufferResize

int	xmlBufferResize			(xmlBufferPtr buf, 
unsigned int size)

Resize a buffer to accommodate minimum size of @size.

@@ -732,9 +732,9 @@ The content of this structure is not made public by the API.

Do a copy of the namespace.

cur:the namespace
Returns:a new #xmlNsPtr, or NULL in case of error.

Function: xmlCopyNamespaceList

xmlNsPtr	xmlCopyNamespaceList	(xmlNsPtr cur)

Do a copy of an namespace list.

-
cur:the first namespace
Returns:a new #xmlNsPtr, or NULL in case of error.

Function: xmlCopyNode

xmlNodePtr	xmlCopyNode		(xmlNodePtr node, 
int extended)
+
cur:the first namespace
Returns:a new #xmlNsPtr, or NULL in case of error.

Function: xmlCopyNode

xmlNodePtr	xmlCopyNode		(const xmlNodePtr node, 
int extended)

Do a copy of the node.

-
node:the node
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlCopyNodeList

xmlNodePtr	xmlCopyNodeList		(xmlNodePtr node)
+
node:the node
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlCopyNodeList

xmlNodePtr	xmlCopyNodeList		(const xmlNodePtr node)

Do a recursive copy of the node list. Use xmlDocCopyNodeList() if possible to ensure string interning.

node:the first node in the list.
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlCopyProp

xmlAttrPtr	xmlCopyProp		(xmlNodePtr target, 
xmlAttrPtr cur)

Do a copy of the attribute.

@@ -746,20 +746,20 @@ The content of this structure is not made public by the API. xmlNsPtr xmlDOMWrapAcquireNsFunction (xmlDOMWrapCtxtPtr ctxt,
xmlNodePtr node,
const xmlChar * nsName,
const xmlChar * nsPrefix)

A function called to acquire namespaces (xmlNs) from the wrapper.

ctxt:a DOM wrapper context
node:the context node (element or attribute)
nsName:the requested namespace name
nsPrefix:the requested namespace prefix
Returns:an xmlNsPtr or NULL in case of an error.

Function: xmlDOMWrapAdoptNode

int	xmlDOMWrapAdoptNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int options)
-

References of out-of scope ns-decls are remapped to point to @destDoc: 1) If @destParent is given, then nsDef entries on element-nodes are used 2) If *no* @destParent is given, then @destDoc->oldNs entries are used This is the case when you have an unlinked node and just want to move it to the context of If @destParent is given, it ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. NOTE: This function was not intensively tested.

+

References of out-of scope ns-decls are remapped to point to @destDoc: 1) If @destParent is given, then nsDef entries on element-nodes are used 2) If *no* @destParent is given, then @destDoc->oldNs entries are used This is the case when you have an unliked node and just want to move it to the context of If @destParent is given, it ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. NOTE: This function was not intensively tested.

ctxt:the optional context for custom processing
sourceDoc:the optional sourceDoc
node:the node to start with
destDoc:the destination doc
destParent:the optional new parent of @node in @destDoc
options:option flags
Returns:0 if the operation succeeded, 1 if a node of unsupported type was given, 2 if a node of not yet supported type was given and -1 on API/internal errors.

Function: xmlDOMWrapCloneNode

int	xmlDOMWrapCloneNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr sourceDoc,
xmlNodePtr node,
xmlNodePtr * resNode,
xmlDocPtr destDoc,
xmlNodePtr destParent,
int deep,
int options)

References of out-of scope ns-decls are remapped to point to @destDoc: 1) If @destParent is given, then nsDef entries on element-nodes are used 2) If *no* @destParent is given, then @destDoc->oldNs entries are used. This is the case when you don't know already where the cloned branch will be added to. If @destParent is given, it ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. TODO: 1) What to do with XInclude? Currently this returns an error for XInclude.

ctxt:the optional context for custom processing
sourceDoc:the optional sourceDoc
node:the node to start with
resNode:the clone of the given @node
destDoc:the destination doc
destParent:the optional new parent of @node in @destDoc
deep:descend into child if set
options:option flags
Returns:0 if the operation succeeded, 1 if a node of unsupported (or not yet supported) type was given, -1 on API/internal errors.

Function: xmlDOMWrapFreeCtxt

void	xmlDOMWrapFreeCtxt		(xmlDOMWrapCtxtPtr ctxt)

Frees the DOM-wrapper context.

ctxt:the DOM-wrapper context

Function: xmlDOMWrapNewCtxt

xmlDOMWrapCtxtPtr	xmlDOMWrapNewCtxt	(void)

Allocates and initializes a new DOM-wrapper context.

-
Returns:the xmlDOMWrapCtxtPtr or NULL in case of an internal error.

Function: xmlDOMWrapReconcileNamespaces

int	xmlDOMWrapReconcileNamespaces	(xmlDOMWrapCtxtPtr ctxt, 
xmlNodePtr elem,
int options)
+
Returns:the xmlDOMWrapCtxtPtr or NULL in case of an internal errror.

Function: xmlDOMWrapReconcileNamespaces

int	xmlDOMWrapReconcileNamespaces	(xmlDOMWrapCtxtPtr ctxt, 
xmlNodePtr elem,
int options)

Ensures that ns-references point to ns-decls hold on element-nodes. Ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in attribute values or element content. NOTE: This function was not intensively tested.

ctxt:DOM wrapper context, unused at the moment
elem:the element-node
options:option flags
Returns:0 if succeeded, -1 otherwise and on API/internal errors.

Function: xmlDOMWrapRemoveNode

int	xmlDOMWrapRemoveNode		(xmlDOMWrapCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr node,
int options)

Unlinks the given node from its owner. This will substitute ns-references to node->nsDef for ns-references to doc->oldNs, thus ensuring the removed branch to be autark wrt ns-references. NOTE: This function was not intensively tested.

-
ctxt:a DOM wrapper context
doc:the doc
node:the node to be removed.
options:set of options, unused at the moment
Returns:0 on success, 1 if the node is not supported, -1 on API and internal errors.

Function: xmlDocCopyNode

xmlNodePtr	xmlDocCopyNode		(xmlNodePtr node, 
xmlDocPtr doc,
int extended)
+
ctxt:a DOM wrapper context
doc:the doc
node:the node to be removed.
options:set of options, unused at the moment
Returns:0 on success, 1 if the node is not supported, -1 on API and internal errors.

Function: xmlDocCopyNode

xmlNodePtr	xmlDocCopyNode		(const xmlNodePtr node, 
xmlDocPtr doc,
int extended)

Do a copy of the node to a given document.

-
node:the node
doc:the document
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlDocCopyNodeList

xmlNodePtr	xmlDocCopyNodeList	(xmlDocPtr doc, 
xmlNodePtr node)
+
node:the node
doc:the document
extended:if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlDocCopyNodeList

xmlNodePtr	xmlDocCopyNodeList	(xmlDocPtr doc, 
const xmlNodePtr node)

Do a recursive copy of the node list.

doc:the target document
node:the first node in the list.
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlDocDump

int	xmlDocDump			(FILE * f, 
xmlDocPtr cur)

Dump an XML document to an open FILE.

@@ -773,7 +773,7 @@ The content of this structure is not made public by the API.

Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree().

out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text

Function: xmlDocFormatDump

int	xmlDocFormatDump		(FILE * f, 
xmlDocPtr cur,
int format)

Dump an XML document to an open FILE.

-
f:the FILE*
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlDocGetRootElement

xmlNodePtr	xmlDocGetRootElement	(const xmlDoc * doc)
+
f:the FILE*
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlDocGetRootElement

xmlNodePtr	xmlDocGetRootElement	(xmlDocPtr doc)

Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).

doc:the document
Returns:the #xmlNodePtr for the root or NULL

Function: xmlDocSetRootElement

xmlNodePtr	xmlDocSetRootElement	(xmlDocPtr doc, 
xmlNodePtr root)

Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).

@@ -801,29 +801,29 @@ The content of this structure is not made public by the API.

Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance XML_BUFFER_ALLOC_HYBRID - use exact sizes on small strings to keep memory usage tight in normal usage, and doubleit on large strings to avoid pathological performance.

Returns:the current allocation scheme

Function: xmlGetCompressMode

int	xmlGetCompressMode		(void)

get the default compression mode used, ZLIB based.

-
Returns:0 (uncompressed) to 9 (max compression)

Function: xmlGetDocCompressMode

int	xmlGetDocCompressMode		(const xmlDoc * doc)
+
Returns:0 (uncompressed) to 9 (max compression)

Function: xmlGetDocCompressMode

int	xmlGetDocCompressMode		(xmlDocPtr doc)

get the compression ratio for a document, ZLIB based

-
doc:the document
Returns:0 (uncompressed) to 9 (max compression)

Function: xmlGetIntSubset

xmlDtdPtr	xmlGetIntSubset		(const xmlDoc * doc)
+
doc:the document
Returns:0 (uncompressed) to 9 (max compression)

Function: xmlGetIntSubset

xmlDtdPtr	xmlGetIntSubset		(xmlDocPtr doc)

Get the internal subset of a document

-
doc:the document pointer
Returns:a pointer to the DTD structure or NULL if not found

Function: xmlGetLastChild

xmlNodePtr	xmlGetLastChild		(const xmlNode * parent)
+
doc:the document pointer
Returns:a pointer to the DTD structure or NULL if not found

Function: xmlGetLastChild

xmlNodePtr	xmlGetLastChild		(xmlNodePtr parent)

Search the last child of a node.

-
parent:the parent node
Returns:the last child or NULL if none.

Function: xmlGetLineNo

long	xmlGetLineNo			(const xmlNode * node)
+
parent:the parent node
Returns:the last child or NULL if none.

Function: xmlGetLineNo

long	xmlGetLineNo			(xmlNodePtr node)

Get line number of @node. Try to override the limitation of lines being store in 16 bits ints if XML_PARSE_BIG_LINES parser option was used

-
node:valid node
Returns:the line number if successful, -1 otherwise

Function: xmlGetNoNsProp

xmlChar *	xmlGetNoNsProp		(const xmlNode * node, 
const xmlChar * name)
+
node:valid node
Returns:the line number if successful, -1 otherwise

Function: xmlGetNoNsProp

xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. This function is similar to xmlGetProp except it will accept only an attribute in no namespace.

-
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetNodePath

xmlChar *	xmlGetNodePath		(const xmlNode * node)
+
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetNodePath

xmlChar *	xmlGetNodePath		(xmlNodePtr node)

Build a structure based Path for the given node

-
node:a node
Returns:the new path or NULL in case of error. The caller must free the returned string

Function: xmlGetNsList

xmlNsPtr *	xmlGetNsList		(const xmlDoc * doc, 
const xmlNode * node)
+
node:a node
Returns:the new path or NULL in case of error. The caller must free the returned string

Function: xmlGetNsList

xmlNsPtr *	xmlGetNsList		(xmlDocPtr doc, 
xmlNodePtr node)

Search all the namespace applying to a given element.

-
doc:the document
node:the current node
Returns:an NULL terminated array of all the #xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined

Function: xmlGetNsProp

xmlChar *	xmlGetNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
doc:the document
node:the current node
Returns:an NULL terminated array of all the #xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined

Function: xmlGetNsProp

xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)

Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

-
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetProp

xmlChar *	xmlGetProp		(const xmlNode * node, 
const xmlChar * name)
+
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetProp

xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. NOTE: this function acts independently of namespaces associated to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing.

-
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlHasNsProp

xmlAttrPtr	xmlHasNsProp		(const xmlNode * node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlHasNsProp

xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)

Search for an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. Note that a namespace of NULL indicates to use the default namespace.

-
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlHasProp

xmlAttrPtr	xmlHasProp		(const xmlNode * node, 
const xmlChar * name)
+
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlHasProp

xmlAttrPtr	xmlHasProp		(xmlNodePtr node, 
const xmlChar * name)

Search an attribute associated to a node This function also looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

-
node:the node
name:the attribute name
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlIsBlankNode

int	xmlIsBlankNode			(const xmlNode * node)
+
node:the node
name:the attribute name
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlIsBlankNode

int	xmlIsBlankNode			(xmlNodePtr node)

Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.

node:the node
Returns:1 yes, 0 no

Function: xmlIsXHTML

int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)

Try to find if the document correspond to an XHTML DTD

@@ -853,7 +853,7 @@ The content of this structure is not made public by the API.

Create a new property carried by a document.

doc:the document
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewDocRawNode

xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)

Creation of a new node element within a document. @ns and @content are optional (NULL).

-
doc:the document
ns:namespace if any
name:the node name
content:the text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocText

xmlNodePtr	xmlNewDocText		(const xmlDoc * doc, 
const xmlChar * content)
+
doc:the document
ns:namespace if any
name:the node name
content:the text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocText

xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)

Creation of a new text node within a document.

doc:the document
content:the text content
Returns:a pointer to the new node object.

Function: xmlNewDocTextLen

xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)

Creation of a new text node with an extra content length parameter. The text node pertain to a given document.

@@ -866,7 +866,7 @@ The content of this structure is not made public by the API.
ns:namespace if any
name:the node name
Returns:a pointer to the new node object. Uses xmlStrdup() to make copy of @name.

Function: xmlNewNodeEatName

xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)

Creation of a new node element. @ns is optional (NULL).

ns:namespace if any
name:the node name
Returns:a pointer to the new node object, with pointer @name as new node's name. Use xmlNewNode() if a copy of @name string is is needed as new node's name.

Function: xmlNewNs

xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)
-

Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. Note that for a default namespace, @prefix should be NULL. We use href==NULL in the case of an element creation where the namespace was not defined.

+

Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href==NULL in the case of an element creation where the namespace was not defined.

node:the element carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:a new namespace pointer or NULL

Function: xmlNewNsProp

xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)

Create a new property tagged with a namespace and carried by a node.

node:the holding node
ns:the namespace
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewNsPropEatName

xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
@@ -875,7 +875,7 @@ The content of this structure is not made public by the API.

Creation of a processing instruction element. Use xmlDocNewPI preferably to get string interning

name:the processing instruction name
content:the PI content
Returns:a pointer to the new node object.

Function: xmlNewProp

xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)

Create a new property carried by a node.

-
node:the holding node
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewReference

xmlNodePtr	xmlNewReference		(const xmlDoc * doc, 
const xmlChar * name)
+
node:the holding node
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewReference

xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)

Creation of a new reference node.

doc:the document
name:the reference name, or the reference string with & and ;
Returns:a pointer to the new node object.

Function: xmlNewText

xmlNodePtr	xmlNewText		(const xmlChar * content)

Creation of a new text node.

@@ -889,25 +889,25 @@ The content of this structure is not made public by the API.

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.

cur:the node being modified
content:extra content

Function: xmlNodeAddContentLen

void	xmlNodeAddContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)

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.

-
cur:the node being modified
content:extra content
len:the size of @content

Function: xmlNodeBufGetContent

int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
const xmlNode * cur)
+
cur:the node being modified
content:extra content
len:the size of @content

Function: xmlNodeBufGetContent

int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
xmlNodePtr cur)

Read the value of a node @cur, 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. Fills up the buffer @buffer with this value

buffer:a buffer
cur:the node being read
Returns:0 in case of success and -1 in case of error.

Function: xmlNodeDump

int	xmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)

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 Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlBufNodeDump() instead.

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		(const xmlDoc * doc, 
const xmlNode * cur)
+
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 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	(const xmlNode * cur)
+
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		(const xmlNode * cur)
+
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)

Searches the language of a node, i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor.

-
cur:the node being checked
Returns:a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetSpacePreserve

int	xmlNodeGetSpacePreserve		(const xmlNode * cur)
+
cur:the node being checked
Returns:a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetSpacePreserve

int	xmlNodeGetSpacePreserve		(xmlNodePtr cur)

Searches the space preserving behaviour of a node, i.e. the values of the xml:space attribute or the one carried by the nearest ancestor.

-
cur:the node being checked
Returns:-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"

Function: xmlNodeIsText

int	xmlNodeIsText			(const xmlNode * node)
+
cur:the node being checked
Returns:-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"

Function: xmlNodeIsText

int	xmlNodeIsText			(xmlNodePtr node)

Is this node a Text node ?

-
node:the node
Returns:1 yes, 0 no

Function: xmlNodeListGetRawString

xmlChar *	xmlNodeListGetRawString	(const xmlDoc * doc, 
const xmlNode * list,
int inLine)
+
node:the node
Returns:1 yes, 0 no

Function: xmlNodeListGetRawString

xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)

Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling.

-
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeListGetString

xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
const xmlNode * list,
int inLine)
+
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeListGetString

xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)

Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs

doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeSetBase

void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)

Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute.

@@ -965,9 +965,9 @@ The content of this structure is not made public by the API.

parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

name:the full QName
prefix:a xmlChar **
Returns:NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.

Function: xmlSplitQName3

const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)

parse an XML qualified name string,i

-
name:the full QName
len:an int *
Returns:NULL if it is not a Qualified Name, otherwise, update len with the length in byte of the prefix and return a pointer to the start of the name without the prefix

Function: xmlStringGetNodeList

xmlNodePtr	xmlStringGetNodeList	(const xmlDoc * doc, 
const xmlChar * value)
+
name:the full QName
len:an int *
Returns:NULL if it is not a Qualified Name, otherwise, update len with the length in byte of the prefix and return a pointer to the start of the name without the prefix

Function: xmlStringGetNodeList

xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)

Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.

-
doc:the document
value:the value of the attribute
Returns:a pointer to the first child

Function: xmlStringLenGetNodeList

xmlNodePtr	xmlStringLenGetNodeList	(const xmlDoc * doc, 
const xmlChar * value,
int len)
+
doc:the document
value:the value of the attribute
Returns:a pointer to the first child

Function: xmlStringLenGetNodeList

xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)

Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.

doc:the document
value:the value of the text
len:the length of the string value
Returns:a pointer to the first child

Function: xmlTextConcat

int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)

Concat the given string at the end of the existing node content

-- cgit v1.2.3