1*7c568831SAndroid Build Coastguard Worker<html> 2*7c568831SAndroid Build Coastguard Worker<head> 3*7c568831SAndroid Build Coastguard Worker<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4*7c568831SAndroid Build Coastguard Worker<title>tree: interfaces for tree manipulation</title> 5*7c568831SAndroid Build Coastguard Worker<meta name="generator" content="Libxml2 devhelp stylesheet"> 6*7c568831SAndroid Build Coastguard Worker<link rel="start" href="index.html" title="libxml2 Reference Manual"> 7*7c568831SAndroid Build Coastguard Worker<link rel="up" href="general.html" title="API"> 8*7c568831SAndroid Build Coastguard Worker<link rel="stylesheet" href="style.css" type="text/css"> 9*7c568831SAndroid Build Coastguard Worker<link rel="chapter" href="general.html" title="API"> 10*7c568831SAndroid Build Coastguard Worker</head> 11*7c568831SAndroid Build Coastguard Worker<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 12*7c568831SAndroid Build Coastguard Worker<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 13*7c568831SAndroid Build Coastguard Worker<td><a accesskey="p" href="libxml2-threads.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> 14*7c568831SAndroid Build Coastguard Worker<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> 15*7c568831SAndroid Build Coastguard Worker<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 16*7c568831SAndroid Build Coastguard Worker<td><a accesskey="n" href="libxml2-uri.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 17*7c568831SAndroid Build Coastguard Worker<th width="100%" align="center">libxml2 Reference Manual</th> 18*7c568831SAndroid Build Coastguard Worker</tr></table> 19*7c568831SAndroid Build Coastguard Worker<h2><span class="refentrytitle">tree</span></h2> 20*7c568831SAndroid Build Coastguard Worker<p>tree - interfaces for tree manipulation</p> 21*7c568831SAndroid Build Coastguard Worker<p>this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree </p> 22*7c568831SAndroid Build Coastguard Worker<p>Author(s): Daniel Veillard </p> 23*7c568831SAndroid Build Coastguard Worker<div class="refsynopsisdiv"> 24*7c568831SAndroid Build Coastguard Worker<h2>Synopsis</h2> 25*7c568831SAndroid Build Coastguard Worker<pre class="synopsis">#define <a href="#BASE_BUFFER_SIZE">BASE_BUFFER_SIZE</a>; 26*7c568831SAndroid Build Coastguard Worker#define <a href="#LIBXML2_NEW_BUFFER">LIBXML2_NEW_BUFFER</a>; 27*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_GET_CONTENT">XML_GET_CONTENT</a>; 28*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_GET_LINE">XML_GET_LINE</a>; 29*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_LOCAL_NAMESPACE">XML_LOCAL_NAMESPACE</a>; 30*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_XML_ID">XML_XML_ID</a>; 31*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_XML_NAMESPACE">XML_XML_NAMESPACE</a>; 32*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlChildrenNode">xmlChildrenNode</a>; 33*7c568831SAndroid Build Coastguard Worker#define <a href="#xmlRootNode">xmlRootNode</a>; 34*7c568831SAndroid Build Coastguard Workertypedef struct _xmlAttr <a href="#xmlAttr">xmlAttr</a>; 35*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlAttr">xmlAttr</a> * <a href="#xmlAttrPtr">xmlAttrPtr</a>; 36*7c568831SAndroid Build Coastguard Workertypedef struct _xmlAttribute <a href="#xmlAttribute">xmlAttribute</a>; 37*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlAttributeDefault">xmlAttributeDefault</a>; 38*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlAttribute">xmlAttribute</a> * <a href="#xmlAttributePtr">xmlAttributePtr</a>; 39*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlAttributeType">xmlAttributeType</a>; 40*7c568831SAndroid Build Coastguard Workertypedef struct _xmlBuf <a href="#xmlBuf">xmlBuf</a>; 41*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlBuf">xmlBuf</a> * <a href="#xmlBufPtr">xmlBufPtr</a>; 42*7c568831SAndroid Build Coastguard Workertypedef struct _xmlBuffer <a href="#xmlBuffer">xmlBuffer</a>; 43*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a>; 44*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * <a href="#xmlBufferPtr">xmlBufferPtr</a>; 45*7c568831SAndroid Build Coastguard Workertypedef struct _xmlDOMWrapCtxt <a href="#xmlDOMWrapCtxt">xmlDOMWrapCtxt</a>; 46*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlDOMWrapCtxt">xmlDOMWrapCtxt</a> * <a href="#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a>; 47*7c568831SAndroid Build Coastguard Workertypedef struct _xmlDoc <a href="#xmlDoc">xmlDoc</a>; 48*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlDocProperties">xmlDocProperties</a>; 49*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * <a href="#xmlDocPtr">xmlDocPtr</a>; 50*7c568831SAndroid Build Coastguard Workertypedef struct _xmlDtd <a href="#xmlDtd">xmlDtd</a>; 51*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlDtd">xmlDtd</a> * <a href="#xmlDtdPtr">xmlDtdPtr</a>; 52*7c568831SAndroid Build Coastguard Workertypedef struct _xmlElement <a href="#xmlElement">xmlElement</a>; 53*7c568831SAndroid Build Coastguard Workertypedef struct _xmlElementContent <a href="#xmlElementContent">xmlElementContent</a>; 54*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlElementContentOccur">xmlElementContentOccur</a>; 55*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlElementContent">xmlElementContent</a> * <a href="#xmlElementContentPtr">xmlElementContentPtr</a>; 56*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlElementContentType">xmlElementContentType</a>; 57*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlElement">xmlElement</a> * <a href="#xmlElementPtr">xmlElementPtr</a>; 58*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlElementType">xmlElementType</a>; 59*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlElementTypeVal">xmlElementTypeVal</a>; 60*7c568831SAndroid Build Coastguard Workertypedef struct _xmlEntity <a href="#xmlEntity">xmlEntity</a>; 61*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlEntity">xmlEntity</a> * <a href="#xmlEntityPtr">xmlEntityPtr</a>; 62*7c568831SAndroid Build Coastguard Workertypedef struct _xmlEnumeration <a href="#xmlEnumeration">xmlEnumeration</a>; 63*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlEnumeration">xmlEnumeration</a> * <a href="#xmlEnumerationPtr">xmlEnumerationPtr</a>; 64*7c568831SAndroid Build Coastguard Workertypedef struct _xmlID <a href="#xmlID">xmlID</a>; 65*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlID">xmlID</a> * <a href="#xmlIDPtr">xmlIDPtr</a>; 66*7c568831SAndroid Build Coastguard Workertypedef struct _xmlNode <a href="#xmlNode">xmlNode</a>; 67*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlNode">xmlNode</a> * <a href="#xmlNodePtr">xmlNodePtr</a>; 68*7c568831SAndroid Build Coastguard Workertypedef struct _xmlNotation <a href="#xmlNotation">xmlNotation</a>; 69*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlNotation">xmlNotation</a> * <a href="#xmlNotationPtr">xmlNotationPtr</a>; 70*7c568831SAndroid Build Coastguard Workertypedef struct _xmlNs <a href="#xmlNs">xmlNs</a>; 71*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlNs">xmlNs</a> * <a href="#xmlNsPtr">xmlNsPtr</a>; 72*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> <a href="#xmlNsType">xmlNsType</a>; 73*7c568831SAndroid Build Coastguard Workertypedef struct _xmlOutputBuffer <a href="#xmlOutputBuffer">xmlOutputBuffer</a>; 74*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlOutputBuffer">xmlOutputBuffer</a> * <a href="#xmlOutputBufferPtr">xmlOutputBufferPtr</a>; 75*7c568831SAndroid Build Coastguard Workertypedef struct _xmlParserCtxt <a href="#xmlParserCtxt">xmlParserCtxt</a>; 76*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a> * <a href="#xmlParserCtxtPtr">xmlParserCtxtPtr</a>; 77*7c568831SAndroid Build Coastguard Workertypedef struct _xmlParserInput <a href="#xmlParserInput">xmlParserInput</a>; 78*7c568831SAndroid Build Coastguard Workertypedef struct _xmlParserInputBuffer <a href="#xmlParserInputBuffer">xmlParserInputBuffer</a>; 79*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlParserInputBuffer">xmlParserInputBuffer</a> * <a href="#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a>; 80*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlParserInput">xmlParserInput</a> * <a href="#xmlParserInputPtr">xmlParserInputPtr</a>; 81*7c568831SAndroid Build Coastguard Workertypedef struct _xmlRef <a href="#xmlRef">xmlRef</a>; 82*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlRef">xmlRef</a> * <a href="#xmlRefPtr">xmlRefPtr</a>; 83*7c568831SAndroid Build Coastguard Workertypedef struct _xmlSAXHandler <a href="#xmlSAXHandler">xmlSAXHandler</a>; 84*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlSAXHandler">xmlSAXHandler</a> * <a href="#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a>; 85*7c568831SAndroid Build Coastguard Workertypedef struct _xmlSAXLocator <a href="#xmlSAXLocator">xmlSAXLocator</a>; 86*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlSAXLocator">xmlSAXLocator</a> * <a href="#xmlSAXLocatorPtr">xmlSAXLocatorPtr</a>; 87*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlAddChild">xmlAddChild</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 88*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlAddChildList">xmlAddChildList</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 89*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlAddNextSibling">xmlAddNextSibling</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> prev, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 90*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlAddPrevSibling">xmlAddPrevSibling</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> next, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 91*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlAddSibling">xmlAddSibling</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 92*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlAttrSerializeTxtContent">xmlAttrSerializeTxtContent</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string); 93*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlBufContent">xmlBufContent</a> (const <a href="libxml2-tree.html#xmlBuf">xmlBuf</a> * buf); 94*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlBufEnd">xmlBufEnd</a> (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf); 95*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufGetNodeContent">xmlBufGetNodeContent</a> (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 96*7c568831SAndroid Build Coastguard Workersize_t <a href="#xmlBufNodeDump">xmlBufNodeDump</a> (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format); 97*7c568831SAndroid Build Coastguard Workersize_t <a href="#xmlBufShrink">xmlBufShrink</a> (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> size_t len); 98*7c568831SAndroid Build Coastguard Workersize_t <a href="#xmlBufUse">xmlBufUse</a> (const <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf); 99*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferAdd">xmlBufferAdd</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> int len); 100*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferAddHead">xmlBufferAddHead</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> int len); 101*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferCCat">xmlBufferCCat</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const char * str); 102*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferCat">xmlBufferCat</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str); 103*7c568831SAndroid Build Coastguard Workerconst <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlBufferContent">xmlBufferContent</a> (const <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * buf); 104*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> <a href="#xmlBufferCreate">xmlBufferCreate</a> (void); 105*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> <a href="#xmlBufferCreateSize">xmlBufferCreateSize</a> (size_t size); 106*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> <a href="#xmlBufferCreateStatic">xmlBufferCreateStatic</a> (void * mem, <br> size_t size); 107*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlBufferDetach">xmlBufferDetach</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf); 108*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferDump">xmlBufferDump</a> (FILE * file, <br> <a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf); 109*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferEmpty">xmlBufferEmpty</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf); 110*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferFree">xmlBufferFree</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf); 111*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferGrow">xmlBufferGrow</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int len); 112*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferLength">xmlBufferLength</a> (const <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * buf); 113*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferResize">xmlBufferResize</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int size); 114*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferSetAllocationScheme">xmlBufferSetAllocationScheme</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme); 115*7c568831SAndroid Build Coastguard Workerint <a href="#xmlBufferShrink">xmlBufferShrink</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int len); 116*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferWriteCHAR">xmlBufferWriteCHAR</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string); 117*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferWriteChar">xmlBufferWriteChar</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const char * string); 118*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlBufferWriteQuotedString">xmlBufferWriteQuotedString</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string); 119*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlBuildQName">xmlBuildQName</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ncname, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * memory, <br> int len); 120*7c568831SAndroid Build Coastguard Workerunsigned long <a href="#xmlChildElementCount">xmlChildElementCount</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent); 121*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlCopyDoc">xmlCopyDoc</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int recursive); 122*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> <a href="#xmlCopyDtd">xmlCopyDtd</a> (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd); 123*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlCopyNamespace">xmlCopyNamespace</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur); 124*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlCopyNamespaceList">xmlCopyNamespaceList</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur); 125*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlCopyNode">xmlCopyNode</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> int extended); 126*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlCopyNodeList">xmlCopyNodeList</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 127*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlCopyProp">xmlCopyProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> target, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur); 128*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlCopyPropList">xmlCopyPropList</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> target, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur); 129*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> <a href="#xmlCreateIntSubset">xmlCreateIntSubset</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID); 130*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlDOMWrapAcquireNsFunction">xmlDOMWrapAcquireNsFunction</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsName, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsPrefix); 131*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDOMWrapAdoptNode">xmlDOMWrapAdoptNode</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> sourceDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> destDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> destParent, <br> int options); 132*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDOMWrapCloneNode">xmlDOMWrapCloneNode</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> sourceDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> * resNode, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> destDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> destParent, <br> int deep, <br> int options); 133*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlDOMWrapFreeCtxt">xmlDOMWrapFreeCtxt</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt); 134*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> <a href="#xmlDOMWrapNewCtxt">xmlDOMWrapNewCtxt</a> (void); 135*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDOMWrapReconcileNamespaces">xmlDOMWrapReconcileNamespaces</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br> int options); 136*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDOMWrapRemoveNode">xmlDOMWrapRemoveNode</a> (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> int options); 137*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> <a href="#xmlDeregisterNodeDefault">xmlDeregisterNodeDefault</a> (<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> func); 138*7c568831SAndroid Build Coastguard Workertypedef void <a href="#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 139*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlDocCopyNode">xmlDocCopyNode</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int extended); 140*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlDocCopyNodeList">xmlDocCopyNodeList</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 141*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDocDump">xmlDocDump</a> (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur); 142*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlDocDumpFormatMemory">xmlDocDumpFormatMemory</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** mem, <br> int * size, <br> int format); 143*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlDocDumpFormatMemoryEnc">xmlDocDumpFormatMemoryEnc</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> out_doc, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr, <br> int * doc_txt_len, <br> const char * txt_encoding, <br> int format); 144*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlDocDumpMemory">xmlDocDumpMemory</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** mem, <br> int * size); 145*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlDocDumpMemoryEnc">xmlDocDumpMemoryEnc</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> out_doc, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr, <br> int * doc_txt_len, <br> const char * txt_encoding); 146*7c568831SAndroid Build Coastguard Workerint <a href="#xmlDocFormatDump">xmlDocFormatDump</a> (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> int format); 147*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlDocGetRootElement">xmlDocGetRootElement</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc); 148*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlDocSetRootElement">xmlDocSetRootElement</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> root); 149*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlElemDump">xmlElemDump</a> (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 150*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlFirstElementChild">xmlFirstElementChild</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent); 151*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeDoc">xmlFreeDoc</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur); 152*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeDtd">xmlFreeDtd</a> (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> cur); 153*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeNode">xmlFreeNode</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 154*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeNodeList">xmlFreeNodeList</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 155*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeNs">xmlFreeNs</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur); 156*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeNsList">xmlFreeNsList</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur); 157*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeProp">xmlFreeProp</a> (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur); 158*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreePropList">xmlFreePropList</a> (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur); 159*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> <a href="#xmlGetBufferAllocationScheme">xmlGetBufferAllocationScheme</a> (void); 160*7c568831SAndroid Build Coastguard Workerint <a href="#xmlGetCompressMode">xmlGetCompressMode</a> (void); 161*7c568831SAndroid Build Coastguard Workerint <a href="#xmlGetDocCompressMode">xmlGetDocCompressMode</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc); 162*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> <a href="#xmlGetIntSubset">xmlGetIntSubset</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc); 163*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlGetLastChild">xmlGetLastChild</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * parent); 164*7c568831SAndroid Build Coastguard Workerlong <a href="#xmlGetLineNo">xmlGetLineNo</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node); 165*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlGetNoNsProp">xmlGetNoNsProp</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 166*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlGetNodePath">xmlGetNodePath</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node); 167*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> * <a href="#xmlGetNsList">xmlGetNsList</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node); 168*7c568831SAndroid Build Coastguard Workerint <a href="#xmlGetNsListSafe">xmlGetNsListSafe</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ** out); 169*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlGetNsProp">xmlGetNsProp</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace); 170*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlGetProp">xmlGetProp</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 171*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlHasNsProp">xmlHasNsProp</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace); 172*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlHasProp">xmlHasProp</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 173*7c568831SAndroid Build Coastguard Workerint <a href="#xmlIsBlankNode">xmlIsBlankNode</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node); 174*7c568831SAndroid Build Coastguard Workerint <a href="#xmlIsXHTML">xmlIsXHTML</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * systemID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * publicID); 175*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlLastElementChild">xmlLastElementChild</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent); 176*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewCDataBlock">xmlNewCDataBlock</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 177*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewCharRef">xmlNewCharRef</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 178*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewChild">xmlNewChild</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 179*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewComment">xmlNewComment</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 180*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlNewDoc">xmlNewDoc</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version); 181*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocComment">xmlNewDocComment</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 182*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocFragment">xmlNewDocFragment</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc); 183*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocNode">xmlNewDocNode</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 184*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocNodeEatName">xmlNewDocNodeEatName</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 185*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocPI">xmlNewDocPI</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 186*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlNewDocProp">xmlNewDocProp</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 187*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocRawNode">xmlNewDocRawNode</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 188*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocText">xmlNewDocText</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 189*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewDocTextLen">xmlNewDocTextLen</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 190*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> <a href="#xmlNewDtd">xmlNewDtd</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID); 191*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlNewGlobalNs">xmlNewGlobalNs</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix); 192*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewNode">xmlNewNode</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 193*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewNodeEatName">xmlNewNodeEatName</a> (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 194*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlNewNs">xmlNewNs</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix); 195*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlNewNsProp">xmlNewNsProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 196*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlNewNsPropEatName">xmlNewNsPropEatName</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 197*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewPI">xmlNewPI</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 198*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlNewProp">xmlNewProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 199*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewReference">xmlNewReference</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 200*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewText">xmlNewText</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 201*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewTextChild">xmlNewTextChild</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 202*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNewTextLen">xmlNewTextLen</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 203*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlNextElementSibling">xmlNextElementSibling</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 204*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeAddContent">xmlNodeAddContent</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 205*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeAddContentLen">xmlNodeAddContentLen</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 206*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeBufGetContent">xmlNodeBufGetContent</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buffer, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 207*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeDump">xmlNodeDump</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format); 208*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlNodeDumpOutput">xmlNodeDumpOutput</a> (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format, <br> const char * encoding); 209*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeGetAttrValue">xmlNodeGetAttrValue</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsUri, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** out); 210*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlNodeGetBase">xmlNodeGetBase</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 211*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeGetBaseSafe">xmlNodeGetBaseSafe</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** baseOut); 212*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlNodeGetContent">xmlNodeGetContent</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 213*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlNodeGetLang">xmlNodeGetLang</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 214*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeGetSpacePreserve">xmlNodeGetSpacePreserve</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur); 215*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeIsText">xmlNodeIsText</a> (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node); 216*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlNodeListGetRawString">xmlNodeListGetRawString</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * list, <br> int inLine); 217*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlNodeListGetString">xmlNodeListGetString</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * list, <br> int inLine); 218*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeSetBase">xmlNodeSetBase</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * uri); 219*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeSetContent">xmlNodeSetContent</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content); 220*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeSetContentLen">xmlNodeSetContentLen</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 221*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeSetLang">xmlNodeSetLang</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * lang); 222*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlNodeSetName">xmlNodeSetName</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 223*7c568831SAndroid Build Coastguard Workerint <a href="#xmlNodeSetSpacePreserve">xmlNodeSetSpacePreserve</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int val); 224*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlPreviousElementSibling">xmlPreviousElementSibling</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 225*7c568831SAndroid Build Coastguard Workerint <a href="#xmlReconciliateNs">xmlReconciliateNs</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> tree); 226*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> <a href="#xmlRegisterNodeDefault">xmlRegisterNodeDefault</a> (<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> func); 227*7c568831SAndroid Build Coastguard Workertypedef void <a href="#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node); 228*7c568831SAndroid Build Coastguard Workerint <a href="#xmlRemoveProp">xmlRemoveProp</a> (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur); 229*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlReplaceNode">xmlReplaceNode</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> old, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 230*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFile">xmlSaveFile</a> (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur); 231*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFileEnc">xmlSaveFileEnc</a> (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding); 232*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFileTo">xmlSaveFileTo</a> (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding); 233*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFormatFile">xmlSaveFormatFile</a> (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> int format); 234*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFormatFileEnc">xmlSaveFormatFileEnc</a> (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding, <br> int format); 235*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSaveFormatFileTo">xmlSaveFormatFileTo</a> (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding, <br> int format); 236*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlSearchNs">xmlSearchNs</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace); 237*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> <a href="#xmlSearchNsByHref">xmlSearchNsByHref</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href); 238*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlSetBufferAllocationScheme">xmlSetBufferAllocationScheme</a> (<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme); 239*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlSetCompressMode">xmlSetCompressMode</a> (int mode); 240*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlSetDocCompressMode">xmlSetDocCompressMode</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int mode); 241*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSetListDoc">xmlSetListDoc</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> list, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc); 242*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlSetNs">xmlSetNs</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns); 243*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlSetNsProp">xmlSetNsProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 244*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> <a href="#xmlSetProp">xmlSetProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 245*7c568831SAndroid Build Coastguard Workerint <a href="#xmlSetTreeDoc">xmlSetTreeDoc</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> tree, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc); 246*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlSplitQName2">xmlSplitQName2</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** prefix); 247*7c568831SAndroid Build Coastguard Workerconst <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlSplitQName3">xmlSplitQName3</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> int * len); 248*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlStringGetNodeList">xmlStringGetNodeList</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 249*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlStringLenGetNodeList">xmlStringLenGetNodeList</a> (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int len); 250*7c568831SAndroid Build Coastguard Workerint <a href="#xmlTextConcat">xmlTextConcat</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len); 251*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlTextMerge">xmlTextMerge</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> first, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> second); 252*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> <a href="#xmlThrDefBufferAllocScheme">xmlThrDefBufferAllocScheme</a> (<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> v); 253*7c568831SAndroid Build Coastguard Workerint <a href="#xmlThrDefDefaultBufferSize">xmlThrDefDefaultBufferSize</a> (int v); 254*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> <a href="#xmlThrDefDeregisterNodeDefault">xmlThrDefDeregisterNodeDefault</a> (<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> func); 255*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> <a href="#xmlThrDefRegisterNodeDefault">xmlThrDefRegisterNodeDefault</a> (<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> func); 256*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlUnlinkNode">xmlUnlinkNode</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur); 257*7c568831SAndroid Build Coastguard Workerint <a href="#xmlUnsetNsProp">xmlUnsetNsProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 258*7c568831SAndroid Build Coastguard Workerint <a href="#xmlUnsetProp">xmlUnsetProp</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name); 259*7c568831SAndroid Build Coastguard Workerint <a href="#xmlValidateNCName">xmlValidateNCName</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space); 260*7c568831SAndroid Build Coastguard Workerint <a href="#xmlValidateNMToken">xmlValidateNMToken</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space); 261*7c568831SAndroid Build Coastguard Workerint <a href="#xmlValidateName">xmlValidateName</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space); 262*7c568831SAndroid Build Coastguard Workerint <a href="#xmlValidateQName">xmlValidateQName</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space); 263*7c568831SAndroid Build Coastguard Worker</pre> 264*7c568831SAndroid Build Coastguard Worker</div> 265*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"><h2>Description</h2></div> 266*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"> 267*7c568831SAndroid Build Coastguard Worker<h2>Details</h2> 268*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 269*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 270*7c568831SAndroid Build Coastguard Worker<h3> 271*7c568831SAndroid Build Coastguard Worker<a name="BASE_BUFFER_SIZE">Macro </a>BASE_BUFFER_SIZE</h3> 272*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#BASE_BUFFER_SIZE">BASE_BUFFER_SIZE</a>; 273*7c568831SAndroid Build Coastguard Worker</pre> 274*7c568831SAndroid Build Coastguard Worker<p>default buffer size 4000.</p> 275*7c568831SAndroid Build Coastguard Worker</div> 276*7c568831SAndroid Build Coastguard Worker<hr> 277*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 278*7c568831SAndroid Build Coastguard Worker<h3> 279*7c568831SAndroid Build Coastguard Worker<a name="LIBXML2_NEW_BUFFER">Macro </a>LIBXML2_NEW_BUFFER</h3> 280*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#LIBXML2_NEW_BUFFER">LIBXML2_NEW_BUFFER</a>; 281*7c568831SAndroid Build Coastguard Worker</pre> 282*7c568831SAndroid Build Coastguard Worker<p>Macro used to express that the API use the new buffers for <a href="libxml2-tree.html#xmlParserInputBuffer">xmlParserInputBuffer</a> and <a href="libxml2-tree.html#xmlOutputBuffer">xmlOutputBuffer</a>. The change was introduced in 2.9.0.</p> 283*7c568831SAndroid Build Coastguard Worker</div> 284*7c568831SAndroid Build Coastguard Worker<hr> 285*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 286*7c568831SAndroid Build Coastguard Worker<h3> 287*7c568831SAndroid Build Coastguard Worker<a name="XML_GET_CONTENT">Macro </a>XML_GET_CONTENT</h3> 288*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_GET_CONTENT">XML_GET_CONTENT</a>; 289*7c568831SAndroid Build Coastguard Worker</pre> 290*7c568831SAndroid Build Coastguard Worker<p>Macro to extract the content pointer of a node.</p> 291*7c568831SAndroid Build Coastguard Worker</div> 292*7c568831SAndroid Build Coastguard Worker<hr> 293*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 294*7c568831SAndroid Build Coastguard Worker<h3> 295*7c568831SAndroid Build Coastguard Worker<a name="XML_GET_LINE">Macro </a>XML_GET_LINE</h3> 296*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_GET_LINE">XML_GET_LINE</a>; 297*7c568831SAndroid Build Coastguard Worker</pre> 298*7c568831SAndroid Build Coastguard Worker<p>Macro to extract the line number of an element node.</p> 299*7c568831SAndroid Build Coastguard Worker</div> 300*7c568831SAndroid Build Coastguard Worker<hr> 301*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 302*7c568831SAndroid Build Coastguard Worker<h3> 303*7c568831SAndroid Build Coastguard Worker<a name="XML_LOCAL_NAMESPACE">Macro </a>XML_LOCAL_NAMESPACE</h3> 304*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_LOCAL_NAMESPACE">XML_LOCAL_NAMESPACE</a>; 305*7c568831SAndroid Build Coastguard Worker</pre> 306*7c568831SAndroid Build Coastguard Worker<p>A namespace declaration node.</p> 307*7c568831SAndroid Build Coastguard Worker</div> 308*7c568831SAndroid Build Coastguard Worker<hr> 309*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 310*7c568831SAndroid Build Coastguard Worker<h3> 311*7c568831SAndroid Build Coastguard Worker<a name="XML_XML_ID">Macro </a>XML_XML_ID</h3> 312*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_XML_ID">XML_XML_ID</a>; 313*7c568831SAndroid Build Coastguard Worker</pre> 314*7c568831SAndroid Build Coastguard Worker<p>This is the name for the special xml:id <a href="libxml2-SAX.html#attribute">attribute</a></p> 315*7c568831SAndroid Build Coastguard Worker</div> 316*7c568831SAndroid Build Coastguard Worker<hr> 317*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 318*7c568831SAndroid Build Coastguard Worker<h3> 319*7c568831SAndroid Build Coastguard Worker<a name="XML_XML_NAMESPACE">Macro </a>XML_XML_NAMESPACE</h3> 320*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_XML_NAMESPACE">XML_XML_NAMESPACE</a>; 321*7c568831SAndroid Build Coastguard Worker</pre> 322*7c568831SAndroid Build Coastguard Worker<p>This is the namespace for the special xml: prefix predefined in the XML Namespace specification.</p> 323*7c568831SAndroid Build Coastguard Worker</div> 324*7c568831SAndroid Build Coastguard Worker<hr> 325*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 326*7c568831SAndroid Build Coastguard Worker<h3> 327*7c568831SAndroid Build Coastguard Worker<a name="xmlChildrenNode">Macro </a>xmlChildrenNode</h3> 328*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlChildrenNode">xmlChildrenNode</a>; 329*7c568831SAndroid Build Coastguard Worker</pre> 330*7c568831SAndroid Build Coastguard Worker<p>Macro for compatibility naming layer with libxml1. Maps to "children."</p> 331*7c568831SAndroid Build Coastguard Worker</div> 332*7c568831SAndroid Build Coastguard Worker<hr> 333*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 334*7c568831SAndroid Build Coastguard Worker<h3> 335*7c568831SAndroid Build Coastguard Worker<a name="xmlRootNode">Macro </a>xmlRootNode</h3> 336*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#xmlRootNode">xmlRootNode</a>; 337*7c568831SAndroid Build Coastguard Worker</pre> 338*7c568831SAndroid Build Coastguard Worker<p>Macro for compatibility naming layer with libxml1. Maps to "children".</p> 339*7c568831SAndroid Build Coastguard Worker</div> 340*7c568831SAndroid Build Coastguard Worker<hr> 341*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 342*7c568831SAndroid Build Coastguard Worker<h3> 343*7c568831SAndroid Build Coastguard Worker<a name="xmlAttr">Structure </a>xmlAttr</h3> 344*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlAttr { 345*7c568831SAndroid Build Coastguard Worker void * _private : application data 346*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_ATTRIBUTE_NODE, must be second ! 347*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the name of the property 348*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : the value of the property 349*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : NULL 350*7c568831SAndroid Build Coastguard Worker struct _xmlNode * parent : child->parent link 351*7c568831SAndroid Build Coastguard Worker struct _xmlAttr * next : next sibling link 352*7c568831SAndroid Build Coastguard Worker struct _xmlAttr * prev : previous sibling link 353*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document 354*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNs">xmlNs</a> * ns : pointer to the associated namespace 355*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> atype : the <a href="libxml2-SAX.html#attribute">attribute</a> type if validating 356*7c568831SAndroid Build Coastguard Worker void * psvi : for type/PSVI information 357*7c568831SAndroid Build Coastguard Worker struct _xmlID * id : the ID struct 358*7c568831SAndroid Build Coastguard Worker} xmlAttr; 359*7c568831SAndroid Build Coastguard Worker</pre> 360*7c568831SAndroid Build Coastguard Worker<p></p> 361*7c568831SAndroid Build Coastguard Worker</div> 362*7c568831SAndroid Build Coastguard Worker<hr> 363*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 364*7c568831SAndroid Build Coastguard Worker<h3> 365*7c568831SAndroid Build Coastguard Worker<a name="xmlAttrPtr">Typedef </a>xmlAttrPtr</h3> 366*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttr">xmlAttr</a> * xmlAttrPtr; 367*7c568831SAndroid Build Coastguard Worker</pre> 368*7c568831SAndroid Build Coastguard Worker<p></p> 369*7c568831SAndroid Build Coastguard Worker</div> 370*7c568831SAndroid Build Coastguard Worker<hr> 371*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 372*7c568831SAndroid Build Coastguard Worker<h3> 373*7c568831SAndroid Build Coastguard Worker<a name="xmlAttribute">Structure </a>xmlAttribute</h3> 374*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlAttribute { 375*7c568831SAndroid Build Coastguard Worker void * _private : application data 376*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_ATTRIBUTE_DECL, must be second ! 377*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Attribute name 378*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : NULL 379*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : NULL 380*7c568831SAndroid Build Coastguard Worker struct _xmlDtd * parent : -> DTD 381*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 382*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 383*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document 384*7c568831SAndroid Build Coastguard Worker struct _xmlAttribute * nexth : next in hash table 385*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttributeType">xmlAttributeType</a> atype : The <a href="libxml2-SAX.html#attribute">attribute</a> type 386*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttributeDefault">xmlAttributeDefault</a> def : the default 387*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * defaultValue : or the default value 388*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a> tree : or the enumeration tree if any 389*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix : the namespace prefix if any 390*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * elem : Element holding the <a href="libxml2-SAX.html#attribute">attribute</a> 391*7c568831SAndroid Build Coastguard Worker} xmlAttribute; 392*7c568831SAndroid Build Coastguard Worker</pre> 393*7c568831SAndroid Build Coastguard Worker<p></p> 394*7c568831SAndroid Build Coastguard Worker</div> 395*7c568831SAndroid Build Coastguard Worker<hr> 396*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 397*7c568831SAndroid Build Coastguard Worker<h3> 398*7c568831SAndroid Build Coastguard Worker<a name="xmlAttributeDefault">Enum </a>xmlAttributeDefault</h3> 399*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlAttributeDefault">xmlAttributeDefault</a> { 400*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_NONE">XML_ATTRIBUTE_NONE</a> = 1 401*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_REQUIRED">XML_ATTRIBUTE_REQUIRED</a> = 2 402*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_IMPLIED">XML_ATTRIBUTE_IMPLIED</a> = 3 403*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_FIXED">XML_ATTRIBUTE_FIXED</a> = 4 404*7c568831SAndroid Build Coastguard Worker}; 405*7c568831SAndroid Build Coastguard Worker</pre> 406*7c568831SAndroid Build Coastguard Worker<p></p> 407*7c568831SAndroid Build Coastguard Worker</div> 408*7c568831SAndroid Build Coastguard Worker<hr> 409*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 410*7c568831SAndroid Build Coastguard Worker<h3> 411*7c568831SAndroid Build Coastguard Worker<a name="xmlAttributePtr">Typedef </a>xmlAttributePtr</h3> 412*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttribute">xmlAttribute</a> * xmlAttributePtr; 413*7c568831SAndroid Build Coastguard Worker</pre> 414*7c568831SAndroid Build Coastguard Worker<p></p> 415*7c568831SAndroid Build Coastguard Worker</div> 416*7c568831SAndroid Build Coastguard Worker<hr> 417*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 418*7c568831SAndroid Build Coastguard Worker<h3> 419*7c568831SAndroid Build Coastguard Worker<a name="xmlAttributeType">Enum </a>xmlAttributeType</h3> 420*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlAttributeType">xmlAttributeType</a> { 421*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_CDATA">XML_ATTRIBUTE_CDATA</a> = 1 422*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_ID">XML_ATTRIBUTE_ID</a> = 2 423*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_IDREF">XML_ATTRIBUTE_IDREF</a> = 3 424*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_IDREFS">XML_ATTRIBUTE_IDREFS</a> = 4 425*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_ENTITY">XML_ATTRIBUTE_ENTITY</a> = 5 426*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_ENTITIES">XML_ATTRIBUTE_ENTITIES</a> = 6 427*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_NMTOKEN">XML_ATTRIBUTE_NMTOKEN</a> = 7 428*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_NMTOKENS">XML_ATTRIBUTE_NMTOKENS</a> = 8 429*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_ENUMERATION">XML_ATTRIBUTE_ENUMERATION</a> = 9 430*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_NOTATION">XML_ATTRIBUTE_NOTATION</a> = 10 431*7c568831SAndroid Build Coastguard Worker}; 432*7c568831SAndroid Build Coastguard Worker</pre> 433*7c568831SAndroid Build Coastguard Worker<p></p> 434*7c568831SAndroid Build Coastguard Worker</div> 435*7c568831SAndroid Build Coastguard Worker<hr> 436*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 437*7c568831SAndroid Build Coastguard Worker<h3> 438*7c568831SAndroid Build Coastguard Worker<a name="xmlBuf">Structure </a>xmlBuf</h3> 439*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlBuf { 440*7c568831SAndroid Build Coastguard WorkerThe content of this structure is not made public by the API. 441*7c568831SAndroid Build Coastguard Worker} xmlBuf; 442*7c568831SAndroid Build Coastguard Worker</pre> 443*7c568831SAndroid Build Coastguard Worker<p></p> 444*7c568831SAndroid Build Coastguard Worker</div> 445*7c568831SAndroid Build Coastguard Worker<hr> 446*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 447*7c568831SAndroid Build Coastguard Worker<h3> 448*7c568831SAndroid Build Coastguard Worker<a name="xmlBufPtr">Typedef </a>xmlBufPtr</h3> 449*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBuf">xmlBuf</a> * xmlBufPtr; 450*7c568831SAndroid Build Coastguard Worker</pre> 451*7c568831SAndroid Build Coastguard Worker<p>A pointer to a buffer structure, the actual structure internals are not public</p> 452*7c568831SAndroid Build Coastguard Worker</div> 453*7c568831SAndroid Build Coastguard Worker<hr> 454*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 455*7c568831SAndroid Build Coastguard Worker<h3> 456*7c568831SAndroid Build Coastguard Worker<a name="xmlBuffer">Structure </a>xmlBuffer</h3> 457*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlBuffer { 458*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content : The buffer content UTF8 459*7c568831SAndroid Build Coastguard Worker unsigned int use : The buffer size used 460*7c568831SAndroid Build Coastguard Worker unsigned int size : The buffer size 461*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> alloc : The realloc method 462*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * contentIO : in IO mode we may have a different base 463*7c568831SAndroid Build Coastguard Worker} xmlBuffer; 464*7c568831SAndroid Build Coastguard Worker</pre> 465*7c568831SAndroid Build Coastguard Worker<p></p> 466*7c568831SAndroid Build Coastguard Worker</div> 467*7c568831SAndroid Build Coastguard Worker<hr> 468*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 469*7c568831SAndroid Build Coastguard Worker<h3> 470*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferAllocationScheme">Enum </a>xmlBufferAllocationScheme</h3> 471*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> { 472*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_DOUBLEIT">XML_BUFFER_ALLOC_DOUBLEIT</a> = 1 /* double each time one need to grow */ 473*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_EXACT">XML_BUFFER_ALLOC_EXACT</a> = 2 /* grow only to the minimal size */ 474*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_IMMUTABLE">XML_BUFFER_ALLOC_IMMUTABLE</a> = 3 /* immutable buffer, deprecated */ 475*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_IO">XML_BUFFER_ALLOC_IO</a> = 4 /* special allocation scheme used for I/O */ 476*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_HYBRID">XML_BUFFER_ALLOC_HYBRID</a> = 5 /* exact up to a threshold, and doubleit thereafter */ 477*7c568831SAndroid Build Coastguard Worker <a name="XML_BUFFER_ALLOC_BOUNDED">XML_BUFFER_ALLOC_BOUNDED</a> = 6 /* limit the upper size of the buffer */ 478*7c568831SAndroid Build Coastguard Worker}; 479*7c568831SAndroid Build Coastguard Worker</pre> 480*7c568831SAndroid Build Coastguard Worker<p></p> 481*7c568831SAndroid Build Coastguard Worker</div> 482*7c568831SAndroid Build Coastguard Worker<hr> 483*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 484*7c568831SAndroid Build Coastguard Worker<h3> 485*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferPtr">Typedef </a>xmlBufferPtr</h3> 486*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * xmlBufferPtr; 487*7c568831SAndroid Build Coastguard Worker</pre> 488*7c568831SAndroid Build Coastguard Worker<p></p> 489*7c568831SAndroid Build Coastguard Worker</div> 490*7c568831SAndroid Build Coastguard Worker<hr> 491*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 492*7c568831SAndroid Build Coastguard Worker<h3> 493*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapCtxt">Structure </a>xmlDOMWrapCtxt</h3> 494*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlDOMWrapCtxt { 495*7c568831SAndroid Build Coastguard Worker void * _private : * The type of this context, just in case we need specialized * context 496*7c568831SAndroid Build Coastguard Worker int type : * Internal namespace map used for various operations. * 497*7c568831SAndroid Build Coastguard Worker void * namespaceMap : * Use this one to acquire an <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> intended for node->ns. * (Note t 498*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlDOMWrapAcquireNsFunction">xmlDOMWrapAcquireNsFunction</a> getNsForNodeFunc 499*7c568831SAndroid Build Coastguard Worker} xmlDOMWrapCtxt; 500*7c568831SAndroid Build Coastguard Worker</pre> 501*7c568831SAndroid Build Coastguard Worker<p></p> 502*7c568831SAndroid Build Coastguard Worker</div> 503*7c568831SAndroid Build Coastguard Worker<hr> 504*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 505*7c568831SAndroid Build Coastguard Worker<h3> 506*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapCtxtPtr">Typedef </a>xmlDOMWrapCtxtPtr</h3> 507*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDOMWrapCtxt">xmlDOMWrapCtxt</a> * xmlDOMWrapCtxtPtr; 508*7c568831SAndroid Build Coastguard Worker</pre> 509*7c568831SAndroid Build Coastguard Worker<p></p> 510*7c568831SAndroid Build Coastguard Worker</div> 511*7c568831SAndroid Build Coastguard Worker<hr> 512*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 513*7c568831SAndroid Build Coastguard Worker<h3> 514*7c568831SAndroid Build Coastguard Worker<a name="xmlDoc">Structure </a>xmlDoc</h3> 515*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlDoc { 516*7c568831SAndroid Build Coastguard Worker void * _private : application data 517*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_DOCUMENT_NODE, must be second ! 518*7c568831SAndroid Build Coastguard Worker char * name : name/filename/URI of the document 519*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : the document tree 520*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : last child link 521*7c568831SAndroid Build Coastguard Worker struct _xmlNode * parent : child->parent link 522*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 523*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 524*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : autoreference to itself End of common part 525*7c568831SAndroid Build Coastguard Worker int compression : level of zlib compression 526*7c568831SAndroid Build Coastguard Worker int standalone : standalone document (no external refs) 1 if standalone="yes" 0 if sta 527*7c568831SAndroid Build Coastguard Worker struct _xmlDtd * intSubset : the document internal subset 528*7c568831SAndroid Build Coastguard Worker struct _xmlDtd * extSubset : the document external subset 529*7c568831SAndroid Build Coastguard Worker struct _xmlNs * oldNs : Global namespace, the old way 530*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version : the XML version string 531*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * encoding : actual encoding, if any 532*7c568831SAndroid Build Coastguard Worker void * ids : Hash table for ID attributes if any 533*7c568831SAndroid Build Coastguard Worker void * refs : Hash table for IDREFs attributes if any 534*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URL : The URI for that document 535*7c568831SAndroid Build Coastguard Worker int charset : unused 536*7c568831SAndroid Build Coastguard Worker struct _xmlDict * dict : dict used to allocate names or NULL 537*7c568831SAndroid Build Coastguard Worker void * psvi : for type/PSVI information 538*7c568831SAndroid Build Coastguard Worker int parseFlags : set of <a href="libxml2-parser.html#xmlParserOption">xmlParserOption</a> used to parse the document 539*7c568831SAndroid Build Coastguard Worker int properties : set of <a href="libxml2-tree.html#xmlDocProperties">xmlDocProperties</a> for this document set at the end of parsing 540*7c568831SAndroid Build Coastguard Worker} xmlDoc; 541*7c568831SAndroid Build Coastguard Worker</pre> 542*7c568831SAndroid Build Coastguard Worker<p></p> 543*7c568831SAndroid Build Coastguard Worker</div> 544*7c568831SAndroid Build Coastguard Worker<hr> 545*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 546*7c568831SAndroid Build Coastguard Worker<h3> 547*7c568831SAndroid Build Coastguard Worker<a name="xmlDocProperties">Enum </a>xmlDocProperties</h3> 548*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlDocProperties">xmlDocProperties</a> { 549*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_WELLFORMED">XML_DOC_WELLFORMED</a> = 1 /* document is XML well formed */ 550*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_NSVALID">XML_DOC_NSVALID</a> = 2 /* document is Namespace valid */ 551*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_OLD10">XML_DOC_OLD10</a> = 4 /* parsed with old XML-1.0 parser */ 552*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_DTDVALID">XML_DOC_DTDVALID</a> = 8 /* DTD validation was successful */ 553*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_XINCLUDE">XML_DOC_XINCLUDE</a> = 16 /* XInclude substitution was done */ 554*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_USERBUILT">XML_DOC_USERBUILT</a> = 32 /* Document was built using the API and not by parsing an instance */ 555*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_INTERNAL">XML_DOC_INTERNAL</a> = 64 /* built for internal processing */ 556*7c568831SAndroid Build Coastguard Worker <a name="XML_DOC_HTML">XML_DOC_HTML</a> = 128 /* parsed or built HTML document */ 557*7c568831SAndroid Build Coastguard Worker}; 558*7c568831SAndroid Build Coastguard Worker</pre> 559*7c568831SAndroid Build Coastguard Worker<p></p> 560*7c568831SAndroid Build Coastguard Worker</div> 561*7c568831SAndroid Build Coastguard Worker<hr> 562*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 563*7c568831SAndroid Build Coastguard Worker<h3> 564*7c568831SAndroid Build Coastguard Worker<a name="xmlDocPtr">Typedef </a>xmlDocPtr</h3> 565*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * xmlDocPtr; 566*7c568831SAndroid Build Coastguard Worker</pre> 567*7c568831SAndroid Build Coastguard Worker<p></p> 568*7c568831SAndroid Build Coastguard Worker</div> 569*7c568831SAndroid Build Coastguard Worker<hr> 570*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 571*7c568831SAndroid Build Coastguard Worker<h3> 572*7c568831SAndroid Build Coastguard Worker<a name="xmlDtd">Structure </a>xmlDtd</h3> 573*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlDtd { 574*7c568831SAndroid Build Coastguard Worker void * _private : application data 575*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_DTD_NODE, must be second ! 576*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Name of the DTD 577*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : the value of the property link 578*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : last child link 579*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * parent : child->parent link 580*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 581*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 582*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document End of common part 583*7c568831SAndroid Build Coastguard Worker void * notations : Hash table for notations if any 584*7c568831SAndroid Build Coastguard Worker void * elements : Hash table for elements if any 585*7c568831SAndroid Build Coastguard Worker void * attributes : Hash table for attributes if any 586*7c568831SAndroid Build Coastguard Worker void * entities : Hash table for entities if any 587*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID : External identifier for PUBLIC DTD 588*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID : URI for a SYSTEM or PUBLIC DTD 589*7c568831SAndroid Build Coastguard Worker void * pentities : Hash table for param entities if any 590*7c568831SAndroid Build Coastguard Worker} xmlDtd; 591*7c568831SAndroid Build Coastguard Worker</pre> 592*7c568831SAndroid Build Coastguard Worker<p></p> 593*7c568831SAndroid Build Coastguard Worker</div> 594*7c568831SAndroid Build Coastguard Worker<hr> 595*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 596*7c568831SAndroid Build Coastguard Worker<h3> 597*7c568831SAndroid Build Coastguard Worker<a name="xmlDtdPtr">Typedef </a>xmlDtdPtr</h3> 598*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDtd">xmlDtd</a> * xmlDtdPtr; 599*7c568831SAndroid Build Coastguard Worker</pre> 600*7c568831SAndroid Build Coastguard Worker<p></p> 601*7c568831SAndroid Build Coastguard Worker</div> 602*7c568831SAndroid Build Coastguard Worker<hr> 603*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 604*7c568831SAndroid Build Coastguard Worker<h3> 605*7c568831SAndroid Build Coastguard Worker<a name="xmlElement">Structure </a>xmlElement</h3> 606*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlElement { 607*7c568831SAndroid Build Coastguard Worker void * _private : application data 608*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_ELEMENT_DECL, must be second ! 609*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Element name 610*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : NULL 611*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : NULL 612*7c568831SAndroid Build Coastguard Worker struct _xmlDtd * parent : -> DTD 613*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 614*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 615*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document 616*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementTypeVal">xmlElementTypeVal</a> etype : The type 617*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementContentPtr">xmlElementContentPtr</a> content : the allowed element content 618*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttributePtr">xmlAttributePtr</a> attributes : List of the declared attributes 619*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix : the namespace prefix if any 620*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> contModel : the validating regexp 621*7c568831SAndroid Build Coastguard Worker void * contModel 622*7c568831SAndroid Build Coastguard Worker} xmlElement; 623*7c568831SAndroid Build Coastguard Worker</pre> 624*7c568831SAndroid Build Coastguard Worker<p></p> 625*7c568831SAndroid Build Coastguard Worker</div> 626*7c568831SAndroid Build Coastguard Worker<hr> 627*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 628*7c568831SAndroid Build Coastguard Worker<h3> 629*7c568831SAndroid Build Coastguard Worker<a name="xmlElementContent">Structure </a>xmlElementContent</h3> 630*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlElementContent { 631*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementContentType">xmlElementContentType</a> type : PCDATA, ELEMENT, SEQ or OR 632*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementContentOccur">xmlElementContentOccur</a> ocur : ONCE, OPT, MULT or PLUS 633*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Element name 634*7c568831SAndroid Build Coastguard Worker struct _xmlElementContent * c1 : first child 635*7c568831SAndroid Build Coastguard Worker struct _xmlElementContent * c2 : second child 636*7c568831SAndroid Build Coastguard Worker struct _xmlElementContent * parent : parent 637*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix : Namespace prefix 638*7c568831SAndroid Build Coastguard Worker} xmlElementContent; 639*7c568831SAndroid Build Coastguard Worker</pre> 640*7c568831SAndroid Build Coastguard Worker<p></p> 641*7c568831SAndroid Build Coastguard Worker</div> 642*7c568831SAndroid Build Coastguard Worker<hr> 643*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 644*7c568831SAndroid Build Coastguard Worker<h3> 645*7c568831SAndroid Build Coastguard Worker<a name="xmlElementContentOccur">Enum </a>xmlElementContentOccur</h3> 646*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlElementContentOccur">xmlElementContentOccur</a> { 647*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_ONCE">XML_ELEMENT_CONTENT_ONCE</a> = 1 648*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_OPT">XML_ELEMENT_CONTENT_OPT</a> = 2 649*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_MULT">XML_ELEMENT_CONTENT_MULT</a> = 3 650*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_PLUS">XML_ELEMENT_CONTENT_PLUS</a> = 4 651*7c568831SAndroid Build Coastguard Worker}; 652*7c568831SAndroid Build Coastguard Worker</pre> 653*7c568831SAndroid Build Coastguard Worker<p></p> 654*7c568831SAndroid Build Coastguard Worker</div> 655*7c568831SAndroid Build Coastguard Worker<hr> 656*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 657*7c568831SAndroid Build Coastguard Worker<h3> 658*7c568831SAndroid Build Coastguard Worker<a name="xmlElementContentPtr">Typedef </a>xmlElementContentPtr</h3> 659*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlElementContent">xmlElementContent</a> * xmlElementContentPtr; 660*7c568831SAndroid Build Coastguard Worker</pre> 661*7c568831SAndroid Build Coastguard Worker<p></p> 662*7c568831SAndroid Build Coastguard Worker</div> 663*7c568831SAndroid Build Coastguard Worker<hr> 664*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 665*7c568831SAndroid Build Coastguard Worker<h3> 666*7c568831SAndroid Build Coastguard Worker<a name="xmlElementContentType">Enum </a>xmlElementContentType</h3> 667*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlElementContentType">xmlElementContentType</a> { 668*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_PCDATA">XML_ELEMENT_CONTENT_PCDATA</a> = 1 669*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_ELEMENT">XML_ELEMENT_CONTENT_ELEMENT</a> = 2 670*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_SEQ">XML_ELEMENT_CONTENT_SEQ</a> = 3 671*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_CONTENT_OR">XML_ELEMENT_CONTENT_OR</a> = 4 672*7c568831SAndroid Build Coastguard Worker}; 673*7c568831SAndroid Build Coastguard Worker</pre> 674*7c568831SAndroid Build Coastguard Worker<p></p> 675*7c568831SAndroid Build Coastguard Worker</div> 676*7c568831SAndroid Build Coastguard Worker<hr> 677*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 678*7c568831SAndroid Build Coastguard Worker<h3> 679*7c568831SAndroid Build Coastguard Worker<a name="xmlElementPtr">Typedef </a>xmlElementPtr</h3> 680*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlElement">xmlElement</a> * xmlElementPtr; 681*7c568831SAndroid Build Coastguard Worker</pre> 682*7c568831SAndroid Build Coastguard Worker<p></p> 683*7c568831SAndroid Build Coastguard Worker</div> 684*7c568831SAndroid Build Coastguard Worker<hr> 685*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 686*7c568831SAndroid Build Coastguard Worker<h3> 687*7c568831SAndroid Build Coastguard Worker<a name="xmlElementType">Enum </a>xmlElementType</h3> 688*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlElementType">xmlElementType</a> { 689*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_NODE">XML_ELEMENT_NODE</a> = 1 690*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_NODE">XML_ATTRIBUTE_NODE</a> = 2 691*7c568831SAndroid Build Coastguard Worker <a name="XML_TEXT_NODE">XML_TEXT_NODE</a> = 3 692*7c568831SAndroid Build Coastguard Worker <a name="XML_CDATA_SECTION_NODE">XML_CDATA_SECTION_NODE</a> = 4 693*7c568831SAndroid Build Coastguard Worker <a name="XML_ENTITY_REF_NODE">XML_ENTITY_REF_NODE</a> = 5 694*7c568831SAndroid Build Coastguard Worker <a name="XML_ENTITY_NODE">XML_ENTITY_NODE</a> = 6 /* unused */ 695*7c568831SAndroid Build Coastguard Worker <a name="XML_PI_NODE">XML_PI_NODE</a> = 7 696*7c568831SAndroid Build Coastguard Worker <a name="XML_COMMENT_NODE">XML_COMMENT_NODE</a> = 8 697*7c568831SAndroid Build Coastguard Worker <a name="XML_DOCUMENT_NODE">XML_DOCUMENT_NODE</a> = 9 698*7c568831SAndroid Build Coastguard Worker <a name="XML_DOCUMENT_TYPE_NODE">XML_DOCUMENT_TYPE_NODE</a> = 10 /* unused */ 699*7c568831SAndroid Build Coastguard Worker <a name="XML_DOCUMENT_FRAG_NODE">XML_DOCUMENT_FRAG_NODE</a> = 11 700*7c568831SAndroid Build Coastguard Worker <a name="XML_NOTATION_NODE">XML_NOTATION_NODE</a> = 12 /* unused */ 701*7c568831SAndroid Build Coastguard Worker <a name="XML_HTML_DOCUMENT_NODE">XML_HTML_DOCUMENT_NODE</a> = 13 702*7c568831SAndroid Build Coastguard Worker <a name="XML_DTD_NODE">XML_DTD_NODE</a> = 14 703*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_DECL">XML_ELEMENT_DECL</a> = 15 704*7c568831SAndroid Build Coastguard Worker <a name="XML_ATTRIBUTE_DECL">XML_ATTRIBUTE_DECL</a> = 16 705*7c568831SAndroid Build Coastguard Worker <a name="XML_ENTITY_DECL">XML_ENTITY_DECL</a> = 17 706*7c568831SAndroid Build Coastguard Worker <a name="XML_NAMESPACE_DECL">XML_NAMESPACE_DECL</a> = 18 707*7c568831SAndroid Build Coastguard Worker <a name="XML_XINCLUDE_START">XML_XINCLUDE_START</a> = 19 708*7c568831SAndroid Build Coastguard Worker <a name="XML_XINCLUDE_END">XML_XINCLUDE_END</a> = 20 /* XML_DOCB_DOCUMENT_NODE= 21 removed */ 709*7c568831SAndroid Build Coastguard Worker}; 710*7c568831SAndroid Build Coastguard Worker</pre> 711*7c568831SAndroid Build Coastguard Worker<p></p> 712*7c568831SAndroid Build Coastguard Worker</div> 713*7c568831SAndroid Build Coastguard Worker<hr> 714*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 715*7c568831SAndroid Build Coastguard Worker<h3> 716*7c568831SAndroid Build Coastguard Worker<a name="xmlElementTypeVal">Enum </a>xmlElementTypeVal</h3> 717*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlElementTypeVal">xmlElementTypeVal</a> { 718*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_TYPE_UNDEFINED">XML_ELEMENT_TYPE_UNDEFINED</a> = 0 719*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_TYPE_EMPTY">XML_ELEMENT_TYPE_EMPTY</a> = 1 720*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_TYPE_ANY">XML_ELEMENT_TYPE_ANY</a> = 2 721*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_TYPE_MIXED">XML_ELEMENT_TYPE_MIXED</a> = 3 722*7c568831SAndroid Build Coastguard Worker <a name="XML_ELEMENT_TYPE_ELEMENT">XML_ELEMENT_TYPE_ELEMENT</a> = 4 723*7c568831SAndroid Build Coastguard Worker}; 724*7c568831SAndroid Build Coastguard Worker</pre> 725*7c568831SAndroid Build Coastguard Worker<p></p> 726*7c568831SAndroid Build Coastguard Worker</div> 727*7c568831SAndroid Build Coastguard Worker<hr> 728*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 729*7c568831SAndroid Build Coastguard Worker<h3> 730*7c568831SAndroid Build Coastguard Worker<a name="xmlEntity">Structure </a>xmlEntity</h3> 731*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlEntity { 732*7c568831SAndroid Build Coastguard Worker void * _private : application data 733*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : XML_ENTITY_DECL, must be second ! 734*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Entity name 735*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : First child link 736*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : Last child link 737*7c568831SAndroid Build Coastguard Worker struct _xmlDtd * parent : -> DTD 738*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 739*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 740*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document 741*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * orig : content without ref substitution 742*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content : content or ndata if unparsed 743*7c568831SAndroid Build Coastguard Worker int length : the content length 744*7c568831SAndroid Build Coastguard Worker <a href="libxml2-entities.html#xmlEntityType">xmlEntityType</a> etype : The entity type 745*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID : External identifier for PUBLIC 746*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID : URI for a SYSTEM or PUBLIC Entity 747*7c568831SAndroid Build Coastguard Worker struct _xmlEntity * nexte : unused 748*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI : the full URI as computed 749*7c568831SAndroid Build Coastguard Worker int owner : unused 750*7c568831SAndroid Build Coastguard Worker int flags : various flags 751*7c568831SAndroid Build Coastguard Worker unsigned long expandedSize : expanded size 752*7c568831SAndroid Build Coastguard Worker} xmlEntity; 753*7c568831SAndroid Build Coastguard Worker</pre> 754*7c568831SAndroid Build Coastguard Worker<p></p> 755*7c568831SAndroid Build Coastguard Worker</div> 756*7c568831SAndroid Build Coastguard Worker<hr> 757*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 758*7c568831SAndroid Build Coastguard Worker<h3> 759*7c568831SAndroid Build Coastguard Worker<a name="xmlEntityPtr">Typedef </a>xmlEntityPtr</h3> 760*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlEntity">xmlEntity</a> * xmlEntityPtr; 761*7c568831SAndroid Build Coastguard Worker</pre> 762*7c568831SAndroid Build Coastguard Worker<p></p> 763*7c568831SAndroid Build Coastguard Worker</div> 764*7c568831SAndroid Build Coastguard Worker<hr> 765*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 766*7c568831SAndroid Build Coastguard Worker<h3> 767*7c568831SAndroid Build Coastguard Worker<a name="xmlEnumeration">Structure </a>xmlEnumeration</h3> 768*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlEnumeration { 769*7c568831SAndroid Build Coastguard Worker struct _xmlEnumeration * next : next one 770*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Enumeration name 771*7c568831SAndroid Build Coastguard Worker} xmlEnumeration; 772*7c568831SAndroid Build Coastguard Worker</pre> 773*7c568831SAndroid Build Coastguard Worker<p></p> 774*7c568831SAndroid Build Coastguard Worker</div> 775*7c568831SAndroid Build Coastguard Worker<hr> 776*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 777*7c568831SAndroid Build Coastguard Worker<h3> 778*7c568831SAndroid Build Coastguard Worker<a name="xmlEnumerationPtr">Typedef </a>xmlEnumerationPtr</h3> 779*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlEnumeration">xmlEnumeration</a> * xmlEnumerationPtr; 780*7c568831SAndroid Build Coastguard Worker</pre> 781*7c568831SAndroid Build Coastguard Worker<p></p> 782*7c568831SAndroid Build Coastguard Worker</div> 783*7c568831SAndroid Build Coastguard Worker<hr> 784*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 785*7c568831SAndroid Build Coastguard Worker<h3> 786*7c568831SAndroid Build Coastguard Worker<a name="xmlID">Structure </a>xmlID</h3> 787*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlID { 788*7c568831SAndroid Build Coastguard Worker struct _xmlID * next : next ID 789*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value : The ID name 790*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr : The <a href="libxml2-SAX.html#attribute">attribute</a> holding it 791*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : The <a href="libxml2-SAX.html#attribute">attribute</a> if attr is not available 792*7c568831SAndroid Build Coastguard Worker int lineno : The line number if attr is not available 793*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : The document holding the ID 794*7c568831SAndroid Build Coastguard Worker} xmlID; 795*7c568831SAndroid Build Coastguard Worker</pre> 796*7c568831SAndroid Build Coastguard Worker<p></p> 797*7c568831SAndroid Build Coastguard Worker</div> 798*7c568831SAndroid Build Coastguard Worker<hr> 799*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 800*7c568831SAndroid Build Coastguard Worker<h3> 801*7c568831SAndroid Build Coastguard Worker<a name="xmlIDPtr">Typedef </a>xmlIDPtr</h3> 802*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlID">xmlID</a> * xmlIDPtr; 803*7c568831SAndroid Build Coastguard Worker</pre> 804*7c568831SAndroid Build Coastguard Worker<p></p> 805*7c568831SAndroid Build Coastguard Worker</div> 806*7c568831SAndroid Build Coastguard Worker<hr> 807*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 808*7c568831SAndroid Build Coastguard Worker<h3> 809*7c568831SAndroid Build Coastguard Worker<a name="xmlNode">Structure </a>xmlNode</h3> 810*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlNode { 811*7c568831SAndroid Build Coastguard Worker void * _private : application data 812*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlElementType">xmlElementType</a> type : type number, must be second ! 813*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the name of the node, or the entity 814*7c568831SAndroid Build Coastguard Worker struct _xmlNode * children : parent->childs link 815*7c568831SAndroid Build Coastguard Worker struct _xmlNode * last : last child link 816*7c568831SAndroid Build Coastguard Worker struct _xmlNode * parent : child->parent link 817*7c568831SAndroid Build Coastguard Worker struct _xmlNode * next : next sibling link 818*7c568831SAndroid Build Coastguard Worker struct _xmlNode * prev : previous sibling link 819*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * doc : the containing document End of common part 820*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNs">xmlNs</a> * ns : pointer to the associated namespace 821*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content : the content 822*7c568831SAndroid Build Coastguard Worker struct _xmlAttr * properties : properties list 823*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNs">xmlNs</a> * nsDef : namespace definitions on this node 824*7c568831SAndroid Build Coastguard Worker void * psvi : for type/PSVI information 825*7c568831SAndroid Build Coastguard Worker unsigned short line : line number 826*7c568831SAndroid Build Coastguard Worker unsigned short extra : extra data for XPath/XSLT 827*7c568831SAndroid Build Coastguard Worker} xmlNode; 828*7c568831SAndroid Build Coastguard Worker</pre> 829*7c568831SAndroid Build Coastguard Worker<p></p> 830*7c568831SAndroid Build Coastguard Worker</div> 831*7c568831SAndroid Build Coastguard Worker<hr> 832*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 833*7c568831SAndroid Build Coastguard Worker<h3> 834*7c568831SAndroid Build Coastguard Worker<a name="xmlNodePtr">Typedef </a>xmlNodePtr</h3> 835*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNode">xmlNode</a> * xmlNodePtr; 836*7c568831SAndroid Build Coastguard Worker</pre> 837*7c568831SAndroid Build Coastguard Worker<p></p> 838*7c568831SAndroid Build Coastguard Worker</div> 839*7c568831SAndroid Build Coastguard Worker<hr> 840*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 841*7c568831SAndroid Build Coastguard Worker<h3> 842*7c568831SAndroid Build Coastguard Worker<a name="xmlNotation">Structure </a>xmlNotation</h3> 843*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlNotation { 844*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Notation name 845*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * PublicID : Public identifier, if any 846*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID : System identifier, if any 847*7c568831SAndroid Build Coastguard Worker} xmlNotation; 848*7c568831SAndroid Build Coastguard Worker</pre> 849*7c568831SAndroid Build Coastguard Worker<p></p> 850*7c568831SAndroid Build Coastguard Worker</div> 851*7c568831SAndroid Build Coastguard Worker<hr> 852*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 853*7c568831SAndroid Build Coastguard Worker<h3> 854*7c568831SAndroid Build Coastguard Worker<a name="xmlNotationPtr">Typedef </a>xmlNotationPtr</h3> 855*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNotation">xmlNotation</a> * xmlNotationPtr; 856*7c568831SAndroid Build Coastguard Worker</pre> 857*7c568831SAndroid Build Coastguard Worker<p></p> 858*7c568831SAndroid Build Coastguard Worker</div> 859*7c568831SAndroid Build Coastguard Worker<hr> 860*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 861*7c568831SAndroid Build Coastguard Worker<h3> 862*7c568831SAndroid Build Coastguard Worker<a name="xmlNs">Structure </a>xmlNs</h3> 863*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlNs { 864*7c568831SAndroid Build Coastguard Worker struct _xmlNs * next : next Ns link for this node 865*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNsType">xmlNsType</a> type : global or local 866*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href : URL for the namespace 867*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix : prefix for the namespace 868*7c568831SAndroid Build Coastguard Worker void * _private : application data 869*7c568831SAndroid Build Coastguard Worker struct _xmlDoc * context : normally an <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> 870*7c568831SAndroid Build Coastguard Worker} xmlNs; 871*7c568831SAndroid Build Coastguard Worker</pre> 872*7c568831SAndroid Build Coastguard Worker<p></p> 873*7c568831SAndroid Build Coastguard Worker</div> 874*7c568831SAndroid Build Coastguard Worker<hr> 875*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 876*7c568831SAndroid Build Coastguard Worker<h3> 877*7c568831SAndroid Build Coastguard Worker<a name="xmlNsPtr">Typedef </a>xmlNsPtr</h3> 878*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNs">xmlNs</a> * xmlNsPtr; 879*7c568831SAndroid Build Coastguard Worker</pre> 880*7c568831SAndroid Build Coastguard Worker<p></p> 881*7c568831SAndroid Build Coastguard Worker</div> 882*7c568831SAndroid Build Coastguard Worker<hr> 883*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 884*7c568831SAndroid Build Coastguard Worker<h3> 885*7c568831SAndroid Build Coastguard Worker<a name="xmlNsType">Typedef </a>xmlNsType</h3> 886*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlElementType">xmlElementType</a> xmlNsType; 887*7c568831SAndroid Build Coastguard Worker</pre> 888*7c568831SAndroid Build Coastguard Worker<p></p> 889*7c568831SAndroid Build Coastguard Worker</div> 890*7c568831SAndroid Build Coastguard Worker<hr> 891*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 892*7c568831SAndroid Build Coastguard Worker<h3> 893*7c568831SAndroid Build Coastguard Worker<a name="xmlOutputBuffer">Structure </a>xmlOutputBuffer</h3> 894*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlOutputBuffer { 895*7c568831SAndroid Build Coastguard Worker void * context 896*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlIO.html#xmlOutputWriteCallback">xmlOutputWriteCallback</a> writecallback 897*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlIO.html#xmlOutputCloseCallback">xmlOutputCloseCallback</a> closecallback 898*7c568831SAndroid Build Coastguard Worker <a href="libxml2-encoding.html#xmlCharEncodingHandlerPtr">xmlCharEncodingHandlerPtr</a> encoder : I18N conversions to UTF-8 899*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buffer : Local buffer encoded in UTF-8 or ISOLatin 900*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> conv : if encoder != NULL buffer for output 901*7c568831SAndroid Build Coastguard Worker int written : total number of byte written 902*7c568831SAndroid Build Coastguard Worker int error 903*7c568831SAndroid Build Coastguard Worker} xmlOutputBuffer; 904*7c568831SAndroid Build Coastguard Worker</pre> 905*7c568831SAndroid Build Coastguard Worker<p></p> 906*7c568831SAndroid Build Coastguard Worker</div> 907*7c568831SAndroid Build Coastguard Worker<hr> 908*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 909*7c568831SAndroid Build Coastguard Worker<h3> 910*7c568831SAndroid Build Coastguard Worker<a name="xmlOutputBufferPtr">Typedef </a>xmlOutputBufferPtr</h3> 911*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlOutputBuffer">xmlOutputBuffer</a> * xmlOutputBufferPtr; 912*7c568831SAndroid Build Coastguard Worker</pre> 913*7c568831SAndroid Build Coastguard Worker<p></p> 914*7c568831SAndroid Build Coastguard Worker</div> 915*7c568831SAndroid Build Coastguard Worker<hr> 916*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 917*7c568831SAndroid Build Coastguard Worker<h3> 918*7c568831SAndroid Build Coastguard Worker<a name="xmlParserCtxt">Structure </a>xmlParserCtxt</h3> 919*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlParserCtxt { 920*7c568831SAndroid Build Coastguard Worker struct _xmlSAXHandler * sax : The SAX handler 921*7c568831SAndroid Build Coastguard Worker void * userData : For SAX interface only, used by DOM build 922*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> myDoc : the document being built 923*7c568831SAndroid Build Coastguard Worker int wellFormed : is the document well formed 924*7c568831SAndroid Build Coastguard Worker int replaceEntities : shall we replace entities ? 925*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version : the XML version string 926*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * encoding : the declared encoding, if any 927*7c568831SAndroid Build Coastguard Worker int standalone : standalone document 928*7c568831SAndroid Build Coastguard Worker int html : an HTML(1) document * 3 is HTML after <head> * 10 is HTML after <body 929*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> input : Current input stream 930*7c568831SAndroid Build Coastguard Worker int inputNr : Number of current input streams 931*7c568831SAndroid Build Coastguard Worker int inputMax : Max number of input streams 932*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> * inputTab : stack of inputs Node analysis stack only used for DOM building 933*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node : Current parsed Node 934*7c568831SAndroid Build Coastguard Worker int nodeNr : Depth of the parsing stack 935*7c568831SAndroid Build Coastguard Worker int nodeMax : Max depth of the parsing stack 936*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> * nodeTab : array of nodes 937*7c568831SAndroid Build Coastguard Worker int record_info : Whether node info should be kept 938*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserNodeInfoSeq">xmlParserNodeInfoSeq</a> node_seq : info about each node parsed 939*7c568831SAndroid Build Coastguard Worker int errNo : error code 940*7c568831SAndroid Build Coastguard Worker int hasExternalSubset : <a href="libxml2-SAX.html#reference">reference</a> and external subset 941*7c568831SAndroid Build Coastguard Worker int hasPErefs : the internal subset has PE refs 942*7c568831SAndroid Build Coastguard Worker int external : unused 943*7c568831SAndroid Build Coastguard Worker int valid : is the document valid 944*7c568831SAndroid Build Coastguard Worker int validate : shall we try to validate ? 945*7c568831SAndroid Build Coastguard Worker <a href="libxml2-valid.html#xmlValidCtxt">xmlValidCtxt</a> vctxt : The validity context 946*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserInputState">xmlParserInputState</a> instate : push parser state 947*7c568831SAndroid Build Coastguard Worker int token : unused 948*7c568831SAndroid Build Coastguard Worker char * directory : unused Node name stack 949*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : Current parsed Node 950*7c568831SAndroid Build Coastguard Worker int nameNr : Depth of the parsing stack 951*7c568831SAndroid Build Coastguard Worker int nameMax : Max depth of the parsing stack 952*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * * nameTab : array of nodes 953*7c568831SAndroid Build Coastguard Worker long nbChars : unused 954*7c568831SAndroid Build Coastguard Worker long checkIndex : used by progressive parsing lookup 955*7c568831SAndroid Build Coastguard Worker int keepBlanks : ugly but ... 956*7c568831SAndroid Build Coastguard Worker int disableSAX : SAX callbacks are disabled 957*7c568831SAndroid Build Coastguard Worker int inSubset : Parsing is in int 1/ext 2 subset 958*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * intSubName : name of subset 959*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * extSubURI : URI of external subset 960*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * extSubSystem : SYSTEM ID of external subset xml:space values 961*7c568831SAndroid Build Coastguard Worker int * space : Should the parser preserve spaces 962*7c568831SAndroid Build Coastguard Worker int spaceNr : Depth of the parsing stack 963*7c568831SAndroid Build Coastguard Worker int spaceMax : Max depth of the parsing stack 964*7c568831SAndroid Build Coastguard Worker int * spaceTab : array of space infos 965*7c568831SAndroid Build Coastguard Worker int depth : to prevent entity substitution loops 966*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> entity : unused 967*7c568831SAndroid Build Coastguard Worker int charset : unused 968*7c568831SAndroid Build Coastguard Worker int nodelen : Those two fields are there to 969*7c568831SAndroid Build Coastguard Worker int nodemem : Speed up large node parsing 970*7c568831SAndroid Build Coastguard Worker int pedantic : signal pedantic warnings 971*7c568831SAndroid Build Coastguard Worker void * _private : For user data, libxml won't touch it 972*7c568831SAndroid Build Coastguard Worker int loadsubset : should the external subset be loaded 973*7c568831SAndroid Build Coastguard Worker int linenumbers : set line number in element content 974*7c568831SAndroid Build Coastguard Worker void * catalogs : document's own catalog 975*7c568831SAndroid Build Coastguard Worker int recovery : run in recovery mode 976*7c568831SAndroid Build Coastguard Worker int progressive : unused 977*7c568831SAndroid Build Coastguard Worker <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict : dictionary for the parser 978*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * * atts : array for the attributes callbacks 979*7c568831SAndroid Build Coastguard Worker int maxatts : the size of the array 980*7c568831SAndroid Build Coastguard Worker int docdict : * pre-interned strings * 981*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str_xml 982*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str_xmlns 983*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str_xml_ns : * Everything below is used only by the new SAX mode * 984*7c568831SAndroid Build Coastguard Worker int sax2 : operating in the new SAX mode 985*7c568831SAndroid Build Coastguard Worker int nsNr : the number of inherited namespaces 986*7c568831SAndroid Build Coastguard Worker int nsMax : the size of the arrays 987*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * * nsTab : the array of prefix/namespace name 988*7c568831SAndroid Build Coastguard Worker unsigned * attallocs : which <a href="libxml2-SAX.html#attribute">attribute</a> were allocated 989*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlStartTag">xmlStartTag</a> * pushTab : array of data for push 990*7c568831SAndroid Build Coastguard Worker <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> attsDefault : defaulted attributes if any 991*7c568831SAndroid Build Coastguard Worker <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> attsSpecial : non-CDATA attributes if any 992*7c568831SAndroid Build Coastguard Worker int nsWellFormed : is the document XML Namespace okay 993*7c568831SAndroid Build Coastguard Worker int options : * Those fields are needed only for streaming parsing so far * 994*7c568831SAndroid Build Coastguard Worker int dictNames : Use dictionary names for the tree 995*7c568831SAndroid Build Coastguard Worker int freeElemsNr : number of freed element nodes 996*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> freeElems : List of freed element nodes 997*7c568831SAndroid Build Coastguard Worker int freeAttrsNr : number of freed attributes nodes 998*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> freeAttrs : * the complete error information for the last error. * 999*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlerror.html#xmlError">xmlError</a> lastError 1000*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserMode">xmlParserMode</a> parseMode : the parser mode 1001*7c568831SAndroid Build Coastguard Worker unsigned long nbentities : unused 1002*7c568831SAndroid Build Coastguard Worker unsigned long sizeentities : size of external entities for use by HTML non-recursive parser 1003*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserNodeInfo">xmlParserNodeInfo</a> * nodeInfo : Current NodeInfo 1004*7c568831SAndroid Build Coastguard Worker int nodeInfoNr : Depth of the parsing stack 1005*7c568831SAndroid Build Coastguard Worker int nodeInfoMax : Max depth of the parsing stack 1006*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserNodeInfo">xmlParserNodeInfo</a> * nodeInfoTab : array of nodeInfos 1007*7c568831SAndroid Build Coastguard Worker int input_id : we need to label inputs 1008*7c568831SAndroid Build Coastguard Worker unsigned long sizeentcopy : volume of entity copy 1009*7c568831SAndroid Build Coastguard Worker int endCheckState : quote state for push parser 1010*7c568831SAndroid Build Coastguard Worker unsigned short nbErrors : number of errors 1011*7c568831SAndroid Build Coastguard Worker unsigned short nbWarnings : number of warnings 1012*7c568831SAndroid Build Coastguard Worker unsigned maxAmpl : maximum amplification factor 1013*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserNsData">xmlParserNsData</a> * nsdb : namespace database 1014*7c568831SAndroid Build Coastguard Worker unsigned attrHashMax : allocated size 1015*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlAttrHashBucket">xmlAttrHashBucket</a> * attrHash : atttribute hash table 1016*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> errorHandler 1017*7c568831SAndroid Build Coastguard Worker void * errorCtxt 1018*7c568831SAndroid Build Coastguard Worker} xmlParserCtxt; 1019*7c568831SAndroid Build Coastguard Worker</pre> 1020*7c568831SAndroid Build Coastguard Worker<p></p> 1021*7c568831SAndroid Build Coastguard Worker</div> 1022*7c568831SAndroid Build Coastguard Worker<hr> 1023*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1024*7c568831SAndroid Build Coastguard Worker<h3> 1025*7c568831SAndroid Build Coastguard Worker<a name="xmlParserCtxtPtr">Typedef </a>xmlParserCtxtPtr</h3> 1026*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlParserCtxt">xmlParserCtxt</a> * xmlParserCtxtPtr; 1027*7c568831SAndroid Build Coastguard Worker</pre> 1028*7c568831SAndroid Build Coastguard Worker<p></p> 1029*7c568831SAndroid Build Coastguard Worker</div> 1030*7c568831SAndroid Build Coastguard Worker<hr> 1031*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1032*7c568831SAndroid Build Coastguard Worker<h3> 1033*7c568831SAndroid Build Coastguard Worker<a name="xmlParserInput">Structure </a>xmlParserInput</h3> 1034*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlParserInput { 1035*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> buf : UTF-8 encoded buffer 1036*7c568831SAndroid Build Coastguard Worker const char * filename : The file analyzed, if any 1037*7c568831SAndroid Build Coastguard Worker const char * directory : unused 1038*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * base : Base of the array to parse 1039*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur : Current char being parsed 1040*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * end : end of the array to parse 1041*7c568831SAndroid Build Coastguard Worker int length : unused 1042*7c568831SAndroid Build Coastguard Worker int line : Current line 1043*7c568831SAndroid Build Coastguard Worker int col : Current column 1044*7c568831SAndroid Build Coastguard Worker unsigned long consumed : How many xmlChars already consumed 1045*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#xmlParserInputDeallocate">xmlParserInputDeallocate</a> free : function to deallocate the base 1046*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * encoding : unused 1047*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version : the version string for entity 1048*7c568831SAndroid Build Coastguard Worker int flags : Flags 1049*7c568831SAndroid Build Coastguard Worker int id : an unique identifier for the entity 1050*7c568831SAndroid Build Coastguard Worker unsigned long parentConsumed : unused 1051*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlEntityPtr">xmlEntityPtr</a> entity : entity, if any 1052*7c568831SAndroid Build Coastguard Worker} xmlParserInput; 1053*7c568831SAndroid Build Coastguard Worker</pre> 1054*7c568831SAndroid Build Coastguard Worker<p></p> 1055*7c568831SAndroid Build Coastguard Worker</div> 1056*7c568831SAndroid Build Coastguard Worker<hr> 1057*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1058*7c568831SAndroid Build Coastguard Worker<h3> 1059*7c568831SAndroid Build Coastguard Worker<a name="xmlParserInputBuffer">Structure </a>xmlParserInputBuffer</h3> 1060*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlParserInputBuffer { 1061*7c568831SAndroid Build Coastguard Worker void * context 1062*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> readcallback 1063*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> closecallback 1064*7c568831SAndroid Build Coastguard Worker <a href="libxml2-encoding.html#xmlCharEncodingHandlerPtr">xmlCharEncodingHandlerPtr</a> encoder : I18N conversions to UTF-8 1065*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buffer : Local buffer encoded in UTF-8 1066*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> raw : if encoder != NULL buffer for raw input 1067*7c568831SAndroid Build Coastguard Worker int compressed : -1=unknown, 0=not compressed, 1=compressed 1068*7c568831SAndroid Build Coastguard Worker int error 1069*7c568831SAndroid Build Coastguard Worker unsigned long rawconsumed : amount consumed from raw 1070*7c568831SAndroid Build Coastguard Worker} xmlParserInputBuffer; 1071*7c568831SAndroid Build Coastguard Worker</pre> 1072*7c568831SAndroid Build Coastguard Worker<p></p> 1073*7c568831SAndroid Build Coastguard Worker</div> 1074*7c568831SAndroid Build Coastguard Worker<hr> 1075*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1076*7c568831SAndroid Build Coastguard Worker<h3> 1077*7c568831SAndroid Build Coastguard Worker<a name="xmlParserInputBufferPtr">Typedef </a>xmlParserInputBufferPtr</h3> 1078*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlParserInputBuffer">xmlParserInputBuffer</a> * xmlParserInputBufferPtr; 1079*7c568831SAndroid Build Coastguard Worker</pre> 1080*7c568831SAndroid Build Coastguard Worker<p></p> 1081*7c568831SAndroid Build Coastguard Worker</div> 1082*7c568831SAndroid Build Coastguard Worker<hr> 1083*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1084*7c568831SAndroid Build Coastguard Worker<h3> 1085*7c568831SAndroid Build Coastguard Worker<a name="xmlParserInputPtr">Typedef </a>xmlParserInputPtr</h3> 1086*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlParserInput">xmlParserInput</a> * xmlParserInputPtr; 1087*7c568831SAndroid Build Coastguard Worker</pre> 1088*7c568831SAndroid Build Coastguard Worker<p></p> 1089*7c568831SAndroid Build Coastguard Worker</div> 1090*7c568831SAndroid Build Coastguard Worker<hr> 1091*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1092*7c568831SAndroid Build Coastguard Worker<h3> 1093*7c568831SAndroid Build Coastguard Worker<a name="xmlRef">Structure </a>xmlRef</h3> 1094*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlRef { 1095*7c568831SAndroid Build Coastguard Worker struct _xmlRef * next : next Ref 1096*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value : The Ref name 1097*7c568831SAndroid Build Coastguard Worker <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr : The <a href="libxml2-SAX.html#attribute">attribute</a> holding it 1098*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : The <a href="libxml2-SAX.html#attribute">attribute</a> if attr is not available 1099*7c568831SAndroid Build Coastguard Worker int lineno : The line number if attr is not available 1100*7c568831SAndroid Build Coastguard Worker} xmlRef; 1101*7c568831SAndroid Build Coastguard Worker</pre> 1102*7c568831SAndroid Build Coastguard Worker<p></p> 1103*7c568831SAndroid Build Coastguard Worker</div> 1104*7c568831SAndroid Build Coastguard Worker<hr> 1105*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1106*7c568831SAndroid Build Coastguard Worker<h3> 1107*7c568831SAndroid Build Coastguard Worker<a name="xmlRefPtr">Typedef </a>xmlRefPtr</h3> 1108*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlRef">xmlRef</a> * xmlRefPtr; 1109*7c568831SAndroid Build Coastguard Worker</pre> 1110*7c568831SAndroid Build Coastguard Worker<p></p> 1111*7c568831SAndroid Build Coastguard Worker</div> 1112*7c568831SAndroid Build Coastguard Worker<hr> 1113*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1114*7c568831SAndroid Build Coastguard Worker<h3> 1115*7c568831SAndroid Build Coastguard Worker<a name="xmlSAXHandler">Structure </a>xmlSAXHandler</h3> 1116*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlSAXHandler { 1117*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#internalSubsetSAXFunc">internalSubsetSAXFunc</a> internalSubset 1118*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#isStandaloneSAXFunc">isStandaloneSAXFunc</a> isStandalone 1119*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#hasInternalSubsetSAXFunc">hasInternalSubsetSAXFunc</a> hasInternalSubset 1120*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#hasExternalSubsetSAXFunc">hasExternalSubsetSAXFunc</a> hasExternalSubset 1121*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#resolveEntitySAXFunc">resolveEntitySAXFunc</a> resolveEntity 1122*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#getEntitySAXFunc">getEntitySAXFunc</a> getEntity 1123*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#entityDeclSAXFunc">entityDeclSAXFunc</a> entityDecl 1124*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#notationDeclSAXFunc">notationDeclSAXFunc</a> notationDecl 1125*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#attributeDeclSAXFunc">attributeDeclSAXFunc</a> attributeDecl 1126*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#elementDeclSAXFunc">elementDeclSAXFunc</a> elementDecl 1127*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#unparsedEntityDeclSAXFunc">unparsedEntityDeclSAXFunc</a> unparsedEntityDecl 1128*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#setDocumentLocatorSAXFunc">setDocumentLocatorSAXFunc</a> setDocumentLocator 1129*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#startDocumentSAXFunc">startDocumentSAXFunc</a> startDocument 1130*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#endDocumentSAXFunc">endDocumentSAXFunc</a> endDocument : * `startElement` and `endElement` are only used by the legacy SAX1 * i 1131*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#startElementSAXFunc">startElementSAXFunc</a> startElement 1132*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#endElementSAXFunc">endElementSAXFunc</a> endElement 1133*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#referenceSAXFunc">referenceSAXFunc</a> reference 1134*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#charactersSAXFunc">charactersSAXFunc</a> characters 1135*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#ignorableWhitespaceSAXFunc">ignorableWhitespaceSAXFunc</a> ignorableWhitespace 1136*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#processingInstructionSAXFunc">processingInstructionSAXFunc</a> processingInstruction 1137*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#commentSAXFunc">commentSAXFunc</a> comment 1138*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#warningSAXFunc">warningSAXFunc</a> warning 1139*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#errorSAXFunc">errorSAXFunc</a> error 1140*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#fatalErrorSAXFunc">fatalErrorSAXFunc</a> fatalError : unused error() get all the errors 1141*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#getParameterEntitySAXFunc">getParameterEntitySAXFunc</a> getParameterEntity 1142*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#cdataBlockSAXFunc">cdataBlockSAXFunc</a> cdataBlock 1143*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#externalSubsetSAXFunc">externalSubsetSAXFunc</a> externalSubset : * `initialized` should always be set to <a href="libxml2-parser.html#XML_SAX2_MAGIC">XML_SAX2_MAGIC</a> to enable the * 1144*7c568831SAndroid Build Coastguard Worker unsigned int initialized : * The following members are only used by the SAX2 interface. * 1145*7c568831SAndroid Build Coastguard Worker void * _private 1146*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#startElementNsSAX2Func">startElementNsSAX2Func</a> startElementNs 1147*7c568831SAndroid Build Coastguard Worker <a href="libxml2-parser.html#endElementNsSAX2Func">endElementNsSAX2Func</a> endElementNs 1148*7c568831SAndroid Build Coastguard Worker <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror 1149*7c568831SAndroid Build Coastguard Worker} xmlSAXHandler; 1150*7c568831SAndroid Build Coastguard Worker</pre> 1151*7c568831SAndroid Build Coastguard Worker<p></p> 1152*7c568831SAndroid Build Coastguard Worker</div> 1153*7c568831SAndroid Build Coastguard Worker<hr> 1154*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1155*7c568831SAndroid Build Coastguard Worker<h3> 1156*7c568831SAndroid Build Coastguard Worker<a name="xmlSAXHandlerPtr">Typedef </a>xmlSAXHandlerPtr</h3> 1157*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlSAXHandler">xmlSAXHandler</a> * xmlSAXHandlerPtr; 1158*7c568831SAndroid Build Coastguard Worker</pre> 1159*7c568831SAndroid Build Coastguard Worker<p></p> 1160*7c568831SAndroid Build Coastguard Worker</div> 1161*7c568831SAndroid Build Coastguard Worker<hr> 1162*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1163*7c568831SAndroid Build Coastguard Worker<h3> 1164*7c568831SAndroid Build Coastguard Worker<a name="xmlSAXLocator">Structure </a>xmlSAXLocator</h3> 1165*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlSAXLocator { 1166*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *(*getPublicId) getPublicId 1167*7c568831SAndroid Build Coastguard Worker const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *(*getSystemId) getSystemId 1168*7c568831SAndroid Build Coastguard Worker int(*getLineNumber) getLineNumber 1169*7c568831SAndroid Build Coastguard Worker int(*getColumnNumber) getColumnNumber 1170*7c568831SAndroid Build Coastguard Worker} xmlSAXLocator; 1171*7c568831SAndroid Build Coastguard Worker</pre> 1172*7c568831SAndroid Build Coastguard Worker<p></p> 1173*7c568831SAndroid Build Coastguard Worker</div> 1174*7c568831SAndroid Build Coastguard Worker<hr> 1175*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1176*7c568831SAndroid Build Coastguard Worker<h3> 1177*7c568831SAndroid Build Coastguard Worker<a name="xmlSAXLocatorPtr">Typedef </a>xmlSAXLocatorPtr</h3> 1178*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlSAXLocator">xmlSAXLocator</a> * xmlSAXLocatorPtr; 1179*7c568831SAndroid Build Coastguard Worker</pre> 1180*7c568831SAndroid Build Coastguard Worker<p></p> 1181*7c568831SAndroid Build Coastguard Worker</div> 1182*7c568831SAndroid Build Coastguard Worker<hr> 1183*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1184*7c568831SAndroid Build Coastguard Worker<h3> 1185*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapAcquireNsFunction"></a>Function type xmlDOMWrapAcquireNsFunction</h3> 1186*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlDOMWrapAcquireNsFunction (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsName, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsPrefix)<br> 1187*7c568831SAndroid Build Coastguard Worker</pre> 1188*7c568831SAndroid Build Coastguard Worker<p>A function called to acquire namespaces (xmlNs) from the wrapper.</p> 1189*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1190*7c568831SAndroid Build Coastguard Worker<col align="left"> 1191*7c568831SAndroid Build Coastguard Worker<tbody> 1192*7c568831SAndroid Build Coastguard Worker<tr> 1193*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 1194*7c568831SAndroid Build Coastguard Worker<td>a DOM wrapper context</td> 1195*7c568831SAndroid Build Coastguard Worker</tr> 1196*7c568831SAndroid Build Coastguard Worker<tr> 1197*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1198*7c568831SAndroid Build Coastguard Worker<td>the context node (element or attribute)</td> 1199*7c568831SAndroid Build Coastguard Worker</tr> 1200*7c568831SAndroid Build Coastguard Worker<tr> 1201*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nsName</tt></i>:</span></td> 1202*7c568831SAndroid Build Coastguard Worker<td>the requested namespace name</td> 1203*7c568831SAndroid Build Coastguard Worker</tr> 1204*7c568831SAndroid Build Coastguard Worker<tr> 1205*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nsPrefix</tt></i>:</span></td> 1206*7c568831SAndroid Build Coastguard Worker<td>the requested namespace prefix</td> 1207*7c568831SAndroid Build Coastguard Worker</tr> 1208*7c568831SAndroid Build Coastguard Worker<tr> 1209*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1210*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> or NULL in case of an error.</td> 1211*7c568831SAndroid Build Coastguard Worker</tr> 1212*7c568831SAndroid Build Coastguard Worker</tbody> 1213*7c568831SAndroid Build Coastguard Worker</table></div> 1214*7c568831SAndroid Build Coastguard Worker</div> 1215*7c568831SAndroid Build Coastguard Worker<hr> 1216*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1217*7c568831SAndroid Build Coastguard Worker<h3> 1218*7c568831SAndroid Build Coastguard Worker<a name="xmlDeregisterNodeFunc"></a>Function type xmlDeregisterNodeFunc</h3> 1219*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDeregisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 1220*7c568831SAndroid Build Coastguard Worker</pre> 1221*7c568831SAndroid Build Coastguard Worker<p>Signature for the deregistration callback of a discarded node</p> 1222*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1223*7c568831SAndroid Build Coastguard Worker<col align="left"> 1224*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1225*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1226*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 1227*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1228*7c568831SAndroid Build Coastguard Worker</table></div> 1229*7c568831SAndroid Build Coastguard Worker</div> 1230*7c568831SAndroid Build Coastguard Worker<hr> 1231*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1232*7c568831SAndroid Build Coastguard Worker<h3> 1233*7c568831SAndroid Build Coastguard Worker<a name="xmlRegisterNodeFunc"></a>Function type xmlRegisterNodeFunc</h3> 1234*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlRegisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 1235*7c568831SAndroid Build Coastguard Worker</pre> 1236*7c568831SAndroid Build Coastguard Worker<p>Signature for the registration callback of a created node</p> 1237*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1238*7c568831SAndroid Build Coastguard Worker<col align="left"> 1239*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1240*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1241*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 1242*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1243*7c568831SAndroid Build Coastguard Worker</table></div> 1244*7c568831SAndroid Build Coastguard Worker</div> 1245*7c568831SAndroid Build Coastguard Worker<hr> 1246*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1247*7c568831SAndroid Build Coastguard Worker<h3> 1248*7c568831SAndroid Build Coastguard Worker<a name="xmlAddChild"></a>xmlAddChild ()</h3> 1249*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlAddChild (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1250*7c568831SAndroid Build Coastguard Worker</pre> 1251*7c568831SAndroid Build Coastguard Worker<p>Unlink @cur and append it to the children of @parent. If @cur is a text node, it may be merged with an adjacent text node and freed. In this case the text node containing the merged content is returned. If @cur is an <a href="libxml2-SAX.html#attribute">attribute</a> node, it is appended to the attributes of @parent. If the <a href="libxml2-SAX.html#attribute">attribute</a> list contains an <a href="libxml2-SAX.html#attribute">attribute</a> with a name matching @elem, the old <a href="libxml2-SAX.html#attribute">attribute</a> is destroyed. General notes: Move operations like <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a> can cause element or <a href="libxml2-SAX.html#attribute">attribute</a> nodes to <a href="libxml2-SAX.html#reference">reference</a> namespaces that aren't declared in one of their ancestors. This can lead to use-after-free errors if the elements containing the declarations are freed later, especially when moving nodes from one document to another. You should consider calling <a href="libxml2-tree.html#xmlReconciliateNs">xmlReconciliateNs</a> after a move operation to normalize namespaces. Another option is to call <a href="libxml2-tree.html#xmlDOMWrapAdoptNode">xmlDOMWrapAdoptNode</a> with the target parent before moving a node. For the most part, move operations don't check whether the resulting tree structure is valid. Users must make sure that parent nodes only receive children of valid types. Inserted child nodes must never be an ancestor of the parent node to avoid cycles in the tree structure. In general, only document, document fragments, elements and attributes should be used as parent nodes. When moving a node between documents and a memory allocation fails, the node's content will be corrupted and it will be unlinked. In this case, the node must be freed manually. Moving DTDs between documents isn't supported.</p> 1252*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1253*7c568831SAndroid Build Coastguard Worker<col align="left"> 1254*7c568831SAndroid Build Coastguard Worker<tbody> 1255*7c568831SAndroid Build Coastguard Worker<tr> 1256*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 1257*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 1258*7c568831SAndroid Build Coastguard Worker</tr> 1259*7c568831SAndroid Build Coastguard Worker<tr> 1260*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1261*7c568831SAndroid Build Coastguard Worker<td>the child node</td> 1262*7c568831SAndroid Build Coastguard Worker</tr> 1263*7c568831SAndroid Build Coastguard Worker<tr> 1264*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1265*7c568831SAndroid Build Coastguard Worker<td>@elem or a sibling if @elem was merged. Returns NULL if arguments are invalid or a memory allocation failed.</td> 1266*7c568831SAndroid Build Coastguard Worker</tr> 1267*7c568831SAndroid Build Coastguard Worker</tbody> 1268*7c568831SAndroid Build Coastguard Worker</table></div> 1269*7c568831SAndroid Build Coastguard Worker</div> 1270*7c568831SAndroid Build Coastguard Worker<hr> 1271*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1272*7c568831SAndroid Build Coastguard Worker<h3> 1273*7c568831SAndroid Build Coastguard Worker<a name="xmlAddChildList"></a>xmlAddChildList ()</h3> 1274*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlAddChildList (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1275*7c568831SAndroid Build Coastguard Worker</pre> 1276*7c568831SAndroid Build Coastguard Worker<p>Append a node list to another node. See <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a>.</p> 1277*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1278*7c568831SAndroid Build Coastguard Worker<col align="left"> 1279*7c568831SAndroid Build Coastguard Worker<tbody> 1280*7c568831SAndroid Build Coastguard Worker<tr> 1281*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 1282*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 1283*7c568831SAndroid Build Coastguard Worker</tr> 1284*7c568831SAndroid Build Coastguard Worker<tr> 1285*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1286*7c568831SAndroid Build Coastguard Worker<td>the first node in the list</td> 1287*7c568831SAndroid Build Coastguard Worker</tr> 1288*7c568831SAndroid Build Coastguard Worker<tr> 1289*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1290*7c568831SAndroid Build Coastguard Worker<td>the last child or NULL in case of error.</td> 1291*7c568831SAndroid Build Coastguard Worker</tr> 1292*7c568831SAndroid Build Coastguard Worker</tbody> 1293*7c568831SAndroid Build Coastguard Worker</table></div> 1294*7c568831SAndroid Build Coastguard Worker</div> 1295*7c568831SAndroid Build Coastguard Worker<hr> 1296*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1297*7c568831SAndroid Build Coastguard Worker<h3> 1298*7c568831SAndroid Build Coastguard Worker<a name="xmlAddNextSibling"></a>xmlAddNextSibling ()</h3> 1299*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlAddNextSibling (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> prev, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1300*7c568831SAndroid Build Coastguard Worker</pre> 1301*7c568831SAndroid Build Coastguard Worker<p>Unlinks @cur and inserts it as next sibling after @prev. Unlike <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a> this function does not merge text nodes. If @cur is an <a href="libxml2-SAX.html#attribute">attribute</a> node, it is inserted after <a href="libxml2-SAX.html#attribute">attribute</a> @prev. If the <a href="libxml2-SAX.html#attribute">attribute</a> list contains an <a href="libxml2-SAX.html#attribute">attribute</a> with a name matching @cur, the old <a href="libxml2-SAX.html#attribute">attribute</a> is destroyed. See the notes in <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a>.</p> 1302*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1303*7c568831SAndroid Build Coastguard Worker<col align="left"> 1304*7c568831SAndroid Build Coastguard Worker<tbody> 1305*7c568831SAndroid Build Coastguard Worker<tr> 1306*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prev</tt></i>:</span></td> 1307*7c568831SAndroid Build Coastguard Worker<td>the target node</td> 1308*7c568831SAndroid Build Coastguard Worker</tr> 1309*7c568831SAndroid Build Coastguard Worker<tr> 1310*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1311*7c568831SAndroid Build Coastguard Worker<td>the new node</td> 1312*7c568831SAndroid Build Coastguard Worker</tr> 1313*7c568831SAndroid Build Coastguard Worker<tr> 1314*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1315*7c568831SAndroid Build Coastguard Worker<td>@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.</td> 1316*7c568831SAndroid Build Coastguard Worker</tr> 1317*7c568831SAndroid Build Coastguard Worker</tbody> 1318*7c568831SAndroid Build Coastguard Worker</table></div> 1319*7c568831SAndroid Build Coastguard Worker</div> 1320*7c568831SAndroid Build Coastguard Worker<hr> 1321*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1322*7c568831SAndroid Build Coastguard Worker<h3> 1323*7c568831SAndroid Build Coastguard Worker<a name="xmlAddPrevSibling"></a>xmlAddPrevSibling ()</h3> 1324*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlAddPrevSibling (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> next, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1325*7c568831SAndroid Build Coastguard Worker</pre> 1326*7c568831SAndroid Build Coastguard Worker<p>Unlinks @cur and inserts it as previous sibling before @next. Unlike <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a> this function does not merge text nodes. If @cur is an <a href="libxml2-SAX.html#attribute">attribute</a> node, it is inserted before <a href="libxml2-SAX.html#attribute">attribute</a> @next. If the <a href="libxml2-SAX.html#attribute">attribute</a> list contains an <a href="libxml2-SAX.html#attribute">attribute</a> with a name matching @cur, the old <a href="libxml2-SAX.html#attribute">attribute</a> is destroyed. See the notes in <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a>.</p> 1327*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1328*7c568831SAndroid Build Coastguard Worker<col align="left"> 1329*7c568831SAndroid Build Coastguard Worker<tbody> 1330*7c568831SAndroid Build Coastguard Worker<tr> 1331*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>next</tt></i>:</span></td> 1332*7c568831SAndroid Build Coastguard Worker<td>the target node</td> 1333*7c568831SAndroid Build Coastguard Worker</tr> 1334*7c568831SAndroid Build Coastguard Worker<tr> 1335*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1336*7c568831SAndroid Build Coastguard Worker<td>the new node</td> 1337*7c568831SAndroid Build Coastguard Worker</tr> 1338*7c568831SAndroid Build Coastguard Worker<tr> 1339*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1340*7c568831SAndroid Build Coastguard Worker<td>@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.</td> 1341*7c568831SAndroid Build Coastguard Worker</tr> 1342*7c568831SAndroid Build Coastguard Worker</tbody> 1343*7c568831SAndroid Build Coastguard Worker</table></div> 1344*7c568831SAndroid Build Coastguard Worker</div> 1345*7c568831SAndroid Build Coastguard Worker<hr> 1346*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1347*7c568831SAndroid Build Coastguard Worker<h3> 1348*7c568831SAndroid Build Coastguard Worker<a name="xmlAddSibling"></a>xmlAddSibling ()</h3> 1349*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlAddSibling (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 1350*7c568831SAndroid Build Coastguard Worker</pre> 1351*7c568831SAndroid Build Coastguard Worker<p>Unlinks @cur and inserts it as last sibling of @node. If @cur is a text node, it may be merged with an adjacent text node and freed. In this case the text node containing the merged content is returned. If @cur is an <a href="libxml2-SAX.html#attribute">attribute</a> node, it is appended to the <a href="libxml2-SAX.html#attribute">attribute</a> list containing @node. If the <a href="libxml2-SAX.html#attribute">attribute</a> list contains an <a href="libxml2-SAX.html#attribute">attribute</a> with a name matching @cur, the old <a href="libxml2-SAX.html#attribute">attribute</a> is destroyed. See the notes in <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a>.</p> 1352*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1353*7c568831SAndroid Build Coastguard Worker<col align="left"> 1354*7c568831SAndroid Build Coastguard Worker<tbody> 1355*7c568831SAndroid Build Coastguard Worker<tr> 1356*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 1357*7c568831SAndroid Build Coastguard Worker<td>the target node</td> 1358*7c568831SAndroid Build Coastguard Worker</tr> 1359*7c568831SAndroid Build Coastguard Worker<tr> 1360*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1361*7c568831SAndroid Build Coastguard Worker<td>the new node</td> 1362*7c568831SAndroid Build Coastguard Worker</tr> 1363*7c568831SAndroid Build Coastguard Worker<tr> 1364*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1365*7c568831SAndroid Build Coastguard Worker<td>@cur or a sibling if @cur was merged. Returns NULL if arguments are invalid or a memory allocation failed.</td> 1366*7c568831SAndroid Build Coastguard Worker</tr> 1367*7c568831SAndroid Build Coastguard Worker</tbody> 1368*7c568831SAndroid Build Coastguard Worker</table></div> 1369*7c568831SAndroid Build Coastguard Worker</div> 1370*7c568831SAndroid Build Coastguard Worker<hr> 1371*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1372*7c568831SAndroid Build Coastguard Worker<h3> 1373*7c568831SAndroid Build Coastguard Worker<a name="xmlAttrSerializeTxtContent"></a>xmlAttrSerializeTxtContent ()</h3> 1374*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlAttrSerializeTxtContent (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> attr, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string)<br> 1375*7c568831SAndroid Build Coastguard Worker</pre> 1376*7c568831SAndroid Build Coastguard Worker<p>Serialize text <a href="libxml2-SAX.html#attribute">attribute</a> values to an xml simple buffer</p> 1377*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1378*7c568831SAndroid Build Coastguard Worker<col align="left"> 1379*7c568831SAndroid Build Coastguard Worker<tbody> 1380*7c568831SAndroid Build Coastguard Worker<tr> 1381*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1382*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 1383*7c568831SAndroid Build Coastguard Worker</tr> 1384*7c568831SAndroid Build Coastguard Worker<tr> 1385*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 1386*7c568831SAndroid Build Coastguard Worker<td>the document</td> 1387*7c568831SAndroid Build Coastguard Worker</tr> 1388*7c568831SAndroid Build Coastguard Worker<tr> 1389*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>attr</tt></i>:</span></td> 1390*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> node</td> 1391*7c568831SAndroid Build Coastguard Worker</tr> 1392*7c568831SAndroid Build Coastguard Worker<tr> 1393*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>string</tt></i>:</span></td> 1394*7c568831SAndroid Build Coastguard Worker<td>the text content</td> 1395*7c568831SAndroid Build Coastguard Worker</tr> 1396*7c568831SAndroid Build Coastguard Worker</tbody> 1397*7c568831SAndroid Build Coastguard Worker</table></div> 1398*7c568831SAndroid Build Coastguard Worker</div> 1399*7c568831SAndroid Build Coastguard Worker<hr> 1400*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1401*7c568831SAndroid Build Coastguard Worker<h3> 1402*7c568831SAndroid Build Coastguard Worker<a name="xmlBufContent"></a>xmlBufContent ()</h3> 1403*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlBufContent (const <a href="libxml2-tree.html#xmlBuf">xmlBuf</a> * buf)<br> 1404*7c568831SAndroid Build Coastguard Worker</pre> 1405*7c568831SAndroid Build Coastguard Worker<p>Function to extract the content of a buffer</p> 1406*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1407*7c568831SAndroid Build Coastguard Worker<col align="left"> 1408*7c568831SAndroid Build Coastguard Worker<tbody> 1409*7c568831SAndroid Build Coastguard Worker<tr> 1410*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1411*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1412*7c568831SAndroid Build Coastguard Worker</tr> 1413*7c568831SAndroid Build Coastguard Worker<tr> 1414*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1415*7c568831SAndroid Build Coastguard Worker<td>the internal content</td> 1416*7c568831SAndroid Build Coastguard Worker</tr> 1417*7c568831SAndroid Build Coastguard Worker</tbody> 1418*7c568831SAndroid Build Coastguard Worker</table></div> 1419*7c568831SAndroid Build Coastguard Worker</div> 1420*7c568831SAndroid Build Coastguard Worker<hr> 1421*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1422*7c568831SAndroid Build Coastguard Worker<h3> 1423*7c568831SAndroid Build Coastguard Worker<a name="xmlBufEnd"></a>xmlBufEnd ()</h3> 1424*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlBufEnd (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf)<br> 1425*7c568831SAndroid Build Coastguard Worker</pre> 1426*7c568831SAndroid Build Coastguard Worker<p>Function to extract the end of the content of a buffer</p> 1427*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1428*7c568831SAndroid Build Coastguard Worker<col align="left"> 1429*7c568831SAndroid Build Coastguard Worker<tbody> 1430*7c568831SAndroid Build Coastguard Worker<tr> 1431*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1432*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1433*7c568831SAndroid Build Coastguard Worker</tr> 1434*7c568831SAndroid Build Coastguard Worker<tr> 1435*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1436*7c568831SAndroid Build Coastguard Worker<td>the end of the internal content or NULL in case of error</td> 1437*7c568831SAndroid Build Coastguard Worker</tr> 1438*7c568831SAndroid Build Coastguard Worker</tbody> 1439*7c568831SAndroid Build Coastguard Worker</table></div> 1440*7c568831SAndroid Build Coastguard Worker</div> 1441*7c568831SAndroid Build Coastguard Worker<hr> 1442*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1443*7c568831SAndroid Build Coastguard Worker<h3> 1444*7c568831SAndroid Build Coastguard Worker<a name="xmlBufGetNodeContent"></a>xmlBufGetNodeContent ()</h3> 1445*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufGetNodeContent (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 1446*7c568831SAndroid Build Coastguard Worker</pre> 1447*7c568831SAndroid Build Coastguard Worker<p>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</p> 1448*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1449*7c568831SAndroid Build Coastguard Worker<col align="left"> 1450*7c568831SAndroid Build Coastguard Worker<tbody> 1451*7c568831SAndroid Build Coastguard Worker<tr> 1452*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1453*7c568831SAndroid Build Coastguard Worker<td>a buffer <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> 1454*7c568831SAndroid Build Coastguard Worker</td> 1455*7c568831SAndroid Build Coastguard Worker</tr> 1456*7c568831SAndroid Build Coastguard Worker<tr> 1457*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1458*7c568831SAndroid Build Coastguard Worker<td>the node being read</td> 1459*7c568831SAndroid Build Coastguard Worker</tr> 1460*7c568831SAndroid Build Coastguard Worker<tr> 1461*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1462*7c568831SAndroid Build Coastguard Worker<td>0 in case of success and -1 in case of error.</td> 1463*7c568831SAndroid Build Coastguard Worker</tr> 1464*7c568831SAndroid Build Coastguard Worker</tbody> 1465*7c568831SAndroid Build Coastguard Worker</table></div> 1466*7c568831SAndroid Build Coastguard Worker</div> 1467*7c568831SAndroid Build Coastguard Worker<hr> 1468*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1469*7c568831SAndroid Build Coastguard Worker<h3> 1470*7c568831SAndroid Build Coastguard Worker<a name="xmlBufNodeDump"></a>xmlBufNodeDump ()</h3> 1471*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">size_t xmlBufNodeDump (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format)<br> 1472*7c568831SAndroid Build Coastguard Worker</pre> 1473*7c568831SAndroid Build Coastguard Worker<p>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</p> 1474*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1475*7c568831SAndroid Build Coastguard Worker<col align="left"> 1476*7c568831SAndroid Build Coastguard Worker<tbody> 1477*7c568831SAndroid Build Coastguard Worker<tr> 1478*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1479*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 1480*7c568831SAndroid Build Coastguard Worker</tr> 1481*7c568831SAndroid Build Coastguard Worker<tr> 1482*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 1483*7c568831SAndroid Build Coastguard Worker<td>the document</td> 1484*7c568831SAndroid Build Coastguard Worker</tr> 1485*7c568831SAndroid Build Coastguard Worker<tr> 1486*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 1487*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 1488*7c568831SAndroid Build Coastguard Worker</tr> 1489*7c568831SAndroid Build Coastguard Worker<tr> 1490*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>level</tt></i>:</span></td> 1491*7c568831SAndroid Build Coastguard Worker<td>the imbrication level for indenting</td> 1492*7c568831SAndroid Build Coastguard Worker</tr> 1493*7c568831SAndroid Build Coastguard Worker<tr> 1494*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 1495*7c568831SAndroid Build Coastguard Worker<td>is formatting allowed</td> 1496*7c568831SAndroid Build Coastguard Worker</tr> 1497*7c568831SAndroid Build Coastguard Worker<tr> 1498*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1499*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written to the buffer, in case of error 0 is returned or @buf stores the error</td> 1500*7c568831SAndroid Build Coastguard Worker</tr> 1501*7c568831SAndroid Build Coastguard Worker</tbody> 1502*7c568831SAndroid Build Coastguard Worker</table></div> 1503*7c568831SAndroid Build Coastguard Worker</div> 1504*7c568831SAndroid Build Coastguard Worker<hr> 1505*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1506*7c568831SAndroid Build Coastguard Worker<h3> 1507*7c568831SAndroid Build Coastguard Worker<a name="xmlBufShrink"></a>xmlBufShrink ()</h3> 1508*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">size_t xmlBufShrink (<a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf, <br> size_t len)<br> 1509*7c568831SAndroid Build Coastguard Worker</pre> 1510*7c568831SAndroid Build Coastguard Worker<p>Remove the beginning of an XML buffer. NOTE that this routine behaviour differs from xmlBufferShrink() as it will return 0 on error instead of -1 due to size_t being used as the return type.</p> 1511*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1512*7c568831SAndroid Build Coastguard Worker<col align="left"> 1513*7c568831SAndroid Build Coastguard Worker<tbody> 1514*7c568831SAndroid Build Coastguard Worker<tr> 1515*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1516*7c568831SAndroid Build Coastguard Worker<td>the buffer to dump</td> 1517*7c568831SAndroid Build Coastguard Worker</tr> 1518*7c568831SAndroid Build Coastguard Worker<tr> 1519*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 1520*7c568831SAndroid Build Coastguard Worker<td>the number of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> to remove</td> 1521*7c568831SAndroid Build Coastguard Worker</tr> 1522*7c568831SAndroid Build Coastguard Worker<tr> 1523*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1524*7c568831SAndroid Build Coastguard Worker<td>the number of byte removed or 0 in case of failure</td> 1525*7c568831SAndroid Build Coastguard Worker</tr> 1526*7c568831SAndroid Build Coastguard Worker</tbody> 1527*7c568831SAndroid Build Coastguard Worker</table></div> 1528*7c568831SAndroid Build Coastguard Worker</div> 1529*7c568831SAndroid Build Coastguard Worker<hr> 1530*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1531*7c568831SAndroid Build Coastguard Worker<h3> 1532*7c568831SAndroid Build Coastguard Worker<a name="xmlBufUse"></a>xmlBufUse ()</h3> 1533*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">size_t xmlBufUse (const <a href="libxml2-tree.html#xmlBufPtr">xmlBufPtr</a> buf)<br> 1534*7c568831SAndroid Build Coastguard Worker</pre> 1535*7c568831SAndroid Build Coastguard Worker<p>Function to get the length of a buffer</p> 1536*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1537*7c568831SAndroid Build Coastguard Worker<col align="left"> 1538*7c568831SAndroid Build Coastguard Worker<tbody> 1539*7c568831SAndroid Build Coastguard Worker<tr> 1540*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1541*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1542*7c568831SAndroid Build Coastguard Worker</tr> 1543*7c568831SAndroid Build Coastguard Worker<tr> 1544*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1545*7c568831SAndroid Build Coastguard Worker<td>the length of data in the internal content</td> 1546*7c568831SAndroid Build Coastguard Worker</tr> 1547*7c568831SAndroid Build Coastguard Worker</tbody> 1548*7c568831SAndroid Build Coastguard Worker</table></div> 1549*7c568831SAndroid Build Coastguard Worker</div> 1550*7c568831SAndroid Build Coastguard Worker<hr> 1551*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1552*7c568831SAndroid Build Coastguard Worker<h3> 1553*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferAdd"></a>xmlBufferAdd ()</h3> 1554*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferAdd (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> int len)<br> 1555*7c568831SAndroid Build Coastguard Worker</pre> 1556*7c568831SAndroid Build Coastguard Worker<p>Add a string range to an XML buffer. if len == -1, the length of str is recomputed.</p> 1557*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1558*7c568831SAndroid Build Coastguard Worker<col align="left"> 1559*7c568831SAndroid Build Coastguard Worker<tbody> 1560*7c568831SAndroid Build Coastguard Worker<tr> 1561*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1562*7c568831SAndroid Build Coastguard Worker<td>the buffer to dump</td> 1563*7c568831SAndroid Build Coastguard Worker</tr> 1564*7c568831SAndroid Build Coastguard Worker<tr> 1565*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 1566*7c568831SAndroid Build Coastguard Worker<td>the #xmlChar string</td> 1567*7c568831SAndroid Build Coastguard Worker</tr> 1568*7c568831SAndroid Build Coastguard Worker<tr> 1569*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 1570*7c568831SAndroid Build Coastguard Worker<td>the number of #xmlChar to add</td> 1571*7c568831SAndroid Build Coastguard Worker</tr> 1572*7c568831SAndroid Build Coastguard Worker<tr> 1573*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1574*7c568831SAndroid Build Coastguard Worker<td>0 successful, a positive error code number otherwise and -1 in case of internal or API error.</td> 1575*7c568831SAndroid Build Coastguard Worker</tr> 1576*7c568831SAndroid Build Coastguard Worker</tbody> 1577*7c568831SAndroid Build Coastguard Worker</table></div> 1578*7c568831SAndroid Build Coastguard Worker</div> 1579*7c568831SAndroid Build Coastguard Worker<hr> 1580*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1581*7c568831SAndroid Build Coastguard Worker<h3> 1582*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferAddHead"></a>xmlBufferAddHead ()</h3> 1583*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferAddHead (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br> int len)<br> 1584*7c568831SAndroid Build Coastguard Worker</pre> 1585*7c568831SAndroid Build Coastguard Worker<p>Add a string range to the beginning of an XML buffer. if len == -1, the length of @str is recomputed.</p> 1586*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1587*7c568831SAndroid Build Coastguard Worker<col align="left"> 1588*7c568831SAndroid Build Coastguard Worker<tbody> 1589*7c568831SAndroid Build Coastguard Worker<tr> 1590*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1591*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1592*7c568831SAndroid Build Coastguard Worker</tr> 1593*7c568831SAndroid Build Coastguard Worker<tr> 1594*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 1595*7c568831SAndroid Build Coastguard Worker<td>the #xmlChar string</td> 1596*7c568831SAndroid Build Coastguard Worker</tr> 1597*7c568831SAndroid Build Coastguard Worker<tr> 1598*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 1599*7c568831SAndroid Build Coastguard Worker<td>the number of #xmlChar to add</td> 1600*7c568831SAndroid Build Coastguard Worker</tr> 1601*7c568831SAndroid Build Coastguard Worker<tr> 1602*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1603*7c568831SAndroid Build Coastguard Worker<td>0 successful, a positive error code number otherwise and -1 in case of internal or API error.</td> 1604*7c568831SAndroid Build Coastguard Worker</tr> 1605*7c568831SAndroid Build Coastguard Worker</tbody> 1606*7c568831SAndroid Build Coastguard Worker</table></div> 1607*7c568831SAndroid Build Coastguard Worker</div> 1608*7c568831SAndroid Build Coastguard Worker<hr> 1609*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1610*7c568831SAndroid Build Coastguard Worker<h3> 1611*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferCCat"></a>xmlBufferCCat ()</h3> 1612*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferCCat (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const char * str)<br> 1613*7c568831SAndroid Build Coastguard Worker</pre> 1614*7c568831SAndroid Build Coastguard Worker<p>Append a zero terminated C string to an XML buffer.</p> 1615*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1616*7c568831SAndroid Build Coastguard Worker<col align="left"> 1617*7c568831SAndroid Build Coastguard Worker<tbody> 1618*7c568831SAndroid Build Coastguard Worker<tr> 1619*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1620*7c568831SAndroid Build Coastguard Worker<td>the buffer to dump</td> 1621*7c568831SAndroid Build Coastguard Worker</tr> 1622*7c568831SAndroid Build Coastguard Worker<tr> 1623*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 1624*7c568831SAndroid Build Coastguard Worker<td>the C char string</td> 1625*7c568831SAndroid Build Coastguard Worker</tr> 1626*7c568831SAndroid Build Coastguard Worker<tr> 1627*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1628*7c568831SAndroid Build Coastguard Worker<td>0 successful, a positive error code number otherwise and -1 in case of internal or API error.</td> 1629*7c568831SAndroid Build Coastguard Worker</tr> 1630*7c568831SAndroid Build Coastguard Worker</tbody> 1631*7c568831SAndroid Build Coastguard Worker</table></div> 1632*7c568831SAndroid Build Coastguard Worker</div> 1633*7c568831SAndroid Build Coastguard Worker<hr> 1634*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1635*7c568831SAndroid Build Coastguard Worker<h3> 1636*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferCat"></a>xmlBufferCat ()</h3> 1637*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferCat (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br> 1638*7c568831SAndroid Build Coastguard Worker</pre> 1639*7c568831SAndroid Build Coastguard Worker<p>Append a zero terminated string to an XML buffer.</p> 1640*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1641*7c568831SAndroid Build Coastguard Worker<col align="left"> 1642*7c568831SAndroid Build Coastguard Worker<tbody> 1643*7c568831SAndroid Build Coastguard Worker<tr> 1644*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1645*7c568831SAndroid Build Coastguard Worker<td>the buffer to add to</td> 1646*7c568831SAndroid Build Coastguard Worker</tr> 1647*7c568831SAndroid Build Coastguard Worker<tr> 1648*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>str</tt></i>:</span></td> 1649*7c568831SAndroid Build Coastguard Worker<td>the #xmlChar string</td> 1650*7c568831SAndroid Build Coastguard Worker</tr> 1651*7c568831SAndroid Build Coastguard Worker<tr> 1652*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1653*7c568831SAndroid Build Coastguard Worker<td>0 successful, a positive error code number otherwise and -1 in case of internal or API error.</td> 1654*7c568831SAndroid Build Coastguard Worker</tr> 1655*7c568831SAndroid Build Coastguard Worker</tbody> 1656*7c568831SAndroid Build Coastguard Worker</table></div> 1657*7c568831SAndroid Build Coastguard Worker</div> 1658*7c568831SAndroid Build Coastguard Worker<hr> 1659*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1660*7c568831SAndroid Build Coastguard Worker<h3> 1661*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferContent"></a>xmlBufferContent ()</h3> 1662*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlBufferContent (const <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * buf)<br> 1663*7c568831SAndroid Build Coastguard Worker</pre> 1664*7c568831SAndroid Build Coastguard Worker<p>Function to extract the content of a buffer</p> 1665*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1666*7c568831SAndroid Build Coastguard Worker<col align="left"> 1667*7c568831SAndroid Build Coastguard Worker<tbody> 1668*7c568831SAndroid Build Coastguard Worker<tr> 1669*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1670*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1671*7c568831SAndroid Build Coastguard Worker</tr> 1672*7c568831SAndroid Build Coastguard Worker<tr> 1673*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1674*7c568831SAndroid Build Coastguard Worker<td>the internal content</td> 1675*7c568831SAndroid Build Coastguard Worker</tr> 1676*7c568831SAndroid Build Coastguard Worker</tbody> 1677*7c568831SAndroid Build Coastguard Worker</table></div> 1678*7c568831SAndroid Build Coastguard Worker</div> 1679*7c568831SAndroid Build Coastguard Worker<hr> 1680*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1681*7c568831SAndroid Build Coastguard Worker<h3> 1682*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferCreate"></a>xmlBufferCreate ()</h3> 1683*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> xmlBufferCreate (void)<br> 1684*7c568831SAndroid Build Coastguard Worker</pre> 1685*7c568831SAndroid Build Coastguard Worker<p>routine to create an XML buffer.</p> 1686*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1687*7c568831SAndroid Build Coastguard Worker<col align="left"> 1688*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1689*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1690*7c568831SAndroid Build Coastguard Worker<td>the new structure.</td> 1691*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1692*7c568831SAndroid Build Coastguard Worker</table></div> 1693*7c568831SAndroid Build Coastguard Worker</div> 1694*7c568831SAndroid Build Coastguard Worker<hr> 1695*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1696*7c568831SAndroid Build Coastguard Worker<h3> 1697*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferCreateSize"></a>xmlBufferCreateSize ()</h3> 1698*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> xmlBufferCreateSize (size_t size)<br> 1699*7c568831SAndroid Build Coastguard Worker</pre> 1700*7c568831SAndroid Build Coastguard Worker<p>routine to create an XML buffer.</p> 1701*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1702*7c568831SAndroid Build Coastguard Worker<col align="left"> 1703*7c568831SAndroid Build Coastguard Worker<tbody> 1704*7c568831SAndroid Build Coastguard Worker<tr> 1705*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>size</tt></i>:</span></td> 1706*7c568831SAndroid Build Coastguard Worker<td>initial size of buffer</td> 1707*7c568831SAndroid Build Coastguard Worker</tr> 1708*7c568831SAndroid Build Coastguard Worker<tr> 1709*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1710*7c568831SAndroid Build Coastguard Worker<td>the new structure.</td> 1711*7c568831SAndroid Build Coastguard Worker</tr> 1712*7c568831SAndroid Build Coastguard Worker</tbody> 1713*7c568831SAndroid Build Coastguard Worker</table></div> 1714*7c568831SAndroid Build Coastguard Worker</div> 1715*7c568831SAndroid Build Coastguard Worker<hr> 1716*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1717*7c568831SAndroid Build Coastguard Worker<h3> 1718*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferCreateStatic"></a>xmlBufferCreateStatic ()</h3> 1719*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> xmlBufferCreateStatic (void * mem, <br> size_t size)<br> 1720*7c568831SAndroid Build Coastguard Worker</pre> 1721*7c568831SAndroid Build Coastguard Worker<p></p> 1722*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1723*7c568831SAndroid Build Coastguard Worker<col align="left"> 1724*7c568831SAndroid Build Coastguard Worker<tbody> 1725*7c568831SAndroid Build Coastguard Worker<tr> 1726*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>mem</tt></i>:</span></td> 1727*7c568831SAndroid Build Coastguard Worker<td>the memory area</td> 1728*7c568831SAndroid Build Coastguard Worker</tr> 1729*7c568831SAndroid Build Coastguard Worker<tr> 1730*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>size</tt></i>:</span></td> 1731*7c568831SAndroid Build Coastguard Worker<td>the size in byte</td> 1732*7c568831SAndroid Build Coastguard Worker</tr> 1733*7c568831SAndroid Build Coastguard Worker<tr> 1734*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1735*7c568831SAndroid Build Coastguard Worker<td>an XML buffer initialized with bytes.</td> 1736*7c568831SAndroid Build Coastguard Worker</tr> 1737*7c568831SAndroid Build Coastguard Worker</tbody> 1738*7c568831SAndroid Build Coastguard Worker</table></div> 1739*7c568831SAndroid Build Coastguard Worker</div> 1740*7c568831SAndroid Build Coastguard Worker<hr> 1741*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1742*7c568831SAndroid Build Coastguard Worker<h3> 1743*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferDetach"></a>xmlBufferDetach ()</h3> 1744*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlBufferDetach (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf)<br> 1745*7c568831SAndroid Build Coastguard Worker</pre> 1746*7c568831SAndroid Build Coastguard Worker<p>Remove the string contained in a buffer and gie it back to the caller. The buffer is reset to an empty content. This doesn't work with immutable buffers as they can't be reset.</p> 1747*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1748*7c568831SAndroid Build Coastguard Worker<col align="left"> 1749*7c568831SAndroid Build Coastguard Worker<tbody> 1750*7c568831SAndroid Build Coastguard Worker<tr> 1751*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1752*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1753*7c568831SAndroid Build Coastguard Worker</tr> 1754*7c568831SAndroid Build Coastguard Worker<tr> 1755*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1756*7c568831SAndroid Build Coastguard Worker<td>the previous string contained by the buffer.</td> 1757*7c568831SAndroid Build Coastguard Worker</tr> 1758*7c568831SAndroid Build Coastguard Worker</tbody> 1759*7c568831SAndroid Build Coastguard Worker</table></div> 1760*7c568831SAndroid Build Coastguard Worker</div> 1761*7c568831SAndroid Build Coastguard Worker<hr> 1762*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1763*7c568831SAndroid Build Coastguard Worker<h3> 1764*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferDump"></a>xmlBufferDump ()</h3> 1765*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferDump (FILE * file, <br> <a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf)<br> 1766*7c568831SAndroid Build Coastguard Worker</pre> 1767*7c568831SAndroid Build Coastguard Worker<p>Dumps an XML buffer to a FILE *.</p> 1768*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1769*7c568831SAndroid Build Coastguard Worker<col align="left"> 1770*7c568831SAndroid Build Coastguard Worker<tbody> 1771*7c568831SAndroid Build Coastguard Worker<tr> 1772*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>file</tt></i>:</span></td> 1773*7c568831SAndroid Build Coastguard Worker<td>the file output</td> 1774*7c568831SAndroid Build Coastguard Worker</tr> 1775*7c568831SAndroid Build Coastguard Worker<tr> 1776*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1777*7c568831SAndroid Build Coastguard Worker<td>the buffer to dump</td> 1778*7c568831SAndroid Build Coastguard Worker</tr> 1779*7c568831SAndroid Build Coastguard Worker<tr> 1780*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1781*7c568831SAndroid Build Coastguard Worker<td>the number of #xmlChar written</td> 1782*7c568831SAndroid Build Coastguard Worker</tr> 1783*7c568831SAndroid Build Coastguard Worker</tbody> 1784*7c568831SAndroid Build Coastguard Worker</table></div> 1785*7c568831SAndroid Build Coastguard Worker</div> 1786*7c568831SAndroid Build Coastguard Worker<hr> 1787*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1788*7c568831SAndroid Build Coastguard Worker<h3> 1789*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferEmpty"></a>xmlBufferEmpty ()</h3> 1790*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferEmpty (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf)<br> 1791*7c568831SAndroid Build Coastguard Worker</pre> 1792*7c568831SAndroid Build Coastguard Worker<p>empty a buffer.</p> 1793*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1794*7c568831SAndroid Build Coastguard Worker<col align="left"> 1795*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1796*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1797*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1798*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1799*7c568831SAndroid Build Coastguard Worker</table></div> 1800*7c568831SAndroid Build Coastguard Worker</div> 1801*7c568831SAndroid Build Coastguard Worker<hr> 1802*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1803*7c568831SAndroid Build Coastguard Worker<h3> 1804*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferFree"></a>xmlBufferFree ()</h3> 1805*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferFree (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf)<br> 1806*7c568831SAndroid Build Coastguard Worker</pre> 1807*7c568831SAndroid Build Coastguard Worker<p>Frees an XML buffer. It frees both the content and the structure which encapsulate it.</p> 1808*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1809*7c568831SAndroid Build Coastguard Worker<col align="left"> 1810*7c568831SAndroid Build Coastguard Worker<tbody><tr> 1811*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1812*7c568831SAndroid Build Coastguard Worker<td>the buffer to free</td> 1813*7c568831SAndroid Build Coastguard Worker</tr></tbody> 1814*7c568831SAndroid Build Coastguard Worker</table></div> 1815*7c568831SAndroid Build Coastguard Worker</div> 1816*7c568831SAndroid Build Coastguard Worker<hr> 1817*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1818*7c568831SAndroid Build Coastguard Worker<h3> 1819*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferGrow"></a>xmlBufferGrow ()</h3> 1820*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferGrow (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int len)<br> 1821*7c568831SAndroid Build Coastguard Worker</pre> 1822*7c568831SAndroid Build Coastguard Worker<p>Grow the available space of an XML buffer.</p> 1823*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1824*7c568831SAndroid Build Coastguard Worker<col align="left"> 1825*7c568831SAndroid Build Coastguard Worker<tbody> 1826*7c568831SAndroid Build Coastguard Worker<tr> 1827*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1828*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1829*7c568831SAndroid Build Coastguard Worker</tr> 1830*7c568831SAndroid Build Coastguard Worker<tr> 1831*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 1832*7c568831SAndroid Build Coastguard Worker<td>the minimum free size to allocate</td> 1833*7c568831SAndroid Build Coastguard Worker</tr> 1834*7c568831SAndroid Build Coastguard Worker<tr> 1835*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1836*7c568831SAndroid Build Coastguard Worker<td>the new available space or -1 in case of error</td> 1837*7c568831SAndroid Build Coastguard Worker</tr> 1838*7c568831SAndroid Build Coastguard Worker</tbody> 1839*7c568831SAndroid Build Coastguard Worker</table></div> 1840*7c568831SAndroid Build Coastguard Worker</div> 1841*7c568831SAndroid Build Coastguard Worker<hr> 1842*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1843*7c568831SAndroid Build Coastguard Worker<h3> 1844*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferLength"></a>xmlBufferLength ()</h3> 1845*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferLength (const <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> * buf)<br> 1846*7c568831SAndroid Build Coastguard Worker</pre> 1847*7c568831SAndroid Build Coastguard Worker<p>Function to get the length of a buffer</p> 1848*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1849*7c568831SAndroid Build Coastguard Worker<col align="left"> 1850*7c568831SAndroid Build Coastguard Worker<tbody> 1851*7c568831SAndroid Build Coastguard Worker<tr> 1852*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1853*7c568831SAndroid Build Coastguard Worker<td>the buffer</td> 1854*7c568831SAndroid Build Coastguard Worker</tr> 1855*7c568831SAndroid Build Coastguard Worker<tr> 1856*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1857*7c568831SAndroid Build Coastguard Worker<td>the length of data in the internal content</td> 1858*7c568831SAndroid Build Coastguard Worker</tr> 1859*7c568831SAndroid Build Coastguard Worker</tbody> 1860*7c568831SAndroid Build Coastguard Worker</table></div> 1861*7c568831SAndroid Build Coastguard Worker</div> 1862*7c568831SAndroid Build Coastguard Worker<hr> 1863*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1864*7c568831SAndroid Build Coastguard Worker<h3> 1865*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferResize"></a>xmlBufferResize ()</h3> 1866*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferResize (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int size)<br> 1867*7c568831SAndroid Build Coastguard Worker</pre> 1868*7c568831SAndroid Build Coastguard Worker<p>Resize a buffer to accommodate minimum size of @size.</p> 1869*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1870*7c568831SAndroid Build Coastguard Worker<col align="left"> 1871*7c568831SAndroid Build Coastguard Worker<tbody> 1872*7c568831SAndroid Build Coastguard Worker<tr> 1873*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1874*7c568831SAndroid Build Coastguard Worker<td>the buffer to resize</td> 1875*7c568831SAndroid Build Coastguard Worker</tr> 1876*7c568831SAndroid Build Coastguard Worker<tr> 1877*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>size</tt></i>:</span></td> 1878*7c568831SAndroid Build Coastguard Worker<td>the desired size</td> 1879*7c568831SAndroid Build Coastguard Worker</tr> 1880*7c568831SAndroid Build Coastguard Worker<tr> 1881*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1882*7c568831SAndroid Build Coastguard Worker<td>0 in case of problems, 1 otherwise</td> 1883*7c568831SAndroid Build Coastguard Worker</tr> 1884*7c568831SAndroid Build Coastguard Worker</tbody> 1885*7c568831SAndroid Build Coastguard Worker</table></div> 1886*7c568831SAndroid Build Coastguard Worker</div> 1887*7c568831SAndroid Build Coastguard Worker<hr> 1888*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1889*7c568831SAndroid Build Coastguard Worker<h3> 1890*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferSetAllocationScheme"></a>xmlBufferSetAllocationScheme ()</h3> 1891*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferSetAllocationScheme (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme)<br> 1892*7c568831SAndroid Build Coastguard Worker</pre> 1893*7c568831SAndroid Build Coastguard Worker<p>Sets the allocation scheme for this buffer</p> 1894*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1895*7c568831SAndroid Build Coastguard Worker<col align="left"> 1896*7c568831SAndroid Build Coastguard Worker<tbody> 1897*7c568831SAndroid Build Coastguard Worker<tr> 1898*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1899*7c568831SAndroid Build Coastguard Worker<td>the buffer to tune</td> 1900*7c568831SAndroid Build Coastguard Worker</tr> 1901*7c568831SAndroid Build Coastguard Worker<tr> 1902*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>scheme</tt></i>:</span></td> 1903*7c568831SAndroid Build Coastguard Worker<td>allocation scheme to use</td> 1904*7c568831SAndroid Build Coastguard Worker</tr> 1905*7c568831SAndroid Build Coastguard Worker</tbody> 1906*7c568831SAndroid Build Coastguard Worker</table></div> 1907*7c568831SAndroid Build Coastguard Worker</div> 1908*7c568831SAndroid Build Coastguard Worker<hr> 1909*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1910*7c568831SAndroid Build Coastguard Worker<h3> 1911*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferShrink"></a>xmlBufferShrink ()</h3> 1912*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlBufferShrink (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> unsigned int len)<br> 1913*7c568831SAndroid Build Coastguard Worker</pre> 1914*7c568831SAndroid Build Coastguard Worker<p>Remove the beginning of an XML buffer.</p> 1915*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1916*7c568831SAndroid Build Coastguard Worker<col align="left"> 1917*7c568831SAndroid Build Coastguard Worker<tbody> 1918*7c568831SAndroid Build Coastguard Worker<tr> 1919*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1920*7c568831SAndroid Build Coastguard Worker<td>the buffer to dump</td> 1921*7c568831SAndroid Build Coastguard Worker</tr> 1922*7c568831SAndroid Build Coastguard Worker<tr> 1923*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 1924*7c568831SAndroid Build Coastguard Worker<td>the number of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> to remove</td> 1925*7c568831SAndroid Build Coastguard Worker</tr> 1926*7c568831SAndroid Build Coastguard Worker<tr> 1927*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 1928*7c568831SAndroid Build Coastguard Worker<td>the number of #xmlChar removed, or -1 in case of failure.</td> 1929*7c568831SAndroid Build Coastguard Worker</tr> 1930*7c568831SAndroid Build Coastguard Worker</tbody> 1931*7c568831SAndroid Build Coastguard Worker</table></div> 1932*7c568831SAndroid Build Coastguard Worker</div> 1933*7c568831SAndroid Build Coastguard Worker<hr> 1934*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1935*7c568831SAndroid Build Coastguard Worker<h3> 1936*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferWriteCHAR"></a>xmlBufferWriteCHAR ()</h3> 1937*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferWriteCHAR (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string)<br> 1938*7c568831SAndroid Build Coastguard Worker</pre> 1939*7c568831SAndroid Build Coastguard Worker<p>routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer.</p> 1940*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1941*7c568831SAndroid Build Coastguard Worker<col align="left"> 1942*7c568831SAndroid Build Coastguard Worker<tbody> 1943*7c568831SAndroid Build Coastguard Worker<tr> 1944*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1945*7c568831SAndroid Build Coastguard Worker<td>the XML buffer</td> 1946*7c568831SAndroid Build Coastguard Worker</tr> 1947*7c568831SAndroid Build Coastguard Worker<tr> 1948*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>string</tt></i>:</span></td> 1949*7c568831SAndroid Build Coastguard Worker<td>the string to add</td> 1950*7c568831SAndroid Build Coastguard Worker</tr> 1951*7c568831SAndroid Build Coastguard Worker</tbody> 1952*7c568831SAndroid Build Coastguard Worker</table></div> 1953*7c568831SAndroid Build Coastguard Worker</div> 1954*7c568831SAndroid Build Coastguard Worker<hr> 1955*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1956*7c568831SAndroid Build Coastguard Worker<h3> 1957*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferWriteChar"></a>xmlBufferWriteChar ()</h3> 1958*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferWriteChar (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const char * string)<br> 1959*7c568831SAndroid Build Coastguard Worker</pre> 1960*7c568831SAndroid Build Coastguard Worker<p>routine which manage and grows an output buffer. This one add C chars at the end of the array.</p> 1961*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1962*7c568831SAndroid Build Coastguard Worker<col align="left"> 1963*7c568831SAndroid Build Coastguard Worker<tbody> 1964*7c568831SAndroid Build Coastguard Worker<tr> 1965*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1966*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 1967*7c568831SAndroid Build Coastguard Worker</tr> 1968*7c568831SAndroid Build Coastguard Worker<tr> 1969*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>string</tt></i>:</span></td> 1970*7c568831SAndroid Build Coastguard Worker<td>the string to add</td> 1971*7c568831SAndroid Build Coastguard Worker</tr> 1972*7c568831SAndroid Build Coastguard Worker</tbody> 1973*7c568831SAndroid Build Coastguard Worker</table></div> 1974*7c568831SAndroid Build Coastguard Worker</div> 1975*7c568831SAndroid Build Coastguard Worker<hr> 1976*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1977*7c568831SAndroid Build Coastguard Worker<h3> 1978*7c568831SAndroid Build Coastguard Worker<a name="xmlBufferWriteQuotedString"></a>xmlBufferWriteQuotedString ()</h3> 1979*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlBufferWriteQuotedString (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * string)<br> 1980*7c568831SAndroid Build Coastguard Worker</pre> 1981*7c568831SAndroid Build Coastguard Worker<p>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</p> 1982*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 1983*7c568831SAndroid Build Coastguard Worker<col align="left"> 1984*7c568831SAndroid Build Coastguard Worker<tbody> 1985*7c568831SAndroid Build Coastguard Worker<tr> 1986*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 1987*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 1988*7c568831SAndroid Build Coastguard Worker</tr> 1989*7c568831SAndroid Build Coastguard Worker<tr> 1990*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>string</tt></i>:</span></td> 1991*7c568831SAndroid Build Coastguard Worker<td>the string to add</td> 1992*7c568831SAndroid Build Coastguard Worker</tr> 1993*7c568831SAndroid Build Coastguard Worker</tbody> 1994*7c568831SAndroid Build Coastguard Worker</table></div> 1995*7c568831SAndroid Build Coastguard Worker</div> 1996*7c568831SAndroid Build Coastguard Worker<hr> 1997*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 1998*7c568831SAndroid Build Coastguard Worker<h3> 1999*7c568831SAndroid Build Coastguard Worker<a name="xmlBuildQName"></a>xmlBuildQName ()</h3> 2000*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlBuildQName (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ncname, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * memory, <br> int len)<br> 2001*7c568831SAndroid Build Coastguard Worker</pre> 2002*7c568831SAndroid Build Coastguard Worker<p>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.</p> 2003*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2004*7c568831SAndroid Build Coastguard Worker<col align="left"> 2005*7c568831SAndroid Build Coastguard Worker<tbody> 2006*7c568831SAndroid Build Coastguard Worker<tr> 2007*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ncname</tt></i>:</span></td> 2008*7c568831SAndroid Build Coastguard Worker<td>the Name</td> 2009*7c568831SAndroid Build Coastguard Worker</tr> 2010*7c568831SAndroid Build Coastguard Worker<tr> 2011*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 2012*7c568831SAndroid Build Coastguard Worker<td>the prefix</td> 2013*7c568831SAndroid Build Coastguard Worker</tr> 2014*7c568831SAndroid Build Coastguard Worker<tr> 2015*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>memory</tt></i>:</span></td> 2016*7c568831SAndroid Build Coastguard Worker<td>preallocated memory</td> 2017*7c568831SAndroid Build Coastguard Worker</tr> 2018*7c568831SAndroid Build Coastguard Worker<tr> 2019*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 2020*7c568831SAndroid Build Coastguard Worker<td>preallocated memory length</td> 2021*7c568831SAndroid Build Coastguard Worker</tr> 2022*7c568831SAndroid Build Coastguard Worker<tr> 2023*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2024*7c568831SAndroid Build Coastguard Worker<td>the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error</td> 2025*7c568831SAndroid Build Coastguard Worker</tr> 2026*7c568831SAndroid Build Coastguard Worker</tbody> 2027*7c568831SAndroid Build Coastguard Worker</table></div> 2028*7c568831SAndroid Build Coastguard Worker</div> 2029*7c568831SAndroid Build Coastguard Worker<hr> 2030*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2031*7c568831SAndroid Build Coastguard Worker<h3> 2032*7c568831SAndroid Build Coastguard Worker<a name="xmlChildElementCount"></a>xmlChildElementCount ()</h3> 2033*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">unsigned long xmlChildElementCount (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent)<br> 2034*7c568831SAndroid Build Coastguard Worker</pre> 2035*7c568831SAndroid Build Coastguard Worker<p>Count the number of child nodes which are elements. Note that entity references are not expanded.</p> 2036*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2037*7c568831SAndroid Build Coastguard Worker<col align="left"> 2038*7c568831SAndroid Build Coastguard Worker<tbody> 2039*7c568831SAndroid Build Coastguard Worker<tr> 2040*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 2041*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 2042*7c568831SAndroid Build Coastguard Worker</tr> 2043*7c568831SAndroid Build Coastguard Worker<tr> 2044*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2045*7c568831SAndroid Build Coastguard Worker<td>the number of element children or 0 if arguments are invalid.</td> 2046*7c568831SAndroid Build Coastguard Worker</tr> 2047*7c568831SAndroid Build Coastguard Worker</tbody> 2048*7c568831SAndroid Build Coastguard Worker</table></div> 2049*7c568831SAndroid Build Coastguard Worker</div> 2050*7c568831SAndroid Build Coastguard Worker<hr> 2051*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2052*7c568831SAndroid Build Coastguard Worker<h3> 2053*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyDoc"></a>xmlCopyDoc ()</h3> 2054*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCopyDoc (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int recursive)<br> 2055*7c568831SAndroid Build Coastguard Worker</pre> 2056*7c568831SAndroid Build Coastguard Worker<p>Copy a document. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.</p> 2057*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2058*7c568831SAndroid Build Coastguard Worker<col align="left"> 2059*7c568831SAndroid Build Coastguard Worker<tbody> 2060*7c568831SAndroid Build Coastguard Worker<tr> 2061*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2062*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2063*7c568831SAndroid Build Coastguard Worker</tr> 2064*7c568831SAndroid Build Coastguard Worker<tr> 2065*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>recursive</tt></i>:</span></td> 2066*7c568831SAndroid Build Coastguard Worker<td>if not zero do a recursive copy.</td> 2067*7c568831SAndroid Build Coastguard Worker</tr> 2068*7c568831SAndroid Build Coastguard Worker<tr> 2069*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2070*7c568831SAndroid Build Coastguard Worker<td>the copied document or NULL if a memory allocation failed.</td> 2071*7c568831SAndroid Build Coastguard Worker</tr> 2072*7c568831SAndroid Build Coastguard Worker</tbody> 2073*7c568831SAndroid Build Coastguard Worker</table></div> 2074*7c568831SAndroid Build Coastguard Worker</div> 2075*7c568831SAndroid Build Coastguard Worker<hr> 2076*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2077*7c568831SAndroid Build Coastguard Worker<h3> 2078*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyDtd"></a>xmlCopyDtd ()</h3> 2079*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> xmlCopyDtd (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> dtd)<br> 2080*7c568831SAndroid Build Coastguard Worker</pre> 2081*7c568831SAndroid Build Coastguard Worker<p>Copy a DTD.</p> 2082*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2083*7c568831SAndroid Build Coastguard Worker<col align="left"> 2084*7c568831SAndroid Build Coastguard Worker<tbody> 2085*7c568831SAndroid Build Coastguard Worker<tr> 2086*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>dtd</tt></i>:</span></td> 2087*7c568831SAndroid Build Coastguard Worker<td>the DTD</td> 2088*7c568831SAndroid Build Coastguard Worker</tr> 2089*7c568831SAndroid Build Coastguard Worker<tr> 2090*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2091*7c568831SAndroid Build Coastguard Worker<td>the copied DTD or NULL if a memory allocation failed.</td> 2092*7c568831SAndroid Build Coastguard Worker</tr> 2093*7c568831SAndroid Build Coastguard Worker</tbody> 2094*7c568831SAndroid Build Coastguard Worker</table></div> 2095*7c568831SAndroid Build Coastguard Worker</div> 2096*7c568831SAndroid Build Coastguard Worker<hr> 2097*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2098*7c568831SAndroid Build Coastguard Worker<h3> 2099*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyNamespace"></a>xmlCopyNamespace ()</h3> 2100*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlCopyNamespace (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur)<br> 2101*7c568831SAndroid Build Coastguard Worker</pre> 2102*7c568831SAndroid Build Coastguard Worker<p>Copy a namespace.</p> 2103*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2104*7c568831SAndroid Build Coastguard Worker<col align="left"> 2105*7c568831SAndroid Build Coastguard Worker<tbody> 2106*7c568831SAndroid Build Coastguard Worker<tr> 2107*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2108*7c568831SAndroid Build Coastguard Worker<td>the namespace</td> 2109*7c568831SAndroid Build Coastguard Worker</tr> 2110*7c568831SAndroid Build Coastguard Worker<tr> 2111*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2112*7c568831SAndroid Build Coastguard Worker<td>the copied namespace or NULL if a memory allocation failed.</td> 2113*7c568831SAndroid Build Coastguard Worker</tr> 2114*7c568831SAndroid Build Coastguard Worker</tbody> 2115*7c568831SAndroid Build Coastguard Worker</table></div> 2116*7c568831SAndroid Build Coastguard Worker</div> 2117*7c568831SAndroid Build Coastguard Worker<hr> 2118*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2119*7c568831SAndroid Build Coastguard Worker<h3> 2120*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyNamespaceList"></a>xmlCopyNamespaceList ()</h3> 2121*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlCopyNamespaceList (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur)<br> 2122*7c568831SAndroid Build Coastguard Worker</pre> 2123*7c568831SAndroid Build Coastguard Worker<p>Copy a namespace list.</p> 2124*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2125*7c568831SAndroid Build Coastguard Worker<col align="left"> 2126*7c568831SAndroid Build Coastguard Worker<tbody> 2127*7c568831SAndroid Build Coastguard Worker<tr> 2128*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2129*7c568831SAndroid Build Coastguard Worker<td>the first namespace</td> 2130*7c568831SAndroid Build Coastguard Worker</tr> 2131*7c568831SAndroid Build Coastguard Worker<tr> 2132*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2133*7c568831SAndroid Build Coastguard Worker<td>the head of the copied list or NULL if a memory allocation failed.</td> 2134*7c568831SAndroid Build Coastguard Worker</tr> 2135*7c568831SAndroid Build Coastguard Worker</tbody> 2136*7c568831SAndroid Build Coastguard Worker</table></div> 2137*7c568831SAndroid Build Coastguard Worker</div> 2138*7c568831SAndroid Build Coastguard Worker<hr> 2139*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2140*7c568831SAndroid Build Coastguard Worker<h3> 2141*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyNode"></a>xmlCopyNode ()</h3> 2142*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlCopyNode (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> int extended)<br> 2143*7c568831SAndroid Build Coastguard Worker</pre> 2144*7c568831SAndroid Build Coastguard Worker<p>Copy a node. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlDocCopyNode">xmlDocCopyNode</a>.</p> 2145*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2146*7c568831SAndroid Build Coastguard Worker<col align="left"> 2147*7c568831SAndroid Build Coastguard Worker<tbody> 2148*7c568831SAndroid Build Coastguard Worker<tr> 2149*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2150*7c568831SAndroid Build Coastguard Worker<td>the node</td> 2151*7c568831SAndroid Build Coastguard Worker</tr> 2152*7c568831SAndroid Build Coastguard Worker<tr> 2153*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>extended</tt></i>:</span></td> 2154*7c568831SAndroid Build Coastguard Worker<td>if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)</td> 2155*7c568831SAndroid Build Coastguard Worker</tr> 2156*7c568831SAndroid Build Coastguard Worker<tr> 2157*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2158*7c568831SAndroid Build Coastguard Worker<td>the copied node or NULL if a memory allocation failed.</td> 2159*7c568831SAndroid Build Coastguard Worker</tr> 2160*7c568831SAndroid Build Coastguard Worker</tbody> 2161*7c568831SAndroid Build Coastguard Worker</table></div> 2162*7c568831SAndroid Build Coastguard Worker</div> 2163*7c568831SAndroid Build Coastguard Worker<hr> 2164*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2165*7c568831SAndroid Build Coastguard Worker<h3> 2166*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyNodeList"></a>xmlCopyNodeList ()</h3> 2167*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlCopyNodeList (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 2168*7c568831SAndroid Build Coastguard Worker</pre> 2169*7c568831SAndroid Build Coastguard Worker<p>Copy a node list and all children. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlDocCopyNodeList">xmlDocCopyNodeList</a>.</p> 2170*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2171*7c568831SAndroid Build Coastguard Worker<col align="left"> 2172*7c568831SAndroid Build Coastguard Worker<tbody> 2173*7c568831SAndroid Build Coastguard Worker<tr> 2174*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2175*7c568831SAndroid Build Coastguard Worker<td>the first node in the list.</td> 2176*7c568831SAndroid Build Coastguard Worker</tr> 2177*7c568831SAndroid Build Coastguard Worker<tr> 2178*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2179*7c568831SAndroid Build Coastguard Worker<td>the head of the copied list or NULL if a memory allocation failed.</td> 2180*7c568831SAndroid Build Coastguard Worker</tr> 2181*7c568831SAndroid Build Coastguard Worker</tbody> 2182*7c568831SAndroid Build Coastguard Worker</table></div> 2183*7c568831SAndroid Build Coastguard Worker</div> 2184*7c568831SAndroid Build Coastguard Worker<hr> 2185*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2186*7c568831SAndroid Build Coastguard Worker<h3> 2187*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyProp"></a>xmlCopyProp ()</h3> 2188*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlCopyProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> target, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur)<br> 2189*7c568831SAndroid Build Coastguard Worker</pre> 2190*7c568831SAndroid Build Coastguard Worker<p>Create a copy of the <a href="libxml2-SAX.html#attribute">attribute</a>. This function sets the parent pointer of the copy to @target but doesn't set the <a href="libxml2-SAX.html#attribute">attribute</a> on the target element. Users should consider to set the <a href="libxml2-SAX.html#attribute">attribute</a> by calling <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a> afterwards or reset the parent pointer to NULL.</p> 2191*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2192*7c568831SAndroid Build Coastguard Worker<col align="left"> 2193*7c568831SAndroid Build Coastguard Worker<tbody> 2194*7c568831SAndroid Build Coastguard Worker<tr> 2195*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>target</tt></i>:</span></td> 2196*7c568831SAndroid Build Coastguard Worker<td>the element where the <a href="libxml2-SAX.html#attribute">attribute</a> will be grafted</td> 2197*7c568831SAndroid Build Coastguard Worker</tr> 2198*7c568831SAndroid Build Coastguard Worker<tr> 2199*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2200*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> 2201*7c568831SAndroid Build Coastguard Worker</td> 2202*7c568831SAndroid Build Coastguard Worker</tr> 2203*7c568831SAndroid Build Coastguard Worker<tr> 2204*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2205*7c568831SAndroid Build Coastguard Worker<td>the copied <a href="libxml2-SAX.html#attribute">attribute</a> or NULL if a memory allocation failed.</td> 2206*7c568831SAndroid Build Coastguard Worker</tr> 2207*7c568831SAndroid Build Coastguard Worker</tbody> 2208*7c568831SAndroid Build Coastguard Worker</table></div> 2209*7c568831SAndroid Build Coastguard Worker</div> 2210*7c568831SAndroid Build Coastguard Worker<hr> 2211*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2212*7c568831SAndroid Build Coastguard Worker<h3> 2213*7c568831SAndroid Build Coastguard Worker<a name="xmlCopyPropList"></a>xmlCopyPropList ()</h3> 2214*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlCopyPropList (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> target, <br> <a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur)<br> 2215*7c568831SAndroid Build Coastguard Worker</pre> 2216*7c568831SAndroid Build Coastguard Worker<p>Create a copy of an <a href="libxml2-SAX.html#attribute">attribute</a> list. This function sets the parent pointers of the copied attributes to @target but doesn't set the attributes on the target element.</p> 2217*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2218*7c568831SAndroid Build Coastguard Worker<col align="left"> 2219*7c568831SAndroid Build Coastguard Worker<tbody> 2220*7c568831SAndroid Build Coastguard Worker<tr> 2221*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>target</tt></i>:</span></td> 2222*7c568831SAndroid Build Coastguard Worker<td>the element where the attributes will be grafted</td> 2223*7c568831SAndroid Build Coastguard Worker</tr> 2224*7c568831SAndroid Build Coastguard Worker<tr> 2225*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2226*7c568831SAndroid Build Coastguard Worker<td>the first <a href="libxml2-SAX.html#attribute">attribute</a> 2227*7c568831SAndroid Build Coastguard Worker</td> 2228*7c568831SAndroid Build Coastguard Worker</tr> 2229*7c568831SAndroid Build Coastguard Worker<tr> 2230*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2231*7c568831SAndroid Build Coastguard Worker<td>the head of the copied list or NULL if a memory allocation failed.</td> 2232*7c568831SAndroid Build Coastguard Worker</tr> 2233*7c568831SAndroid Build Coastguard Worker</tbody> 2234*7c568831SAndroid Build Coastguard Worker</table></div> 2235*7c568831SAndroid Build Coastguard Worker</div> 2236*7c568831SAndroid Build Coastguard Worker<hr> 2237*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2238*7c568831SAndroid Build Coastguard Worker<h3> 2239*7c568831SAndroid Build Coastguard Worker<a name="xmlCreateIntSubset"></a>xmlCreateIntSubset ()</h3> 2240*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> xmlCreateIntSubset (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID)<br> 2241*7c568831SAndroid Build Coastguard Worker</pre> 2242*7c568831SAndroid Build Coastguard Worker<p>Create a DTD node. If a document is provided and it already has an internal subset, the existing DTD object is returned without creating a new object. If the document has no internal subset, it will be set to the created DTD.</p> 2243*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2244*7c568831SAndroid Build Coastguard Worker<col align="left"> 2245*7c568831SAndroid Build Coastguard Worker<tbody> 2246*7c568831SAndroid Build Coastguard Worker<tr> 2247*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2248*7c568831SAndroid Build Coastguard Worker<td>the document pointer (optional)</td> 2249*7c568831SAndroid Build Coastguard Worker</tr> 2250*7c568831SAndroid Build Coastguard Worker<tr> 2251*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 2252*7c568831SAndroid Build Coastguard Worker<td>the DTD name (optional)</td> 2253*7c568831SAndroid Build Coastguard Worker</tr> 2254*7c568831SAndroid Build Coastguard Worker<tr> 2255*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ExternalID</tt></i>:</span></td> 2256*7c568831SAndroid Build Coastguard Worker<td>the external (PUBLIC) ID (optional)</td> 2257*7c568831SAndroid Build Coastguard Worker</tr> 2258*7c568831SAndroid Build Coastguard Worker<tr> 2259*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>SystemID</tt></i>:</span></td> 2260*7c568831SAndroid Build Coastguard Worker<td>the system ID (optional)</td> 2261*7c568831SAndroid Build Coastguard Worker</tr> 2262*7c568831SAndroid Build Coastguard Worker<tr> 2263*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2264*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new or existing DTD object or NULL if arguments are invalid or a memory allocation failed.</td> 2265*7c568831SAndroid Build Coastguard Worker</tr> 2266*7c568831SAndroid Build Coastguard Worker</tbody> 2267*7c568831SAndroid Build Coastguard Worker</table></div> 2268*7c568831SAndroid Build Coastguard Worker</div> 2269*7c568831SAndroid Build Coastguard Worker<hr> 2270*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2271*7c568831SAndroid Build Coastguard Worker<h3> 2272*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapAdoptNode"></a>xmlDOMWrapAdoptNode ()</h3> 2273*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDOMWrapAdoptNode (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> sourceDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> destDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> destParent, <br> int options)<br> 2274*7c568831SAndroid Build Coastguard Worker</pre> 2275*7c568831SAndroid Build Coastguard Worker<p>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 <a href="libxml2-SAX.html#attribute">attribute</a> values or element content. NOTE: This function was not intensively tested.</p> 2276*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2277*7c568831SAndroid Build Coastguard Worker<col align="left"> 2278*7c568831SAndroid Build Coastguard Worker<tbody> 2279*7c568831SAndroid Build Coastguard Worker<tr> 2280*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2281*7c568831SAndroid Build Coastguard Worker<td>the optional context for custom processing</td> 2282*7c568831SAndroid Build Coastguard Worker</tr> 2283*7c568831SAndroid Build Coastguard Worker<tr> 2284*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sourceDoc</tt></i>:</span></td> 2285*7c568831SAndroid Build Coastguard Worker<td>the optional sourceDoc</td> 2286*7c568831SAndroid Build Coastguard Worker</tr> 2287*7c568831SAndroid Build Coastguard Worker<tr> 2288*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2289*7c568831SAndroid Build Coastguard Worker<td>the node to start with</td> 2290*7c568831SAndroid Build Coastguard Worker</tr> 2291*7c568831SAndroid Build Coastguard Worker<tr> 2292*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>destDoc</tt></i>:</span></td> 2293*7c568831SAndroid Build Coastguard Worker<td>the destination doc</td> 2294*7c568831SAndroid Build Coastguard Worker</tr> 2295*7c568831SAndroid Build Coastguard Worker<tr> 2296*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>destParent</tt></i>:</span></td> 2297*7c568831SAndroid Build Coastguard Worker<td>the optional new parent of @node in @destDoc</td> 2298*7c568831SAndroid Build Coastguard Worker</tr> 2299*7c568831SAndroid Build Coastguard Worker<tr> 2300*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>options</tt></i>:</span></td> 2301*7c568831SAndroid Build Coastguard Worker<td>option flags</td> 2302*7c568831SAndroid Build Coastguard Worker</tr> 2303*7c568831SAndroid Build Coastguard Worker<tr> 2304*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2305*7c568831SAndroid Build Coastguard Worker<td>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.</td> 2306*7c568831SAndroid Build Coastguard Worker</tr> 2307*7c568831SAndroid Build Coastguard Worker</tbody> 2308*7c568831SAndroid Build Coastguard Worker</table></div> 2309*7c568831SAndroid Build Coastguard Worker</div> 2310*7c568831SAndroid Build Coastguard Worker<hr> 2311*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2312*7c568831SAndroid Build Coastguard Worker<h3> 2313*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapCloneNode"></a>xmlDOMWrapCloneNode ()</h3> 2314*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDOMWrapCloneNode (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> sourceDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> * resNode, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> destDoc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> destParent, <br> int deep, <br> int options)<br> 2315*7c568831SAndroid Build Coastguard Worker</pre> 2316*7c568831SAndroid Build Coastguard Worker<p>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 <a href="libxml2-SAX.html#attribute">attribute</a> values or element content. TODO: 1) What to do with XInclude? Currently this returns an error for XInclude.</p> 2317*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2318*7c568831SAndroid Build Coastguard Worker<col align="left"> 2319*7c568831SAndroid Build Coastguard Worker<tbody> 2320*7c568831SAndroid Build Coastguard Worker<tr> 2321*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2322*7c568831SAndroid Build Coastguard Worker<td>the optional context for custom processing</td> 2323*7c568831SAndroid Build Coastguard Worker</tr> 2324*7c568831SAndroid Build Coastguard Worker<tr> 2325*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sourceDoc</tt></i>:</span></td> 2326*7c568831SAndroid Build Coastguard Worker<td>the optional sourceDoc</td> 2327*7c568831SAndroid Build Coastguard Worker</tr> 2328*7c568831SAndroid Build Coastguard Worker<tr> 2329*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2330*7c568831SAndroid Build Coastguard Worker<td>the node to start with</td> 2331*7c568831SAndroid Build Coastguard Worker</tr> 2332*7c568831SAndroid Build Coastguard Worker<tr> 2333*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>resNode</tt></i>:</span></td> 2334*7c568831SAndroid Build Coastguard Worker<td>the clone of the given @node</td> 2335*7c568831SAndroid Build Coastguard Worker</tr> 2336*7c568831SAndroid Build Coastguard Worker<tr> 2337*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>destDoc</tt></i>:</span></td> 2338*7c568831SAndroid Build Coastguard Worker<td>the destination doc</td> 2339*7c568831SAndroid Build Coastguard Worker</tr> 2340*7c568831SAndroid Build Coastguard Worker<tr> 2341*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>destParent</tt></i>:</span></td> 2342*7c568831SAndroid Build Coastguard Worker<td>the optional new parent of @node in @destDoc</td> 2343*7c568831SAndroid Build Coastguard Worker</tr> 2344*7c568831SAndroid Build Coastguard Worker<tr> 2345*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>deep</tt></i>:</span></td> 2346*7c568831SAndroid Build Coastguard Worker<td>descend into child if set</td> 2347*7c568831SAndroid Build Coastguard Worker</tr> 2348*7c568831SAndroid Build Coastguard Worker<tr> 2349*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>options</tt></i>:</span></td> 2350*7c568831SAndroid Build Coastguard Worker<td>option flags</td> 2351*7c568831SAndroid Build Coastguard Worker</tr> 2352*7c568831SAndroid Build Coastguard Worker<tr> 2353*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2354*7c568831SAndroid Build Coastguard Worker<td>0 if the operation succeeded, 1 if a node of unsupported (or not yet supported) type was given, -1 on API/internal errors.</td> 2355*7c568831SAndroid Build Coastguard Worker</tr> 2356*7c568831SAndroid Build Coastguard Worker</tbody> 2357*7c568831SAndroid Build Coastguard Worker</table></div> 2358*7c568831SAndroid Build Coastguard Worker</div> 2359*7c568831SAndroid Build Coastguard Worker<hr> 2360*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2361*7c568831SAndroid Build Coastguard Worker<h3> 2362*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapFreeCtxt"></a>xmlDOMWrapFreeCtxt ()</h3> 2363*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDOMWrapFreeCtxt (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt)<br> 2364*7c568831SAndroid Build Coastguard Worker</pre> 2365*7c568831SAndroid Build Coastguard Worker<p>Frees the DOM-wrapper context.</p> 2366*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2367*7c568831SAndroid Build Coastguard Worker<col align="left"> 2368*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2369*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2370*7c568831SAndroid Build Coastguard Worker<td>the DOM-wrapper context</td> 2371*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2372*7c568831SAndroid Build Coastguard Worker</table></div> 2373*7c568831SAndroid Build Coastguard Worker</div> 2374*7c568831SAndroid Build Coastguard Worker<hr> 2375*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2376*7c568831SAndroid Build Coastguard Worker<h3> 2377*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapNewCtxt"></a>xmlDOMWrapNewCtxt ()</h3> 2378*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> xmlDOMWrapNewCtxt (void)<br> 2379*7c568831SAndroid Build Coastguard Worker</pre> 2380*7c568831SAndroid Build Coastguard Worker<p>Allocates and initializes a new DOM-wrapper context.</p> 2381*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2382*7c568831SAndroid Build Coastguard Worker<col align="left"> 2383*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2384*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2385*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> or NULL in case of an internal error.</td> 2386*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2387*7c568831SAndroid Build Coastguard Worker</table></div> 2388*7c568831SAndroid Build Coastguard Worker</div> 2389*7c568831SAndroid Build Coastguard Worker<hr> 2390*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2391*7c568831SAndroid Build Coastguard Worker<h3> 2392*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapReconcileNamespaces"></a>xmlDOMWrapReconcileNamespaces ()</h3> 2393*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDOMWrapReconcileNamespaces (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem, <br> int options)<br> 2394*7c568831SAndroid Build Coastguard Worker</pre> 2395*7c568831SAndroid Build Coastguard Worker<p>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 <a href="libxml2-SAX.html#attribute">attribute</a> values or element content. NOTE: This function was not intensively tested.</p> 2396*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2397*7c568831SAndroid Build Coastguard Worker<col align="left"> 2398*7c568831SAndroid Build Coastguard Worker<tbody> 2399*7c568831SAndroid Build Coastguard Worker<tr> 2400*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2401*7c568831SAndroid Build Coastguard Worker<td>DOM wrapper context, unused at the moment</td> 2402*7c568831SAndroid Build Coastguard Worker</tr> 2403*7c568831SAndroid Build Coastguard Worker<tr> 2404*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>elem</tt></i>:</span></td> 2405*7c568831SAndroid Build Coastguard Worker<td>the element-node</td> 2406*7c568831SAndroid Build Coastguard Worker</tr> 2407*7c568831SAndroid Build Coastguard Worker<tr> 2408*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>options</tt></i>:</span></td> 2409*7c568831SAndroid Build Coastguard Worker<td>option flags</td> 2410*7c568831SAndroid Build Coastguard Worker</tr> 2411*7c568831SAndroid Build Coastguard Worker<tr> 2412*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2413*7c568831SAndroid Build Coastguard Worker<td>0 if succeeded, -1 otherwise and on API/internal errors.</td> 2414*7c568831SAndroid Build Coastguard Worker</tr> 2415*7c568831SAndroid Build Coastguard Worker</tbody> 2416*7c568831SAndroid Build Coastguard Worker</table></div> 2417*7c568831SAndroid Build Coastguard Worker</div> 2418*7c568831SAndroid Build Coastguard Worker<hr> 2419*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2420*7c568831SAndroid Build Coastguard Worker<h3> 2421*7c568831SAndroid Build Coastguard Worker<a name="xmlDOMWrapRemoveNode"></a>xmlDOMWrapRemoveNode ()</h3> 2422*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDOMWrapRemoveNode (<a href="libxml2-tree.html#xmlDOMWrapCtxtPtr">xmlDOMWrapCtxtPtr</a> ctxt, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> int options)<br> 2423*7c568831SAndroid Build Coastguard Worker</pre> 2424*7c568831SAndroid Build Coastguard Worker<p>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.</p> 2425*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2426*7c568831SAndroid Build Coastguard Worker<col align="left"> 2427*7c568831SAndroid Build Coastguard Worker<tbody> 2428*7c568831SAndroid Build Coastguard Worker<tr> 2429*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ctxt</tt></i>:</span></td> 2430*7c568831SAndroid Build Coastguard Worker<td>a DOM wrapper context</td> 2431*7c568831SAndroid Build Coastguard Worker</tr> 2432*7c568831SAndroid Build Coastguard Worker<tr> 2433*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2434*7c568831SAndroid Build Coastguard Worker<td>the doc</td> 2435*7c568831SAndroid Build Coastguard Worker</tr> 2436*7c568831SAndroid Build Coastguard Worker<tr> 2437*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2438*7c568831SAndroid Build Coastguard Worker<td>the node to be removed.</td> 2439*7c568831SAndroid Build Coastguard Worker</tr> 2440*7c568831SAndroid Build Coastguard Worker<tr> 2441*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>options</tt></i>:</span></td> 2442*7c568831SAndroid Build Coastguard Worker<td>set of options, unused at the moment</td> 2443*7c568831SAndroid Build Coastguard Worker</tr> 2444*7c568831SAndroid Build Coastguard Worker<tr> 2445*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2446*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 if the node is not supported, -1 on API and internal errors.</td> 2447*7c568831SAndroid Build Coastguard Worker</tr> 2448*7c568831SAndroid Build Coastguard Worker</tbody> 2449*7c568831SAndroid Build Coastguard Worker</table></div> 2450*7c568831SAndroid Build Coastguard Worker</div> 2451*7c568831SAndroid Build Coastguard Worker<hr> 2452*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2453*7c568831SAndroid Build Coastguard Worker<h3> 2454*7c568831SAndroid Build Coastguard Worker<a name="xmlDeregisterNodeDefault"></a>xmlDeregisterNodeDefault ()</h3> 2455*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> xmlDeregisterNodeDefault (<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> func)<br> 2456*7c568831SAndroid Build Coastguard Worker</pre> 2457*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: don't use Registers a callback for node destruction</p> 2458*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2459*7c568831SAndroid Build Coastguard Worker<col align="left"> 2460*7c568831SAndroid Build Coastguard Worker<tbody> 2461*7c568831SAndroid Build Coastguard Worker<tr> 2462*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>func</tt></i>:</span></td> 2463*7c568831SAndroid Build Coastguard Worker<td>function pointer to the new DeregisterNodeFunc</td> 2464*7c568831SAndroid Build Coastguard Worker</tr> 2465*7c568831SAndroid Build Coastguard Worker<tr> 2466*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2467*7c568831SAndroid Build Coastguard Worker<td>the previous value of the deregistration function</td> 2468*7c568831SAndroid Build Coastguard Worker</tr> 2469*7c568831SAndroid Build Coastguard Worker</tbody> 2470*7c568831SAndroid Build Coastguard Worker</table></div> 2471*7c568831SAndroid Build Coastguard Worker</div> 2472*7c568831SAndroid Build Coastguard Worker<hr> 2473*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2474*7c568831SAndroid Build Coastguard Worker<h3> 2475*7c568831SAndroid Build Coastguard Worker<a name="xmlDocCopyNode"></a>xmlDocCopyNode ()</h3> 2476*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlDocCopyNode (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int extended)<br> 2477*7c568831SAndroid Build Coastguard Worker</pre> 2478*7c568831SAndroid Build Coastguard Worker<p>Copy a node into another document.</p> 2479*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2480*7c568831SAndroid Build Coastguard Worker<col align="left"> 2481*7c568831SAndroid Build Coastguard Worker<tbody> 2482*7c568831SAndroid Build Coastguard Worker<tr> 2483*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2484*7c568831SAndroid Build Coastguard Worker<td>the node</td> 2485*7c568831SAndroid Build Coastguard Worker</tr> 2486*7c568831SAndroid Build Coastguard Worker<tr> 2487*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2488*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2489*7c568831SAndroid Build Coastguard Worker</tr> 2490*7c568831SAndroid Build Coastguard Worker<tr> 2491*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>extended</tt></i>:</span></td> 2492*7c568831SAndroid Build Coastguard Worker<td>if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable)</td> 2493*7c568831SAndroid Build Coastguard Worker</tr> 2494*7c568831SAndroid Build Coastguard Worker<tr> 2495*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2496*7c568831SAndroid Build Coastguard Worker<td>the copied node or NULL if a memory allocation failed.</td> 2497*7c568831SAndroid Build Coastguard Worker</tr> 2498*7c568831SAndroid Build Coastguard Worker</tbody> 2499*7c568831SAndroid Build Coastguard Worker</table></div> 2500*7c568831SAndroid Build Coastguard Worker</div> 2501*7c568831SAndroid Build Coastguard Worker<hr> 2502*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2503*7c568831SAndroid Build Coastguard Worker<h3> 2504*7c568831SAndroid Build Coastguard Worker<a name="xmlDocCopyNodeList"></a>xmlDocCopyNodeList ()</h3> 2505*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlDocCopyNodeList (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 2506*7c568831SAndroid Build Coastguard Worker</pre> 2507*7c568831SAndroid Build Coastguard Worker<p>Copy a node list and all children into a new document.</p> 2508*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2509*7c568831SAndroid Build Coastguard Worker<col align="left"> 2510*7c568831SAndroid Build Coastguard Worker<tbody> 2511*7c568831SAndroid Build Coastguard Worker<tr> 2512*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2513*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 2514*7c568831SAndroid Build Coastguard Worker</tr> 2515*7c568831SAndroid Build Coastguard Worker<tr> 2516*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 2517*7c568831SAndroid Build Coastguard Worker<td>the first node in the list.</td> 2518*7c568831SAndroid Build Coastguard Worker</tr> 2519*7c568831SAndroid Build Coastguard Worker<tr> 2520*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2521*7c568831SAndroid Build Coastguard Worker<td>the head of the copied list or NULL if a memory allocation failed.</td> 2522*7c568831SAndroid Build Coastguard Worker</tr> 2523*7c568831SAndroid Build Coastguard Worker</tbody> 2524*7c568831SAndroid Build Coastguard Worker</table></div> 2525*7c568831SAndroid Build Coastguard Worker</div> 2526*7c568831SAndroid Build Coastguard Worker<hr> 2527*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2528*7c568831SAndroid Build Coastguard Worker<h3> 2529*7c568831SAndroid Build Coastguard Worker<a name="xmlDocDump"></a>xmlDocDump ()</h3> 2530*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDocDump (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur)<br> 2531*7c568831SAndroid Build Coastguard Worker</pre> 2532*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to an open FILE.</p> 2533*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2534*7c568831SAndroid Build Coastguard Worker<col align="left"> 2535*7c568831SAndroid Build Coastguard Worker<tbody> 2536*7c568831SAndroid Build Coastguard Worker<tr> 2537*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2538*7c568831SAndroid Build Coastguard Worker<td>the FILE*</td> 2539*7c568831SAndroid Build Coastguard Worker</tr> 2540*7c568831SAndroid Build Coastguard Worker<tr> 2541*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2542*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2543*7c568831SAndroid Build Coastguard Worker</tr> 2544*7c568831SAndroid Build Coastguard Worker<tr> 2545*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2546*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 2547*7c568831SAndroid Build Coastguard Worker</tr> 2548*7c568831SAndroid Build Coastguard Worker</tbody> 2549*7c568831SAndroid Build Coastguard Worker</table></div> 2550*7c568831SAndroid Build Coastguard Worker</div> 2551*7c568831SAndroid Build Coastguard Worker<hr> 2552*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2553*7c568831SAndroid Build Coastguard Worker<h3> 2554*7c568831SAndroid Build Coastguard Worker<a name="xmlDocDumpFormatMemory"></a>xmlDocDumpFormatMemory ()</h3> 2555*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDocDumpFormatMemory (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** mem, <br> int * size, <br> int format)<br> 2556*7c568831SAndroid Build Coastguard Worker</pre> 2557*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document in memory and return the #xmlChar * and it's size. It's up to the caller to free the memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</p> 2558*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2559*7c568831SAndroid Build Coastguard Worker<col align="left"> 2560*7c568831SAndroid Build Coastguard Worker<tbody> 2561*7c568831SAndroid Build Coastguard Worker<tr> 2562*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2563*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2564*7c568831SAndroid Build Coastguard Worker</tr> 2565*7c568831SAndroid Build Coastguard Worker<tr> 2566*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>mem</tt></i>:</span></td> 2567*7c568831SAndroid Build Coastguard Worker<td>OUT: the memory pointer</td> 2568*7c568831SAndroid Build Coastguard Worker</tr> 2569*7c568831SAndroid Build Coastguard Worker<tr> 2570*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>size</tt></i>:</span></td> 2571*7c568831SAndroid Build Coastguard Worker<td>OUT: the memory length</td> 2572*7c568831SAndroid Build Coastguard Worker</tr> 2573*7c568831SAndroid Build Coastguard Worker<tr> 2574*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 2575*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces been added</td> 2576*7c568831SAndroid Build Coastguard Worker</tr> 2577*7c568831SAndroid Build Coastguard Worker</tbody> 2578*7c568831SAndroid Build Coastguard Worker</table></div> 2579*7c568831SAndroid Build Coastguard Worker</div> 2580*7c568831SAndroid Build Coastguard Worker<hr> 2581*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2582*7c568831SAndroid Build Coastguard Worker<h3> 2583*7c568831SAndroid Build Coastguard Worker<a name="xmlDocDumpFormatMemoryEnc"></a>xmlDocDumpFormatMemoryEnc ()</h3> 2584*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDocDumpFormatMemoryEnc (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> out_doc, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr, <br> int * doc_txt_len, <br> const char * txt_encoding, <br> int format)<br> 2585*7c568831SAndroid Build Coastguard Worker</pre> 2586*7c568831SAndroid Build Coastguard Worker<p>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(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</p> 2587*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2588*7c568831SAndroid Build Coastguard Worker<col align="left"> 2589*7c568831SAndroid Build Coastguard Worker<tbody> 2590*7c568831SAndroid Build Coastguard Worker<tr> 2591*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out_doc</tt></i>:</span></td> 2592*7c568831SAndroid Build Coastguard Worker<td>Document to generate XML text from</td> 2593*7c568831SAndroid Build Coastguard Worker</tr> 2594*7c568831SAndroid Build Coastguard Worker<tr> 2595*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc_txt_ptr</tt></i>:</span></td> 2596*7c568831SAndroid Build Coastguard Worker<td>Memory pointer for allocated XML text</td> 2597*7c568831SAndroid Build Coastguard Worker</tr> 2598*7c568831SAndroid Build Coastguard Worker<tr> 2599*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc_txt_len</tt></i>:</span></td> 2600*7c568831SAndroid Build Coastguard Worker<td>Length of the generated XML text</td> 2601*7c568831SAndroid Build Coastguard Worker</tr> 2602*7c568831SAndroid Build Coastguard Worker<tr> 2603*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>txt_encoding</tt></i>:</span></td> 2604*7c568831SAndroid Build Coastguard Worker<td>Character encoding to use when generating XML text</td> 2605*7c568831SAndroid Build Coastguard Worker</tr> 2606*7c568831SAndroid Build Coastguard Worker<tr> 2607*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 2608*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces been added</td> 2609*7c568831SAndroid Build Coastguard Worker</tr> 2610*7c568831SAndroid Build Coastguard Worker</tbody> 2611*7c568831SAndroid Build Coastguard Worker</table></div> 2612*7c568831SAndroid Build Coastguard Worker</div> 2613*7c568831SAndroid Build Coastguard Worker<hr> 2614*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2615*7c568831SAndroid Build Coastguard Worker<h3> 2616*7c568831SAndroid Build Coastguard Worker<a name="xmlDocDumpMemory"></a>xmlDocDumpMemory ()</h3> 2617*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDocDumpMemory (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** mem, <br> int * size)<br> 2618*7c568831SAndroid Build Coastguard Worker</pre> 2619*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document in memory and return the #xmlChar * and it's size in bytes. It's up to the caller to free the memory with xmlFree(). The resulting byte array is zero terminated, though the last 0 is not included in the returned size.</p> 2620*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2621*7c568831SAndroid Build Coastguard Worker<col align="left"> 2622*7c568831SAndroid Build Coastguard Worker<tbody> 2623*7c568831SAndroid Build Coastguard Worker<tr> 2624*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2625*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2626*7c568831SAndroid Build Coastguard Worker</tr> 2627*7c568831SAndroid Build Coastguard Worker<tr> 2628*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>mem</tt></i>:</span></td> 2629*7c568831SAndroid Build Coastguard Worker<td>OUT: the memory pointer</td> 2630*7c568831SAndroid Build Coastguard Worker</tr> 2631*7c568831SAndroid Build Coastguard Worker<tr> 2632*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>size</tt></i>:</span></td> 2633*7c568831SAndroid Build Coastguard Worker<td>OUT: the memory length</td> 2634*7c568831SAndroid Build Coastguard Worker</tr> 2635*7c568831SAndroid Build Coastguard Worker</tbody> 2636*7c568831SAndroid Build Coastguard Worker</table></div> 2637*7c568831SAndroid Build Coastguard Worker</div> 2638*7c568831SAndroid Build Coastguard Worker<hr> 2639*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2640*7c568831SAndroid Build Coastguard Worker<h3> 2641*7c568831SAndroid Build Coastguard Worker<a name="xmlDocDumpMemoryEnc"></a>xmlDocDumpMemoryEnc ()</h3> 2642*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlDocDumpMemoryEnc (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> out_doc, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr, <br> int * doc_txt_len, <br> const char * txt_encoding)<br> 2643*7c568831SAndroid Build Coastguard Worker</pre> 2644*7c568831SAndroid Build Coastguard Worker<p>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().</p> 2645*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2646*7c568831SAndroid Build Coastguard Worker<col align="left"> 2647*7c568831SAndroid Build Coastguard Worker<tbody> 2648*7c568831SAndroid Build Coastguard Worker<tr> 2649*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out_doc</tt></i>:</span></td> 2650*7c568831SAndroid Build Coastguard Worker<td>Document to generate XML text from</td> 2651*7c568831SAndroid Build Coastguard Worker</tr> 2652*7c568831SAndroid Build Coastguard Worker<tr> 2653*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc_txt_ptr</tt></i>:</span></td> 2654*7c568831SAndroid Build Coastguard Worker<td>Memory pointer for allocated XML text</td> 2655*7c568831SAndroid Build Coastguard Worker</tr> 2656*7c568831SAndroid Build Coastguard Worker<tr> 2657*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc_txt_len</tt></i>:</span></td> 2658*7c568831SAndroid Build Coastguard Worker<td>Length of the generated XML text</td> 2659*7c568831SAndroid Build Coastguard Worker</tr> 2660*7c568831SAndroid Build Coastguard Worker<tr> 2661*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>txt_encoding</tt></i>:</span></td> 2662*7c568831SAndroid Build Coastguard Worker<td>Character encoding to use when generating XML text</td> 2663*7c568831SAndroid Build Coastguard Worker</tr> 2664*7c568831SAndroid Build Coastguard Worker</tbody> 2665*7c568831SAndroid Build Coastguard Worker</table></div> 2666*7c568831SAndroid Build Coastguard Worker</div> 2667*7c568831SAndroid Build Coastguard Worker<hr> 2668*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2669*7c568831SAndroid Build Coastguard Worker<h3> 2670*7c568831SAndroid Build Coastguard Worker<a name="xmlDocFormatDump"></a>xmlDocFormatDump ()</h3> 2671*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlDocFormatDump (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> int format)<br> 2672*7c568831SAndroid Build Coastguard Worker</pre> 2673*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to an open FILE.</p> 2674*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2675*7c568831SAndroid Build Coastguard Worker<col align="left"> 2676*7c568831SAndroid Build Coastguard Worker<tbody> 2677*7c568831SAndroid Build Coastguard Worker<tr> 2678*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2679*7c568831SAndroid Build Coastguard Worker<td>the FILE*</td> 2680*7c568831SAndroid Build Coastguard Worker</tr> 2681*7c568831SAndroid Build Coastguard Worker<tr> 2682*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2683*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2684*7c568831SAndroid Build Coastguard Worker</tr> 2685*7c568831SAndroid Build Coastguard Worker<tr> 2686*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 2687*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces been added</td> 2688*7c568831SAndroid Build Coastguard Worker</tr> 2689*7c568831SAndroid Build Coastguard Worker<tr> 2690*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2691*7c568831SAndroid Build Coastguard Worker<td>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</td> 2692*7c568831SAndroid Build Coastguard Worker</tr> 2693*7c568831SAndroid Build Coastguard Worker</tbody> 2694*7c568831SAndroid Build Coastguard Worker</table></div> 2695*7c568831SAndroid Build Coastguard Worker</div> 2696*7c568831SAndroid Build Coastguard Worker<hr> 2697*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2698*7c568831SAndroid Build Coastguard Worker<h3> 2699*7c568831SAndroid Build Coastguard Worker<a name="xmlDocGetRootElement"></a>xmlDocGetRootElement ()</h3> 2700*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlDocGetRootElement (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc)<br> 2701*7c568831SAndroid Build Coastguard Worker</pre> 2702*7c568831SAndroid Build Coastguard Worker<p>Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).</p> 2703*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2704*7c568831SAndroid Build Coastguard Worker<col align="left"> 2705*7c568831SAndroid Build Coastguard Worker<tbody> 2706*7c568831SAndroid Build Coastguard Worker<tr> 2707*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2708*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2709*7c568831SAndroid Build Coastguard Worker</tr> 2710*7c568831SAndroid Build Coastguard Worker<tr> 2711*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2712*7c568831SAndroid Build Coastguard Worker<td>the root element or NULL if no element was found.</td> 2713*7c568831SAndroid Build Coastguard Worker</tr> 2714*7c568831SAndroid Build Coastguard Worker</tbody> 2715*7c568831SAndroid Build Coastguard Worker</table></div> 2716*7c568831SAndroid Build Coastguard Worker</div> 2717*7c568831SAndroid Build Coastguard Worker<hr> 2718*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2719*7c568831SAndroid Build Coastguard Worker<h3> 2720*7c568831SAndroid Build Coastguard Worker<a name="xmlDocSetRootElement"></a>xmlDocSetRootElement ()</h3> 2721*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlDocSetRootElement (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> root)<br> 2722*7c568831SAndroid Build Coastguard Worker</pre> 2723*7c568831SAndroid Build Coastguard Worker<p>Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). @root must be an element node. It is unlinked before insertion.</p> 2724*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2725*7c568831SAndroid Build Coastguard Worker<col align="left"> 2726*7c568831SAndroid Build Coastguard Worker<tbody> 2727*7c568831SAndroid Build Coastguard Worker<tr> 2728*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2729*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2730*7c568831SAndroid Build Coastguard Worker</tr> 2731*7c568831SAndroid Build Coastguard Worker<tr> 2732*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>root</tt></i>:</span></td> 2733*7c568831SAndroid Build Coastguard Worker<td>the new document root element, if root is NULL no action is taken, to remove a node from a document use xmlUnlinkNode(root) instead.</td> 2734*7c568831SAndroid Build Coastguard Worker</tr> 2735*7c568831SAndroid Build Coastguard Worker<tr> 2736*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2737*7c568831SAndroid Build Coastguard Worker<td>the unlinked old root element or NULL if the document didn't have a root element or a memory allocation failed.</td> 2738*7c568831SAndroid Build Coastguard Worker</tr> 2739*7c568831SAndroid Build Coastguard Worker</tbody> 2740*7c568831SAndroid Build Coastguard Worker</table></div> 2741*7c568831SAndroid Build Coastguard Worker</div> 2742*7c568831SAndroid Build Coastguard Worker<hr> 2743*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2744*7c568831SAndroid Build Coastguard Worker<h3> 2745*7c568831SAndroid Build Coastguard Worker<a name="xmlElemDump"></a>xmlElemDump ()</h3> 2746*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlElemDump (FILE * f, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 2747*7c568831SAndroid Build Coastguard Worker</pre> 2748*7c568831SAndroid Build Coastguard Worker<p>Dump an XML/HTML node, recursive behaviour, children are printed too.</p> 2749*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2750*7c568831SAndroid Build Coastguard Worker<col align="left"> 2751*7c568831SAndroid Build Coastguard Worker<tbody> 2752*7c568831SAndroid Build Coastguard Worker<tr> 2753*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>f</tt></i>:</span></td> 2754*7c568831SAndroid Build Coastguard Worker<td>the FILE * for the output</td> 2755*7c568831SAndroid Build Coastguard Worker</tr> 2756*7c568831SAndroid Build Coastguard Worker<tr> 2757*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2758*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2759*7c568831SAndroid Build Coastguard Worker</tr> 2760*7c568831SAndroid Build Coastguard Worker<tr> 2761*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2762*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 2763*7c568831SAndroid Build Coastguard Worker</tr> 2764*7c568831SAndroid Build Coastguard Worker</tbody> 2765*7c568831SAndroid Build Coastguard Worker</table></div> 2766*7c568831SAndroid Build Coastguard Worker</div> 2767*7c568831SAndroid Build Coastguard Worker<hr> 2768*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2769*7c568831SAndroid Build Coastguard Worker<h3> 2770*7c568831SAndroid Build Coastguard Worker<a name="xmlFirstElementChild"></a>xmlFirstElementChild ()</h3> 2771*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlFirstElementChild (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent)<br> 2772*7c568831SAndroid Build Coastguard Worker</pre> 2773*7c568831SAndroid Build Coastguard Worker<p>Find the first child node which is an element. Note that entity references are not expanded.</p> 2774*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2775*7c568831SAndroid Build Coastguard Worker<col align="left"> 2776*7c568831SAndroid Build Coastguard Worker<tbody> 2777*7c568831SAndroid Build Coastguard Worker<tr> 2778*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 2779*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 2780*7c568831SAndroid Build Coastguard Worker</tr> 2781*7c568831SAndroid Build Coastguard Worker<tr> 2782*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2783*7c568831SAndroid Build Coastguard Worker<td>the first element or NULL if parent has no children.</td> 2784*7c568831SAndroid Build Coastguard Worker</tr> 2785*7c568831SAndroid Build Coastguard Worker</tbody> 2786*7c568831SAndroid Build Coastguard Worker</table></div> 2787*7c568831SAndroid Build Coastguard Worker</div> 2788*7c568831SAndroid Build Coastguard Worker<hr> 2789*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2790*7c568831SAndroid Build Coastguard Worker<h3> 2791*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeDoc"></a>xmlFreeDoc ()</h3> 2792*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeDoc (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur)<br> 2793*7c568831SAndroid Build Coastguard Worker</pre> 2794*7c568831SAndroid Build Coastguard Worker<p>Free a document including all children and associated DTDs.</p> 2795*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2796*7c568831SAndroid Build Coastguard Worker<col align="left"> 2797*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2798*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2799*7c568831SAndroid Build Coastguard Worker<td>pointer to the document</td> 2800*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2801*7c568831SAndroid Build Coastguard Worker</table></div> 2802*7c568831SAndroid Build Coastguard Worker</div> 2803*7c568831SAndroid Build Coastguard Worker<hr> 2804*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2805*7c568831SAndroid Build Coastguard Worker<h3> 2806*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeDtd"></a>xmlFreeDtd ()</h3> 2807*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeDtd (<a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> cur)<br> 2808*7c568831SAndroid Build Coastguard Worker</pre> 2809*7c568831SAndroid Build Coastguard Worker<p>Free a DTD structure.</p> 2810*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2811*7c568831SAndroid Build Coastguard Worker<col align="left"> 2812*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2813*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2814*7c568831SAndroid Build Coastguard Worker<td>the DTD structure to free up</td> 2815*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2816*7c568831SAndroid Build Coastguard Worker</table></div> 2817*7c568831SAndroid Build Coastguard Worker</div> 2818*7c568831SAndroid Build Coastguard Worker<hr> 2819*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2820*7c568831SAndroid Build Coastguard Worker<h3> 2821*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeNode"></a>xmlFreeNode ()</h3> 2822*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeNode (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 2823*7c568831SAndroid Build Coastguard Worker</pre> 2824*7c568831SAndroid Build Coastguard Worker<p>Free a node including all the children. This doesn't unlink the node from the tree. Call <a href="libxml2-tree.html#xmlUnlinkNode">xmlUnlinkNode</a> first unless @cur is a root node.</p> 2825*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2826*7c568831SAndroid Build Coastguard Worker<col align="left"> 2827*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2828*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2829*7c568831SAndroid Build Coastguard Worker<td>the node</td> 2830*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2831*7c568831SAndroid Build Coastguard Worker</table></div> 2832*7c568831SAndroid Build Coastguard Worker</div> 2833*7c568831SAndroid Build Coastguard Worker<hr> 2834*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2835*7c568831SAndroid Build Coastguard Worker<h3> 2836*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeNodeList"></a>xmlFreeNodeList ()</h3> 2837*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeNodeList (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 2838*7c568831SAndroid Build Coastguard Worker</pre> 2839*7c568831SAndroid Build Coastguard Worker<p>Free a node list including all children.</p> 2840*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2841*7c568831SAndroid Build Coastguard Worker<col align="left"> 2842*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2843*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2844*7c568831SAndroid Build Coastguard Worker<td>the first node in the list</td> 2845*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2846*7c568831SAndroid Build Coastguard Worker</table></div> 2847*7c568831SAndroid Build Coastguard Worker</div> 2848*7c568831SAndroid Build Coastguard Worker<hr> 2849*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2850*7c568831SAndroid Build Coastguard Worker<h3> 2851*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeNs"></a>xmlFreeNs ()</h3> 2852*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeNs (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur)<br> 2853*7c568831SAndroid Build Coastguard Worker</pre> 2854*7c568831SAndroid Build Coastguard Worker<p>Free an <a href="libxml2-tree.html#xmlNs">xmlNs</a> object.</p> 2855*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2856*7c568831SAndroid Build Coastguard Worker<col align="left"> 2857*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2858*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2859*7c568831SAndroid Build Coastguard Worker<td>the namespace pointer</td> 2860*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2861*7c568831SAndroid Build Coastguard Worker</table></div> 2862*7c568831SAndroid Build Coastguard Worker</div> 2863*7c568831SAndroid Build Coastguard Worker<hr> 2864*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2865*7c568831SAndroid Build Coastguard Worker<h3> 2866*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeNsList"></a>xmlFreeNsList ()</h3> 2867*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeNsList (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> cur)<br> 2868*7c568831SAndroid Build Coastguard Worker</pre> 2869*7c568831SAndroid Build Coastguard Worker<p>Free a list of <a href="libxml2-tree.html#xmlNs">xmlNs</a> objects.</p> 2870*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2871*7c568831SAndroid Build Coastguard Worker<col align="left"> 2872*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2873*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2874*7c568831SAndroid Build Coastguard Worker<td>the first namespace pointer</td> 2875*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2876*7c568831SAndroid Build Coastguard Worker</table></div> 2877*7c568831SAndroid Build Coastguard Worker</div> 2878*7c568831SAndroid Build Coastguard Worker<hr> 2879*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2880*7c568831SAndroid Build Coastguard Worker<h3> 2881*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeProp"></a>xmlFreeProp ()</h3> 2882*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeProp (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur)<br> 2883*7c568831SAndroid Build Coastguard Worker</pre> 2884*7c568831SAndroid Build Coastguard Worker<p>Free an <a href="libxml2-SAX.html#attribute">attribute</a> including all children.</p> 2885*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2886*7c568831SAndroid Build Coastguard Worker<col align="left"> 2887*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2888*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2889*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-SAX.html#attribute">attribute</a> 2890*7c568831SAndroid Build Coastguard Worker</td> 2891*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2892*7c568831SAndroid Build Coastguard Worker</table></div> 2893*7c568831SAndroid Build Coastguard Worker</div> 2894*7c568831SAndroid Build Coastguard Worker<hr> 2895*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2896*7c568831SAndroid Build Coastguard Worker<h3> 2897*7c568831SAndroid Build Coastguard Worker<a name="xmlFreePropList"></a>xmlFreePropList ()</h3> 2898*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreePropList (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur)<br> 2899*7c568831SAndroid Build Coastguard Worker</pre> 2900*7c568831SAndroid Build Coastguard Worker<p>Free an <a href="libxml2-SAX.html#attribute">attribute</a> list including all children.</p> 2901*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2902*7c568831SAndroid Build Coastguard Worker<col align="left"> 2903*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2904*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 2905*7c568831SAndroid Build Coastguard Worker<td>the first <a href="libxml2-SAX.html#attribute">attribute</a> in the list</td> 2906*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2907*7c568831SAndroid Build Coastguard Worker</table></div> 2908*7c568831SAndroid Build Coastguard Worker</div> 2909*7c568831SAndroid Build Coastguard Worker<hr> 2910*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2911*7c568831SAndroid Build Coastguard Worker<h3> 2912*7c568831SAndroid Build Coastguard Worker<a name="xmlGetBufferAllocationScheme"></a>xmlGetBufferAllocationScheme ()</h3> 2913*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> xmlGetBufferAllocationScheme (void)<br> 2914*7c568831SAndroid Build Coastguard Worker</pre> 2915*7c568831SAndroid Build Coastguard Worker<p>Types are <a href="libxml2-tree.html#XML_BUFFER_ALLOC_EXACT">XML_BUFFER_ALLOC_EXACT</a> - use exact sizes, keeps memory usage down <a href="libxml2-tree.html#XML_BUFFER_ALLOC_DOUBLEIT">XML_BUFFER_ALLOC_DOUBLEIT</a> - double buffer when extra needed, improves performance <a href="libxml2-tree.html#XML_BUFFER_ALLOC_HYBRID">XML_BUFFER_ALLOC_HYBRID</a> - use exact sizes on small strings to keep memory usage tight in normal usage, and doubleit on large strings to avoid pathological performance.</p> 2916*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2917*7c568831SAndroid Build Coastguard Worker<col align="left"> 2918*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2919*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2920*7c568831SAndroid Build Coastguard Worker<td>the current allocation scheme</td> 2921*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2922*7c568831SAndroid Build Coastguard Worker</table></div> 2923*7c568831SAndroid Build Coastguard Worker</div> 2924*7c568831SAndroid Build Coastguard Worker<hr> 2925*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2926*7c568831SAndroid Build Coastguard Worker<h3> 2927*7c568831SAndroid Build Coastguard Worker<a name="xmlGetCompressMode"></a>xmlGetCompressMode ()</h3> 2928*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlGetCompressMode (void)<br> 2929*7c568831SAndroid Build Coastguard Worker</pre> 2930*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: Use <a href="libxml2-tree.html#xmlGetDocCompressMode">xmlGetDocCompressMode</a> get the default compression mode used, ZLIB based.</p> 2931*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2932*7c568831SAndroid Build Coastguard Worker<col align="left"> 2933*7c568831SAndroid Build Coastguard Worker<tbody><tr> 2934*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2935*7c568831SAndroid Build Coastguard Worker<td>0 (uncompressed) to 9 (max compression)</td> 2936*7c568831SAndroid Build Coastguard Worker</tr></tbody> 2937*7c568831SAndroid Build Coastguard Worker</table></div> 2938*7c568831SAndroid Build Coastguard Worker</div> 2939*7c568831SAndroid Build Coastguard Worker<hr> 2940*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2941*7c568831SAndroid Build Coastguard Worker<h3> 2942*7c568831SAndroid Build Coastguard Worker<a name="xmlGetDocCompressMode"></a>xmlGetDocCompressMode ()</h3> 2943*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlGetDocCompressMode (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc)<br> 2944*7c568831SAndroid Build Coastguard Worker</pre> 2945*7c568831SAndroid Build Coastguard Worker<p>get the compression ratio for a document, ZLIB based</p> 2946*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2947*7c568831SAndroid Build Coastguard Worker<col align="left"> 2948*7c568831SAndroid Build Coastguard Worker<tbody> 2949*7c568831SAndroid Build Coastguard Worker<tr> 2950*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2951*7c568831SAndroid Build Coastguard Worker<td>the document</td> 2952*7c568831SAndroid Build Coastguard Worker</tr> 2953*7c568831SAndroid Build Coastguard Worker<tr> 2954*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2955*7c568831SAndroid Build Coastguard Worker<td>0 (uncompressed) to 9 (max compression)</td> 2956*7c568831SAndroid Build Coastguard Worker</tr> 2957*7c568831SAndroid Build Coastguard Worker</tbody> 2958*7c568831SAndroid Build Coastguard Worker</table></div> 2959*7c568831SAndroid Build Coastguard Worker</div> 2960*7c568831SAndroid Build Coastguard Worker<hr> 2961*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2962*7c568831SAndroid Build Coastguard Worker<h3> 2963*7c568831SAndroid Build Coastguard Worker<a name="xmlGetIntSubset"></a>xmlGetIntSubset ()</h3> 2964*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> xmlGetIntSubset (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc)<br> 2965*7c568831SAndroid Build Coastguard Worker</pre> 2966*7c568831SAndroid Build Coastguard Worker<p>Get the internal subset of a document.</p> 2967*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2968*7c568831SAndroid Build Coastguard Worker<col align="left"> 2969*7c568831SAndroid Build Coastguard Worker<tbody> 2970*7c568831SAndroid Build Coastguard Worker<tr> 2971*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 2972*7c568831SAndroid Build Coastguard Worker<td>the document pointer</td> 2973*7c568831SAndroid Build Coastguard Worker</tr> 2974*7c568831SAndroid Build Coastguard Worker<tr> 2975*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2976*7c568831SAndroid Build Coastguard Worker<td>a pointer to the DTD object or NULL if not found.</td> 2977*7c568831SAndroid Build Coastguard Worker</tr> 2978*7c568831SAndroid Build Coastguard Worker</tbody> 2979*7c568831SAndroid Build Coastguard Worker</table></div> 2980*7c568831SAndroid Build Coastguard Worker</div> 2981*7c568831SAndroid Build Coastguard Worker<hr> 2982*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 2983*7c568831SAndroid Build Coastguard Worker<h3> 2984*7c568831SAndroid Build Coastguard Worker<a name="xmlGetLastChild"></a>xmlGetLastChild ()</h3> 2985*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlGetLastChild (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * parent)<br> 2986*7c568831SAndroid Build Coastguard Worker</pre> 2987*7c568831SAndroid Build Coastguard Worker<p>Find the last child of a node.</p> 2988*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 2989*7c568831SAndroid Build Coastguard Worker<col align="left"> 2990*7c568831SAndroid Build Coastguard Worker<tbody> 2991*7c568831SAndroid Build Coastguard Worker<tr> 2992*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 2993*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 2994*7c568831SAndroid Build Coastguard Worker</tr> 2995*7c568831SAndroid Build Coastguard Worker<tr> 2996*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 2997*7c568831SAndroid Build Coastguard Worker<td>the last child or NULL if parent has no children.</td> 2998*7c568831SAndroid Build Coastguard Worker</tr> 2999*7c568831SAndroid Build Coastguard Worker</tbody> 3000*7c568831SAndroid Build Coastguard Worker</table></div> 3001*7c568831SAndroid Build Coastguard Worker</div> 3002*7c568831SAndroid Build Coastguard Worker<hr> 3003*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3004*7c568831SAndroid Build Coastguard Worker<h3> 3005*7c568831SAndroid Build Coastguard Worker<a name="xmlGetLineNo"></a>xmlGetLineNo ()</h3> 3006*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">long xmlGetLineNo (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node)<br> 3007*7c568831SAndroid Build Coastguard Worker</pre> 3008*7c568831SAndroid Build Coastguard Worker<p>Get line number of @node. Try to override the limitation of lines being store in 16 bits ints if <a href="libxml2-parser.html#XML_PARSE_BIG_LINES">XML_PARSE_BIG_LINES</a> parser option was used</p> 3009*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3010*7c568831SAndroid Build Coastguard Worker<col align="left"> 3011*7c568831SAndroid Build Coastguard Worker<tbody> 3012*7c568831SAndroid Build Coastguard Worker<tr> 3013*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3014*7c568831SAndroid Build Coastguard Worker<td>valid node</td> 3015*7c568831SAndroid Build Coastguard Worker</tr> 3016*7c568831SAndroid Build Coastguard Worker<tr> 3017*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3018*7c568831SAndroid Build Coastguard Worker<td>the line number if successful, -1 otherwise</td> 3019*7c568831SAndroid Build Coastguard Worker</tr> 3020*7c568831SAndroid Build Coastguard Worker</tbody> 3021*7c568831SAndroid Build Coastguard Worker</table></div> 3022*7c568831SAndroid Build Coastguard Worker</div> 3023*7c568831SAndroid Build Coastguard Worker<hr> 3024*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3025*7c568831SAndroid Build Coastguard Worker<h3> 3026*7c568831SAndroid Build Coastguard Worker<a name="xmlGetNoNsProp"></a>xmlGetNoNsProp ()</h3> 3027*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlGetNoNsProp (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3028*7c568831SAndroid Build Coastguard Worker</pre> 3029*7c568831SAndroid Build Coastguard Worker<p>Search and get the value of an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This does the entity substitution. This function looks in DTD <a href="libxml2-SAX.html#attribute">attribute</a> declaration for #FIXED or default declaration values. This function is similar to <a href="libxml2-tree.html#xmlGetProp">xmlGetProp</a> except it will accept only an <a href="libxml2-SAX.html#attribute">attribute</a> in no namespace. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use <a href="libxml2-tree.html#xmlNodeGetAttrValue">xmlNodeGetAttrValue</a>.</p> 3030*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3031*7c568831SAndroid Build Coastguard Worker<col align="left"> 3032*7c568831SAndroid Build Coastguard Worker<tbody> 3033*7c568831SAndroid Build Coastguard Worker<tr> 3034*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3035*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3036*7c568831SAndroid Build Coastguard Worker</tr> 3037*7c568831SAndroid Build Coastguard Worker<tr> 3038*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3039*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 3040*7c568831SAndroid Build Coastguard Worker</tr> 3041*7c568831SAndroid Build Coastguard Worker<tr> 3042*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3043*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().</td> 3044*7c568831SAndroid Build Coastguard Worker</tr> 3045*7c568831SAndroid Build Coastguard Worker</tbody> 3046*7c568831SAndroid Build Coastguard Worker</table></div> 3047*7c568831SAndroid Build Coastguard Worker</div> 3048*7c568831SAndroid Build Coastguard Worker<hr> 3049*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3050*7c568831SAndroid Build Coastguard Worker<h3> 3051*7c568831SAndroid Build Coastguard Worker<a name="xmlGetNodePath"></a>xmlGetNodePath ()</h3> 3052*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlGetNodePath (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node)<br> 3053*7c568831SAndroid Build Coastguard Worker</pre> 3054*7c568831SAndroid Build Coastguard Worker<p>Build a structure based Path for the given node</p> 3055*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3056*7c568831SAndroid Build Coastguard Worker<col align="left"> 3057*7c568831SAndroid Build Coastguard Worker<tbody> 3058*7c568831SAndroid Build Coastguard Worker<tr> 3059*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3060*7c568831SAndroid Build Coastguard Worker<td>a node</td> 3061*7c568831SAndroid Build Coastguard Worker</tr> 3062*7c568831SAndroid Build Coastguard Worker<tr> 3063*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3064*7c568831SAndroid Build Coastguard Worker<td>the new path or NULL in case of error. The caller must free the returned string</td> 3065*7c568831SAndroid Build Coastguard Worker</tr> 3066*7c568831SAndroid Build Coastguard Worker</tbody> 3067*7c568831SAndroid Build Coastguard Worker</table></div> 3068*7c568831SAndroid Build Coastguard Worker</div> 3069*7c568831SAndroid Build Coastguard Worker<hr> 3070*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3071*7c568831SAndroid Build Coastguard Worker<h3> 3072*7c568831SAndroid Build Coastguard Worker<a name="xmlGetNsList"></a>xmlGetNsList ()</h3> 3073*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> * xmlGetNsList (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node)<br> 3074*7c568831SAndroid Build Coastguard Worker</pre> 3075*7c568831SAndroid Build Coastguard Worker<p>Find all in-scope namespaces of a node. Use <a href="libxml2-tree.html#xmlGetNsListSafe">xmlGetNsListSafe</a> for better error reporting.</p> 3076*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3077*7c568831SAndroid Build Coastguard Worker<col align="left"> 3078*7c568831SAndroid Build Coastguard Worker<tbody> 3079*7c568831SAndroid Build Coastguard Worker<tr> 3080*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3081*7c568831SAndroid Build Coastguard Worker<td>the document</td> 3082*7c568831SAndroid Build Coastguard Worker</tr> 3083*7c568831SAndroid Build Coastguard Worker<tr> 3084*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3085*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 3086*7c568831SAndroid Build Coastguard Worker</tr> 3087*7c568831SAndroid Build Coastguard Worker<tr> 3088*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3089*7c568831SAndroid Build Coastguard Worker<td>a NULL terminated array of namespace pointers that must be freed by the caller or NULL if no namespaces were found or a memory allocation failed.</td> 3090*7c568831SAndroid Build Coastguard Worker</tr> 3091*7c568831SAndroid Build Coastguard Worker</tbody> 3092*7c568831SAndroid Build Coastguard Worker</table></div> 3093*7c568831SAndroid Build Coastguard Worker</div> 3094*7c568831SAndroid Build Coastguard Worker<hr> 3095*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3096*7c568831SAndroid Build Coastguard Worker<h3> 3097*7c568831SAndroid Build Coastguard Worker<a name="xmlGetNsListSafe"></a>xmlGetNsListSafe ()</h3> 3098*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlGetNsListSafe (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ** out)<br> 3099*7c568831SAndroid Build Coastguard Worker</pre> 3100*7c568831SAndroid Build Coastguard Worker<p>Find all in-scope namespaces of a node. @out returns a NULL terminated array of namespace pointers that must be freed by the caller. Available since 2.13.0.</p> 3101*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3102*7c568831SAndroid Build Coastguard Worker<col align="left"> 3103*7c568831SAndroid Build Coastguard Worker<tbody> 3104*7c568831SAndroid Build Coastguard Worker<tr> 3105*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3106*7c568831SAndroid Build Coastguard Worker<td>the document</td> 3107*7c568831SAndroid Build Coastguard Worker</tr> 3108*7c568831SAndroid Build Coastguard Worker<tr> 3109*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3110*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 3111*7c568831SAndroid Build Coastguard Worker</tr> 3112*7c568831SAndroid Build Coastguard Worker<tr> 3113*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out</tt></i>:</span></td> 3114*7c568831SAndroid Build Coastguard Worker<td>the returned namespace array</td> 3115*7c568831SAndroid Build Coastguard Worker</tr> 3116*7c568831SAndroid Build Coastguard Worker<tr> 3117*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3118*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 if no namespaces were found, -1 if a memory allocation failed.</td> 3119*7c568831SAndroid Build Coastguard Worker</tr> 3120*7c568831SAndroid Build Coastguard Worker</tbody> 3121*7c568831SAndroid Build Coastguard Worker</table></div> 3122*7c568831SAndroid Build Coastguard Worker</div> 3123*7c568831SAndroid Build Coastguard Worker<hr> 3124*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3125*7c568831SAndroid Build Coastguard Worker<h3> 3126*7c568831SAndroid Build Coastguard Worker<a name="xmlGetNsProp"></a>xmlGetNsProp ()</h3> 3127*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlGetNsProp (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace)<br> 3128*7c568831SAndroid Build Coastguard Worker</pre> 3129*7c568831SAndroid Build Coastguard Worker<p>Search and get the value of an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This <a href="libxml2-SAX.html#attribute">attribute</a> has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD <a href="libxml2-SAX.html#attribute">attribute</a> declaration for #FIXED or default declaration values. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use <a href="libxml2-tree.html#xmlNodeGetAttrValue">xmlNodeGetAttrValue</a>.</p> 3130*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3131*7c568831SAndroid Build Coastguard Worker<col align="left"> 3132*7c568831SAndroid Build Coastguard Worker<tbody> 3133*7c568831SAndroid Build Coastguard Worker<tr> 3134*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3135*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3136*7c568831SAndroid Build Coastguard Worker</tr> 3137*7c568831SAndroid Build Coastguard Worker<tr> 3138*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3139*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 3140*7c568831SAndroid Build Coastguard Worker</tr> 3141*7c568831SAndroid Build Coastguard Worker<tr> 3142*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nameSpace</tt></i>:</span></td> 3143*7c568831SAndroid Build Coastguard Worker<td>the URI of the namespace</td> 3144*7c568831SAndroid Build Coastguard Worker</tr> 3145*7c568831SAndroid Build Coastguard Worker<tr> 3146*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3147*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().</td> 3148*7c568831SAndroid Build Coastguard Worker</tr> 3149*7c568831SAndroid Build Coastguard Worker</tbody> 3150*7c568831SAndroid Build Coastguard Worker</table></div> 3151*7c568831SAndroid Build Coastguard Worker</div> 3152*7c568831SAndroid Build Coastguard Worker<hr> 3153*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3154*7c568831SAndroid Build Coastguard Worker<h3> 3155*7c568831SAndroid Build Coastguard Worker<a name="xmlGetProp"></a>xmlGetProp ()</h3> 3156*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlGetProp (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3157*7c568831SAndroid Build Coastguard Worker</pre> 3158*7c568831SAndroid Build Coastguard Worker<p>Search and get the value of an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This does the entity substitution. This function looks in DTD <a href="libxml2-SAX.html#attribute">attribute</a> declaration for #FIXED or default declaration values. NOTE: This function acts independently of namespaces associated to the <a href="libxml2-SAX.html#attribute">attribute</a>. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing. NOTE: This function doesn't allow to distinguish malloc failures from missing attributes. It's more robust to use <a href="libxml2-tree.html#xmlNodeGetAttrValue">xmlNodeGetAttrValue</a>.</p> 3159*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3160*7c568831SAndroid Build Coastguard Worker<col align="left"> 3161*7c568831SAndroid Build Coastguard Worker<tbody> 3162*7c568831SAndroid Build Coastguard Worker<tr> 3163*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3164*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3165*7c568831SAndroid Build Coastguard Worker</tr> 3166*7c568831SAndroid Build Coastguard Worker<tr> 3167*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3168*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 3169*7c568831SAndroid Build Coastguard Worker</tr> 3170*7c568831SAndroid Build Coastguard Worker<tr> 3171*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3172*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> value or NULL if not found or a memory allocation failed. It's up to the caller to free the memory with xmlFree().</td> 3173*7c568831SAndroid Build Coastguard Worker</tr> 3174*7c568831SAndroid Build Coastguard Worker</tbody> 3175*7c568831SAndroid Build Coastguard Worker</table></div> 3176*7c568831SAndroid Build Coastguard Worker</div> 3177*7c568831SAndroid Build Coastguard Worker<hr> 3178*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3179*7c568831SAndroid Build Coastguard Worker<h3> 3180*7c568831SAndroid Build Coastguard Worker<a name="xmlHasNsProp"></a>xmlHasNsProp ()</h3> 3181*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlHasNsProp (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace)<br> 3182*7c568831SAndroid Build Coastguard Worker</pre> 3183*7c568831SAndroid Build Coastguard Worker<p>Search for an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This <a href="libxml2-SAX.html#attribute">attribute</a> has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD <a href="libxml2-SAX.html#attribute">attribute</a> declaration for #FIXED or default declaration values. Note that a namespace of NULL indicates to use the default namespace.</p> 3184*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3185*7c568831SAndroid Build Coastguard Worker<col align="left"> 3186*7c568831SAndroid Build Coastguard Worker<tbody> 3187*7c568831SAndroid Build Coastguard Worker<tr> 3188*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3189*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3190*7c568831SAndroid Build Coastguard Worker</tr> 3191*7c568831SAndroid Build Coastguard Worker<tr> 3192*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3193*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 3194*7c568831SAndroid Build Coastguard Worker</tr> 3195*7c568831SAndroid Build Coastguard Worker<tr> 3196*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nameSpace</tt></i>:</span></td> 3197*7c568831SAndroid Build Coastguard Worker<td>the URI of the namespace</td> 3198*7c568831SAndroid Build Coastguard Worker</tr> 3199*7c568831SAndroid Build Coastguard Worker<tr> 3200*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3201*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> or the <a href="libxml2-SAX.html#attribute">attribute</a> declaration or NULL if neither was found. Also returns NULL if a memory allocation failed making this function unreliable.</td> 3202*7c568831SAndroid Build Coastguard Worker</tr> 3203*7c568831SAndroid Build Coastguard Worker</tbody> 3204*7c568831SAndroid Build Coastguard Worker</table></div> 3205*7c568831SAndroid Build Coastguard Worker</div> 3206*7c568831SAndroid Build Coastguard Worker<hr> 3207*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3208*7c568831SAndroid Build Coastguard Worker<h3> 3209*7c568831SAndroid Build Coastguard Worker<a name="xmlHasProp"></a>xmlHasProp ()</h3> 3210*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlHasProp (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3211*7c568831SAndroid Build Coastguard Worker</pre> 3212*7c568831SAndroid Build Coastguard Worker<p>Search an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This function also looks in DTD <a href="libxml2-SAX.html#attribute">attribute</a> declaration for #FIXED or default declaration values.</p> 3213*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3214*7c568831SAndroid Build Coastguard Worker<col align="left"> 3215*7c568831SAndroid Build Coastguard Worker<tbody> 3216*7c568831SAndroid Build Coastguard Worker<tr> 3217*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3218*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3219*7c568831SAndroid Build Coastguard Worker</tr> 3220*7c568831SAndroid Build Coastguard Worker<tr> 3221*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3222*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 3223*7c568831SAndroid Build Coastguard Worker</tr> 3224*7c568831SAndroid Build Coastguard Worker<tr> 3225*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3226*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> or the <a href="libxml2-SAX.html#attribute">attribute</a> declaration or NULL if neither was found. Also returns NULL if a memory allocation failed making this function unreliable.</td> 3227*7c568831SAndroid Build Coastguard Worker</tr> 3228*7c568831SAndroid Build Coastguard Worker</tbody> 3229*7c568831SAndroid Build Coastguard Worker</table></div> 3230*7c568831SAndroid Build Coastguard Worker</div> 3231*7c568831SAndroid Build Coastguard Worker<hr> 3232*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3233*7c568831SAndroid Build Coastguard Worker<h3> 3234*7c568831SAndroid Build Coastguard Worker<a name="xmlIsBlankNode"></a>xmlIsBlankNode ()</h3> 3235*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlIsBlankNode (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node)<br> 3236*7c568831SAndroid Build Coastguard Worker</pre> 3237*7c568831SAndroid Build Coastguard Worker<p>Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.</p> 3238*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3239*7c568831SAndroid Build Coastguard Worker<col align="left"> 3240*7c568831SAndroid Build Coastguard Worker<tbody> 3241*7c568831SAndroid Build Coastguard Worker<tr> 3242*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3243*7c568831SAndroid Build Coastguard Worker<td>the node</td> 3244*7c568831SAndroid Build Coastguard Worker</tr> 3245*7c568831SAndroid Build Coastguard Worker<tr> 3246*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3247*7c568831SAndroid Build Coastguard Worker<td>1 yes, 0 no</td> 3248*7c568831SAndroid Build Coastguard Worker</tr> 3249*7c568831SAndroid Build Coastguard Worker</tbody> 3250*7c568831SAndroid Build Coastguard Worker</table></div> 3251*7c568831SAndroid Build Coastguard Worker</div> 3252*7c568831SAndroid Build Coastguard Worker<hr> 3253*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3254*7c568831SAndroid Build Coastguard Worker<h3> 3255*7c568831SAndroid Build Coastguard Worker<a name="xmlIsXHTML"></a>xmlIsXHTML ()</h3> 3256*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlIsXHTML (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * systemID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * publicID)<br> 3257*7c568831SAndroid Build Coastguard Worker</pre> 3258*7c568831SAndroid Build Coastguard Worker<p>Try to find if the document correspond to an XHTML DTD</p> 3259*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3260*7c568831SAndroid Build Coastguard Worker<col align="left"> 3261*7c568831SAndroid Build Coastguard Worker<tbody> 3262*7c568831SAndroid Build Coastguard Worker<tr> 3263*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>systemID</tt></i>:</span></td> 3264*7c568831SAndroid Build Coastguard Worker<td>the system identifier</td> 3265*7c568831SAndroid Build Coastguard Worker</tr> 3266*7c568831SAndroid Build Coastguard Worker<tr> 3267*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>publicID</tt></i>:</span></td> 3268*7c568831SAndroid Build Coastguard Worker<td>the public identifier</td> 3269*7c568831SAndroid Build Coastguard Worker</tr> 3270*7c568831SAndroid Build Coastguard Worker<tr> 3271*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3272*7c568831SAndroid Build Coastguard Worker<td>1 if true, 0 if not and -1 in case of error</td> 3273*7c568831SAndroid Build Coastguard Worker</tr> 3274*7c568831SAndroid Build Coastguard Worker</tbody> 3275*7c568831SAndroid Build Coastguard Worker</table></div> 3276*7c568831SAndroid Build Coastguard Worker</div> 3277*7c568831SAndroid Build Coastguard Worker<hr> 3278*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3279*7c568831SAndroid Build Coastguard Worker<h3> 3280*7c568831SAndroid Build Coastguard Worker<a name="xmlLastElementChild"></a>xmlLastElementChild ()</h3> 3281*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlLastElementChild (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent)<br> 3282*7c568831SAndroid Build Coastguard Worker</pre> 3283*7c568831SAndroid Build Coastguard Worker<p>Find the last child node which is an element. Note that entity references are not expanded.</p> 3284*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3285*7c568831SAndroid Build Coastguard Worker<col align="left"> 3286*7c568831SAndroid Build Coastguard Worker<tbody> 3287*7c568831SAndroid Build Coastguard Worker<tr> 3288*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 3289*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 3290*7c568831SAndroid Build Coastguard Worker</tr> 3291*7c568831SAndroid Build Coastguard Worker<tr> 3292*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3293*7c568831SAndroid Build Coastguard Worker<td>the last element or NULL if parent has no children.</td> 3294*7c568831SAndroid Build Coastguard Worker</tr> 3295*7c568831SAndroid Build Coastguard Worker</tbody> 3296*7c568831SAndroid Build Coastguard Worker</table></div> 3297*7c568831SAndroid Build Coastguard Worker</div> 3298*7c568831SAndroid Build Coastguard Worker<hr> 3299*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3300*7c568831SAndroid Build Coastguard Worker<h3> 3301*7c568831SAndroid Build Coastguard Worker<a name="xmlNewCDataBlock"></a>xmlNewCDataBlock ()</h3> 3302*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewCDataBlock (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 3303*7c568831SAndroid Build Coastguard Worker</pre> 3304*7c568831SAndroid Build Coastguard Worker<p>Create a CDATA section node.</p> 3305*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3306*7c568831SAndroid Build Coastguard Worker<col align="left"> 3307*7c568831SAndroid Build Coastguard Worker<tbody> 3308*7c568831SAndroid Build Coastguard Worker<tr> 3309*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3310*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3311*7c568831SAndroid Build Coastguard Worker</tr> 3312*7c568831SAndroid Build Coastguard Worker<tr> 3313*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3314*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 3315*7c568831SAndroid Build Coastguard Worker</tr> 3316*7c568831SAndroid Build Coastguard Worker<tr> 3317*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 3318*7c568831SAndroid Build Coastguard Worker<td>size of text content</td> 3319*7c568831SAndroid Build Coastguard Worker</tr> 3320*7c568831SAndroid Build Coastguard Worker<tr> 3321*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3322*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3323*7c568831SAndroid Build Coastguard Worker</tr> 3324*7c568831SAndroid Build Coastguard Worker</tbody> 3325*7c568831SAndroid Build Coastguard Worker</table></div> 3326*7c568831SAndroid Build Coastguard Worker</div> 3327*7c568831SAndroid Build Coastguard Worker<hr> 3328*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3329*7c568831SAndroid Build Coastguard Worker<h3> 3330*7c568831SAndroid Build Coastguard Worker<a name="xmlNewCharRef"></a>xmlNewCharRef ()</h3> 3331*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewCharRef (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3332*7c568831SAndroid Build Coastguard Worker</pre> 3333*7c568831SAndroid Build Coastguard Worker<p>This function is MISNAMED. It doesn't create a character <a href="libxml2-SAX.html#reference">reference</a> but an entity <a href="libxml2-SAX.html#reference">reference</a>. Create an empty entity <a href="libxml2-SAX.html#reference">reference</a> node. This function doesn't attempt to look up the entity in @doc. Entity names like '&entity;' are handled as well.</p> 3334*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3335*7c568831SAndroid Build Coastguard Worker<col align="left"> 3336*7c568831SAndroid Build Coastguard Worker<tbody> 3337*7c568831SAndroid Build Coastguard Worker<tr> 3338*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3339*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3340*7c568831SAndroid Build Coastguard Worker</tr> 3341*7c568831SAndroid Build Coastguard Worker<tr> 3342*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3343*7c568831SAndroid Build Coastguard Worker<td>the entity name</td> 3344*7c568831SAndroid Build Coastguard Worker</tr> 3345*7c568831SAndroid Build Coastguard Worker<tr> 3346*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3347*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3348*7c568831SAndroid Build Coastguard Worker</tr> 3349*7c568831SAndroid Build Coastguard Worker</tbody> 3350*7c568831SAndroid Build Coastguard Worker</table></div> 3351*7c568831SAndroid Build Coastguard Worker</div> 3352*7c568831SAndroid Build Coastguard Worker<hr> 3353*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3354*7c568831SAndroid Build Coastguard Worker<h3> 3355*7c568831SAndroid Build Coastguard Worker<a name="xmlNewChild"></a>xmlNewChild ()</h3> 3356*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewChild (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3357*7c568831SAndroid Build Coastguard Worker</pre> 3358*7c568831SAndroid Build Coastguard Worker<p>Create a new child element and append it to a parent element. If @ns is NULL, the newly created element inherits the namespace of the parent. If provided, @content is expected to be a valid XML <a href="libxml2-SAX.html#attribute">attribute</a> value possibly containing character and entity references. Text and entity <a href="libxml2-SAX.html#reference">reference</a> node will be added to the child element, see <a href="libxml2-tree.html#xmlNewDocNode">xmlNewDocNode</a>.</p> 3359*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3360*7c568831SAndroid Build Coastguard Worker<col align="left"> 3361*7c568831SAndroid Build Coastguard Worker<tbody> 3362*7c568831SAndroid Build Coastguard Worker<tr> 3363*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 3364*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 3365*7c568831SAndroid Build Coastguard Worker</tr> 3366*7c568831SAndroid Build Coastguard Worker<tr> 3367*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3368*7c568831SAndroid Build Coastguard Worker<td>a namespace (optional)</td> 3369*7c568831SAndroid Build Coastguard Worker</tr> 3370*7c568831SAndroid Build Coastguard Worker<tr> 3371*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3372*7c568831SAndroid Build Coastguard Worker<td>the name of the child</td> 3373*7c568831SAndroid Build Coastguard Worker</tr> 3374*7c568831SAndroid Build Coastguard Worker<tr> 3375*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3376*7c568831SAndroid Build Coastguard Worker<td>text content with XML references (optional)</td> 3377*7c568831SAndroid Build Coastguard Worker</tr> 3378*7c568831SAndroid Build Coastguard Worker<tr> 3379*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3380*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3381*7c568831SAndroid Build Coastguard Worker</tr> 3382*7c568831SAndroid Build Coastguard Worker</tbody> 3383*7c568831SAndroid Build Coastguard Worker</table></div> 3384*7c568831SAndroid Build Coastguard Worker</div> 3385*7c568831SAndroid Build Coastguard Worker<hr> 3386*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3387*7c568831SAndroid Build Coastguard Worker<h3> 3388*7c568831SAndroid Build Coastguard Worker<a name="xmlNewComment"></a>xmlNewComment ()</h3> 3389*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewComment (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3390*7c568831SAndroid Build Coastguard Worker</pre> 3391*7c568831SAndroid Build Coastguard Worker<p>Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocComment">xmlNewDocComment</a>. Create a <a href="libxml2-SAX.html#comment">comment</a> node.</p> 3392*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3393*7c568831SAndroid Build Coastguard Worker<col align="left"> 3394*7c568831SAndroid Build Coastguard Worker<tbody> 3395*7c568831SAndroid Build Coastguard Worker<tr> 3396*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3397*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#comment">comment</a> content (optional)</td> 3398*7c568831SAndroid Build Coastguard Worker</tr> 3399*7c568831SAndroid Build Coastguard Worker<tr> 3400*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3401*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3402*7c568831SAndroid Build Coastguard Worker</tr> 3403*7c568831SAndroid Build Coastguard Worker</tbody> 3404*7c568831SAndroid Build Coastguard Worker</table></div> 3405*7c568831SAndroid Build Coastguard Worker</div> 3406*7c568831SAndroid Build Coastguard Worker<hr> 3407*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3408*7c568831SAndroid Build Coastguard Worker<h3> 3409*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDoc"></a>xmlNewDoc ()</h3> 3410*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> xmlNewDoc (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version)<br> 3411*7c568831SAndroid Build Coastguard Worker</pre> 3412*7c568831SAndroid Build Coastguard Worker<p>Creates a new XML document. If version is NULL, "1.0" is used.</p> 3413*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3414*7c568831SAndroid Build Coastguard Worker<col align="left"> 3415*7c568831SAndroid Build Coastguard Worker<tbody> 3416*7c568831SAndroid Build Coastguard Worker<tr> 3417*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>version</tt></i>:</span></td> 3418*7c568831SAndroid Build Coastguard Worker<td>XML version string like "1.0" (optional)</td> 3419*7c568831SAndroid Build Coastguard Worker</tr> 3420*7c568831SAndroid Build Coastguard Worker<tr> 3421*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3422*7c568831SAndroid Build Coastguard Worker<td>a new document or NULL if a memory allocation failed.</td> 3423*7c568831SAndroid Build Coastguard Worker</tr> 3424*7c568831SAndroid Build Coastguard Worker</tbody> 3425*7c568831SAndroid Build Coastguard Worker</table></div> 3426*7c568831SAndroid Build Coastguard Worker</div> 3427*7c568831SAndroid Build Coastguard Worker<hr> 3428*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3429*7c568831SAndroid Build Coastguard Worker<h3> 3430*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocComment"></a>xmlNewDocComment ()</h3> 3431*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocComment (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3432*7c568831SAndroid Build Coastguard Worker</pre> 3433*7c568831SAndroid Build Coastguard Worker<p>Create a <a href="libxml2-SAX.html#comment">comment</a> node.</p> 3434*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3435*7c568831SAndroid Build Coastguard Worker<col align="left"> 3436*7c568831SAndroid Build Coastguard Worker<tbody> 3437*7c568831SAndroid Build Coastguard Worker<tr> 3438*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3439*7c568831SAndroid Build Coastguard Worker<td>the document</td> 3440*7c568831SAndroid Build Coastguard Worker</tr> 3441*7c568831SAndroid Build Coastguard Worker<tr> 3442*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3443*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#comment">comment</a> content</td> 3444*7c568831SAndroid Build Coastguard Worker</tr> 3445*7c568831SAndroid Build Coastguard Worker<tr> 3446*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3447*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3448*7c568831SAndroid Build Coastguard Worker</tr> 3449*7c568831SAndroid Build Coastguard Worker</tbody> 3450*7c568831SAndroid Build Coastguard Worker</table></div> 3451*7c568831SAndroid Build Coastguard Worker</div> 3452*7c568831SAndroid Build Coastguard Worker<hr> 3453*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3454*7c568831SAndroid Build Coastguard Worker<h3> 3455*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocFragment"></a>xmlNewDocFragment ()</h3> 3456*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocFragment (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br> 3457*7c568831SAndroid Build Coastguard Worker</pre> 3458*7c568831SAndroid Build Coastguard Worker<p>Create a document fragment node.</p> 3459*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3460*7c568831SAndroid Build Coastguard Worker<col align="left"> 3461*7c568831SAndroid Build Coastguard Worker<tbody> 3462*7c568831SAndroid Build Coastguard Worker<tr> 3463*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3464*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3465*7c568831SAndroid Build Coastguard Worker</tr> 3466*7c568831SAndroid Build Coastguard Worker<tr> 3467*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3468*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3469*7c568831SAndroid Build Coastguard Worker</tr> 3470*7c568831SAndroid Build Coastguard Worker</tbody> 3471*7c568831SAndroid Build Coastguard Worker</table></div> 3472*7c568831SAndroid Build Coastguard Worker</div> 3473*7c568831SAndroid Build Coastguard Worker<hr> 3474*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3475*7c568831SAndroid Build Coastguard Worker<h3> 3476*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocNode"></a>xmlNewDocNode ()</h3> 3477*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocNode (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3478*7c568831SAndroid Build Coastguard Worker</pre> 3479*7c568831SAndroid Build Coastguard Worker<p>Create an element node. If provided, @content is expected to be a valid XML <a href="libxml2-SAX.html#attribute">attribute</a> value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. Only references are handled, nested elements, comments or PIs are not. See <a href="libxml2-tree.html#xmlNewDocRawNode">xmlNewDocRawNode</a> for an alternative. General notes on object creation: Each node and all its children are associated with the same document. The document should be provided when creating nodes to avoid a performance penalty when adding the node to a document tree. Note that a document only owns nodes reachable from the root node. Unlinked subtrees must be freed manually.</p> 3480*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3481*7c568831SAndroid Build Coastguard Worker<col align="left"> 3482*7c568831SAndroid Build Coastguard Worker<tbody> 3483*7c568831SAndroid Build Coastguard Worker<tr> 3484*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3485*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 3486*7c568831SAndroid Build Coastguard Worker</tr> 3487*7c568831SAndroid Build Coastguard Worker<tr> 3488*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3489*7c568831SAndroid Build Coastguard Worker<td>namespace (optional)</td> 3490*7c568831SAndroid Build Coastguard Worker</tr> 3491*7c568831SAndroid Build Coastguard Worker<tr> 3492*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3493*7c568831SAndroid Build Coastguard Worker<td>the node name</td> 3494*7c568831SAndroid Build Coastguard Worker</tr> 3495*7c568831SAndroid Build Coastguard Worker<tr> 3496*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3497*7c568831SAndroid Build Coastguard Worker<td>text content with XML references (optional)</td> 3498*7c568831SAndroid Build Coastguard Worker</tr> 3499*7c568831SAndroid Build Coastguard Worker<tr> 3500*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3501*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3502*7c568831SAndroid Build Coastguard Worker</tr> 3503*7c568831SAndroid Build Coastguard Worker</tbody> 3504*7c568831SAndroid Build Coastguard Worker</table></div> 3505*7c568831SAndroid Build Coastguard Worker</div> 3506*7c568831SAndroid Build Coastguard Worker<hr> 3507*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3508*7c568831SAndroid Build Coastguard Worker<h3> 3509*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocNodeEatName"></a>xmlNewDocNodeEatName ()</h3> 3510*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocNodeEatName (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3511*7c568831SAndroid Build Coastguard Worker</pre> 3512*7c568831SAndroid Build Coastguard Worker<p>Create an element node. Like xmlNewDocNode, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.</p> 3513*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3514*7c568831SAndroid Build Coastguard Worker<col align="left"> 3515*7c568831SAndroid Build Coastguard Worker<tbody> 3516*7c568831SAndroid Build Coastguard Worker<tr> 3517*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3518*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 3519*7c568831SAndroid Build Coastguard Worker</tr> 3520*7c568831SAndroid Build Coastguard Worker<tr> 3521*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3522*7c568831SAndroid Build Coastguard Worker<td>namespace (optional)</td> 3523*7c568831SAndroid Build Coastguard Worker</tr> 3524*7c568831SAndroid Build Coastguard Worker<tr> 3525*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3526*7c568831SAndroid Build Coastguard Worker<td>the node name</td> 3527*7c568831SAndroid Build Coastguard Worker</tr> 3528*7c568831SAndroid Build Coastguard Worker<tr> 3529*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3530*7c568831SAndroid Build Coastguard Worker<td>text content with XML references (optional)</td> 3531*7c568831SAndroid Build Coastguard Worker</tr> 3532*7c568831SAndroid Build Coastguard Worker<tr> 3533*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3534*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3535*7c568831SAndroid Build Coastguard Worker</tr> 3536*7c568831SAndroid Build Coastguard Worker</tbody> 3537*7c568831SAndroid Build Coastguard Worker</table></div> 3538*7c568831SAndroid Build Coastguard Worker</div> 3539*7c568831SAndroid Build Coastguard Worker<hr> 3540*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3541*7c568831SAndroid Build Coastguard Worker<h3> 3542*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocPI"></a>xmlNewDocPI ()</h3> 3543*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocPI (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3544*7c568831SAndroid Build Coastguard Worker</pre> 3545*7c568831SAndroid Build Coastguard Worker<p>Create a processing instruction object.</p> 3546*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3547*7c568831SAndroid Build Coastguard Worker<col align="left"> 3548*7c568831SAndroid Build Coastguard Worker<tbody> 3549*7c568831SAndroid Build Coastguard Worker<tr> 3550*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3551*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3552*7c568831SAndroid Build Coastguard Worker</tr> 3553*7c568831SAndroid Build Coastguard Worker<tr> 3554*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3555*7c568831SAndroid Build Coastguard Worker<td>the processing instruction target</td> 3556*7c568831SAndroid Build Coastguard Worker</tr> 3557*7c568831SAndroid Build Coastguard Worker<tr> 3558*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3559*7c568831SAndroid Build Coastguard Worker<td>the PI content (optional)</td> 3560*7c568831SAndroid Build Coastguard Worker</tr> 3561*7c568831SAndroid Build Coastguard Worker<tr> 3562*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3563*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3564*7c568831SAndroid Build Coastguard Worker</tr> 3565*7c568831SAndroid Build Coastguard Worker</tbody> 3566*7c568831SAndroid Build Coastguard Worker</table></div> 3567*7c568831SAndroid Build Coastguard Worker</div> 3568*7c568831SAndroid Build Coastguard Worker<hr> 3569*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3570*7c568831SAndroid Build Coastguard Worker<h3> 3571*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocProp"></a>xmlNewDocProp ()</h3> 3572*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlNewDocProp (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 3573*7c568831SAndroid Build Coastguard Worker</pre> 3574*7c568831SAndroid Build Coastguard Worker<p>Create an <a href="libxml2-SAX.html#attribute">attribute</a> object. If provided, @value is expected to be a valid XML <a href="libxml2-SAX.html#attribute">attribute</a> value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. If you want to pass a raw string, see <a href="libxml2-tree.html#xmlNewProp">xmlNewProp</a>.</p> 3575*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3576*7c568831SAndroid Build Coastguard Worker<col align="left"> 3577*7c568831SAndroid Build Coastguard Worker<tbody> 3578*7c568831SAndroid Build Coastguard Worker<tr> 3579*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3580*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3581*7c568831SAndroid Build Coastguard Worker</tr> 3582*7c568831SAndroid Build Coastguard Worker<tr> 3583*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3584*7c568831SAndroid Build Coastguard Worker<td>the name of the <a href="libxml2-SAX.html#attribute">attribute</a> 3585*7c568831SAndroid Build Coastguard Worker</td> 3586*7c568831SAndroid Build Coastguard Worker</tr> 3587*7c568831SAndroid Build Coastguard Worker<tr> 3588*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 3589*7c568831SAndroid Build Coastguard Worker<td> 3590*7c568831SAndroid Build Coastguard Worker<a href="libxml2-SAX.html#attribute">attribute</a> value with XML references (optional)</td> 3591*7c568831SAndroid Build Coastguard Worker</tr> 3592*7c568831SAndroid Build Coastguard Worker<tr> 3593*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3594*7c568831SAndroid Build Coastguard Worker<td>a pointer to the <a href="libxml2-SAX.html#attribute">attribute</a> or NULL if arguments are invalid or a memory allocation failed.</td> 3595*7c568831SAndroid Build Coastguard Worker</tr> 3596*7c568831SAndroid Build Coastguard Worker</tbody> 3597*7c568831SAndroid Build Coastguard Worker</table></div> 3598*7c568831SAndroid Build Coastguard Worker</div> 3599*7c568831SAndroid Build Coastguard Worker<hr> 3600*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3601*7c568831SAndroid Build Coastguard Worker<h3> 3602*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocRawNode"></a>xmlNewDocRawNode ()</h3> 3603*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocRawNode (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3604*7c568831SAndroid Build Coastguard Worker</pre> 3605*7c568831SAndroid Build Coastguard Worker<p>Create an element node. If provided, @value should be a raw, unescaped string.</p> 3606*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3607*7c568831SAndroid Build Coastguard Worker<col align="left"> 3608*7c568831SAndroid Build Coastguard Worker<tbody> 3609*7c568831SAndroid Build Coastguard Worker<tr> 3610*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3611*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 3612*7c568831SAndroid Build Coastguard Worker</tr> 3613*7c568831SAndroid Build Coastguard Worker<tr> 3614*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3615*7c568831SAndroid Build Coastguard Worker<td>namespace (optional)</td> 3616*7c568831SAndroid Build Coastguard Worker</tr> 3617*7c568831SAndroid Build Coastguard Worker<tr> 3618*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3619*7c568831SAndroid Build Coastguard Worker<td>the node name</td> 3620*7c568831SAndroid Build Coastguard Worker</tr> 3621*7c568831SAndroid Build Coastguard Worker<tr> 3622*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3623*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 3624*7c568831SAndroid Build Coastguard Worker</tr> 3625*7c568831SAndroid Build Coastguard Worker<tr> 3626*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3627*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3628*7c568831SAndroid Build Coastguard Worker</tr> 3629*7c568831SAndroid Build Coastguard Worker</tbody> 3630*7c568831SAndroid Build Coastguard Worker</table></div> 3631*7c568831SAndroid Build Coastguard Worker</div> 3632*7c568831SAndroid Build Coastguard Worker<hr> 3633*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3634*7c568831SAndroid Build Coastguard Worker<h3> 3635*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocText"></a>xmlNewDocText ()</h3> 3636*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocText (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3637*7c568831SAndroid Build Coastguard Worker</pre> 3638*7c568831SAndroid Build Coastguard Worker<p>Create a new text node.</p> 3639*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3640*7c568831SAndroid Build Coastguard Worker<col align="left"> 3641*7c568831SAndroid Build Coastguard Worker<tbody> 3642*7c568831SAndroid Build Coastguard Worker<tr> 3643*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3644*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 3645*7c568831SAndroid Build Coastguard Worker</tr> 3646*7c568831SAndroid Build Coastguard Worker<tr> 3647*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3648*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 3649*7c568831SAndroid Build Coastguard Worker</tr> 3650*7c568831SAndroid Build Coastguard Worker<tr> 3651*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3652*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3653*7c568831SAndroid Build Coastguard Worker</tr> 3654*7c568831SAndroid Build Coastguard Worker</tbody> 3655*7c568831SAndroid Build Coastguard Worker</table></div> 3656*7c568831SAndroid Build Coastguard Worker</div> 3657*7c568831SAndroid Build Coastguard Worker<hr> 3658*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3659*7c568831SAndroid Build Coastguard Worker<h3> 3660*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDocTextLen"></a>xmlNewDocTextLen ()</h3> 3661*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewDocTextLen (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 3662*7c568831SAndroid Build Coastguard Worker</pre> 3663*7c568831SAndroid Build Coastguard Worker<p>Create a new text node.</p> 3664*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3665*7c568831SAndroid Build Coastguard Worker<col align="left"> 3666*7c568831SAndroid Build Coastguard Worker<tbody> 3667*7c568831SAndroid Build Coastguard Worker<tr> 3668*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3669*7c568831SAndroid Build Coastguard Worker<td>the target document</td> 3670*7c568831SAndroid Build Coastguard Worker</tr> 3671*7c568831SAndroid Build Coastguard Worker<tr> 3672*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3673*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 3674*7c568831SAndroid Build Coastguard Worker</tr> 3675*7c568831SAndroid Build Coastguard Worker<tr> 3676*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 3677*7c568831SAndroid Build Coastguard Worker<td>size of text content</td> 3678*7c568831SAndroid Build Coastguard Worker</tr> 3679*7c568831SAndroid Build Coastguard Worker<tr> 3680*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3681*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3682*7c568831SAndroid Build Coastguard Worker</tr> 3683*7c568831SAndroid Build Coastguard Worker</tbody> 3684*7c568831SAndroid Build Coastguard Worker</table></div> 3685*7c568831SAndroid Build Coastguard Worker</div> 3686*7c568831SAndroid Build Coastguard Worker<hr> 3687*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3688*7c568831SAndroid Build Coastguard Worker<h3> 3689*7c568831SAndroid Build Coastguard Worker<a name="xmlNewDtd"></a>xmlNewDtd ()</h3> 3690*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDtdPtr">xmlDtdPtr</a> xmlNewDtd (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ExternalID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * SystemID)<br> 3691*7c568831SAndroid Build Coastguard Worker</pre> 3692*7c568831SAndroid Build Coastguard Worker<p>Create a DTD node. If a document is provided, it is an error if it already has an external subset. If the document has no external subset, it will be set to the created DTD. To create an internal subset, use xmlCreateIntSubset().</p> 3693*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3694*7c568831SAndroid Build Coastguard Worker<col align="left"> 3695*7c568831SAndroid Build Coastguard Worker<tbody> 3696*7c568831SAndroid Build Coastguard Worker<tr> 3697*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3698*7c568831SAndroid Build Coastguard Worker<td>the document pointer (optional)</td> 3699*7c568831SAndroid Build Coastguard Worker</tr> 3700*7c568831SAndroid Build Coastguard Worker<tr> 3701*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3702*7c568831SAndroid Build Coastguard Worker<td>the DTD name (optional)</td> 3703*7c568831SAndroid Build Coastguard Worker</tr> 3704*7c568831SAndroid Build Coastguard Worker<tr> 3705*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ExternalID</tt></i>:</span></td> 3706*7c568831SAndroid Build Coastguard Worker<td>the external ID (optional)</td> 3707*7c568831SAndroid Build Coastguard Worker</tr> 3708*7c568831SAndroid Build Coastguard Worker<tr> 3709*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>SystemID</tt></i>:</span></td> 3710*7c568831SAndroid Build Coastguard Worker<td>the system ID (optional)</td> 3711*7c568831SAndroid Build Coastguard Worker</tr> 3712*7c568831SAndroid Build Coastguard Worker<tr> 3713*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3714*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new DTD object or NULL if arguments are invalid or a memory allocation failed.</td> 3715*7c568831SAndroid Build Coastguard Worker</tr> 3716*7c568831SAndroid Build Coastguard Worker</tbody> 3717*7c568831SAndroid Build Coastguard Worker</table></div> 3718*7c568831SAndroid Build Coastguard Worker</div> 3719*7c568831SAndroid Build Coastguard Worker<hr> 3720*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3721*7c568831SAndroid Build Coastguard Worker<h3> 3722*7c568831SAndroid Build Coastguard Worker<a name="xmlNewGlobalNs"></a>xmlNewGlobalNs ()</h3> 3723*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlNewGlobalNs (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br> 3724*7c568831SAndroid Build Coastguard Worker</pre> 3725*7c568831SAndroid Build Coastguard Worker<p>Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!!</p> 3726*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3727*7c568831SAndroid Build Coastguard Worker<col align="left"> 3728*7c568831SAndroid Build Coastguard Worker<tbody> 3729*7c568831SAndroid Build Coastguard Worker<tr> 3730*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3731*7c568831SAndroid Build Coastguard Worker<td>the document carrying the namespace</td> 3732*7c568831SAndroid Build Coastguard Worker</tr> 3733*7c568831SAndroid Build Coastguard Worker<tr> 3734*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>href</tt></i>:</span></td> 3735*7c568831SAndroid Build Coastguard Worker<td>the URI associated</td> 3736*7c568831SAndroid Build Coastguard Worker</tr> 3737*7c568831SAndroid Build Coastguard Worker<tr> 3738*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 3739*7c568831SAndroid Build Coastguard Worker<td>the prefix for the namespace</td> 3740*7c568831SAndroid Build Coastguard Worker</tr> 3741*7c568831SAndroid Build Coastguard Worker<tr> 3742*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3743*7c568831SAndroid Build Coastguard Worker<td>NULL this functionality had been removed</td> 3744*7c568831SAndroid Build Coastguard Worker</tr> 3745*7c568831SAndroid Build Coastguard Worker</tbody> 3746*7c568831SAndroid Build Coastguard Worker</table></div> 3747*7c568831SAndroid Build Coastguard Worker</div> 3748*7c568831SAndroid Build Coastguard Worker<hr> 3749*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3750*7c568831SAndroid Build Coastguard Worker<h3> 3751*7c568831SAndroid Build Coastguard Worker<a name="xmlNewNode"></a>xmlNewNode ()</h3> 3752*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewNode (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3753*7c568831SAndroid Build Coastguard Worker</pre> 3754*7c568831SAndroid Build Coastguard Worker<p>Create an element node. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocNode">xmlNewDocNode</a>.</p> 3755*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3756*7c568831SAndroid Build Coastguard Worker<col align="left"> 3757*7c568831SAndroid Build Coastguard Worker<tbody> 3758*7c568831SAndroid Build Coastguard Worker<tr> 3759*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3760*7c568831SAndroid Build Coastguard Worker<td>namespace (optional)</td> 3761*7c568831SAndroid Build Coastguard Worker</tr> 3762*7c568831SAndroid Build Coastguard Worker<tr> 3763*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3764*7c568831SAndroid Build Coastguard Worker<td>the node name</td> 3765*7c568831SAndroid Build Coastguard Worker</tr> 3766*7c568831SAndroid Build Coastguard Worker<tr> 3767*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3768*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3769*7c568831SAndroid Build Coastguard Worker</tr> 3770*7c568831SAndroid Build Coastguard Worker</tbody> 3771*7c568831SAndroid Build Coastguard Worker</table></div> 3772*7c568831SAndroid Build Coastguard Worker</div> 3773*7c568831SAndroid Build Coastguard Worker<hr> 3774*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3775*7c568831SAndroid Build Coastguard Worker<h3> 3776*7c568831SAndroid Build Coastguard Worker<a name="xmlNewNodeEatName"></a>xmlNewNodeEatName ()</h3> 3777*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewNodeEatName (<a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3778*7c568831SAndroid Build Coastguard Worker</pre> 3779*7c568831SAndroid Build Coastguard Worker<p>Create an element node. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocNodeEatName">xmlNewDocNodeEatName</a>. Like xmlNewNode, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.</p> 3780*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3781*7c568831SAndroid Build Coastguard Worker<col align="left"> 3782*7c568831SAndroid Build Coastguard Worker<tbody> 3783*7c568831SAndroid Build Coastguard Worker<tr> 3784*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3785*7c568831SAndroid Build Coastguard Worker<td>namespace (optional)</td> 3786*7c568831SAndroid Build Coastguard Worker</tr> 3787*7c568831SAndroid Build Coastguard Worker<tr> 3788*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3789*7c568831SAndroid Build Coastguard Worker<td>the node name</td> 3790*7c568831SAndroid Build Coastguard Worker</tr> 3791*7c568831SAndroid Build Coastguard Worker<tr> 3792*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3793*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3794*7c568831SAndroid Build Coastguard Worker</tr> 3795*7c568831SAndroid Build Coastguard Worker</tbody> 3796*7c568831SAndroid Build Coastguard Worker</table></div> 3797*7c568831SAndroid Build Coastguard Worker</div> 3798*7c568831SAndroid Build Coastguard Worker<hr> 3799*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3800*7c568831SAndroid Build Coastguard Worker<h3> 3801*7c568831SAndroid Build Coastguard Worker<a name="xmlNewNs"></a>xmlNewNs ()</h3> 3802*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlNewNs (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br> 3803*7c568831SAndroid Build Coastguard Worker</pre> 3804*7c568831SAndroid Build Coastguard Worker<p>Create a new namespace. For a default namespace, @prefix should be NULL. The namespace URI in @href is not checked. You should make sure to pass a valid URI. If @node is provided, it must be an element node. The namespace will be appended to the node's namespace declarations. It is an error if the node already has a definition for the prefix or default namespace.</p> 3805*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3806*7c568831SAndroid Build Coastguard Worker<col align="left"> 3807*7c568831SAndroid Build Coastguard Worker<tbody> 3808*7c568831SAndroid Build Coastguard Worker<tr> 3809*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3810*7c568831SAndroid Build Coastguard Worker<td>the element carrying the namespace (optional)</td> 3811*7c568831SAndroid Build Coastguard Worker</tr> 3812*7c568831SAndroid Build Coastguard Worker<tr> 3813*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>href</tt></i>:</span></td> 3814*7c568831SAndroid Build Coastguard Worker<td>the URI associated</td> 3815*7c568831SAndroid Build Coastguard Worker</tr> 3816*7c568831SAndroid Build Coastguard Worker<tr> 3817*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 3818*7c568831SAndroid Build Coastguard Worker<td>the prefix for the namespace (optional)</td> 3819*7c568831SAndroid Build Coastguard Worker</tr> 3820*7c568831SAndroid Build Coastguard Worker<tr> 3821*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3822*7c568831SAndroid Build Coastguard Worker<td>a new namespace pointer or NULL if arguments are invalid, the prefix is already in use or a memory allocation failed.</td> 3823*7c568831SAndroid Build Coastguard Worker</tr> 3824*7c568831SAndroid Build Coastguard Worker</tbody> 3825*7c568831SAndroid Build Coastguard Worker</table></div> 3826*7c568831SAndroid Build Coastguard Worker</div> 3827*7c568831SAndroid Build Coastguard Worker<hr> 3828*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3829*7c568831SAndroid Build Coastguard Worker<h3> 3830*7c568831SAndroid Build Coastguard Worker<a name="xmlNewNsProp"></a>xmlNewNsProp ()</h3> 3831*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlNewNsProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 3832*7c568831SAndroid Build Coastguard Worker</pre> 3833*7c568831SAndroid Build Coastguard Worker<p>Create an <a href="libxml2-SAX.html#attribute">attribute</a> object. If provided, @value should be a raw, unescaped string. If @node is provided, the created <a href="libxml2-SAX.html#attribute">attribute</a> will be appended without checking for duplicate names. It is an error if @node is not an element.</p> 3834*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3835*7c568831SAndroid Build Coastguard Worker<col align="left"> 3836*7c568831SAndroid Build Coastguard Worker<tbody> 3837*7c568831SAndroid Build Coastguard Worker<tr> 3838*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3839*7c568831SAndroid Build Coastguard Worker<td>the parent node (optional)</td> 3840*7c568831SAndroid Build Coastguard Worker</tr> 3841*7c568831SAndroid Build Coastguard Worker<tr> 3842*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3843*7c568831SAndroid Build Coastguard Worker<td>the namespace (optional)</td> 3844*7c568831SAndroid Build Coastguard Worker</tr> 3845*7c568831SAndroid Build Coastguard Worker<tr> 3846*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3847*7c568831SAndroid Build Coastguard Worker<td>the local name of the <a href="libxml2-SAX.html#attribute">attribute</a> 3848*7c568831SAndroid Build Coastguard Worker</td> 3849*7c568831SAndroid Build Coastguard Worker</tr> 3850*7c568831SAndroid Build Coastguard Worker<tr> 3851*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 3852*7c568831SAndroid Build Coastguard Worker<td>the value of the <a href="libxml2-SAX.html#attribute">attribute</a> (optional)</td> 3853*7c568831SAndroid Build Coastguard Worker</tr> 3854*7c568831SAndroid Build Coastguard Worker<tr> 3855*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3856*7c568831SAndroid Build Coastguard Worker<td>a pointer to the <a href="libxml2-SAX.html#attribute">attribute</a> or NULL if arguments are invalid or a memory allocation failed.</td> 3857*7c568831SAndroid Build Coastguard Worker</tr> 3858*7c568831SAndroid Build Coastguard Worker</tbody> 3859*7c568831SAndroid Build Coastguard Worker</table></div> 3860*7c568831SAndroid Build Coastguard Worker</div> 3861*7c568831SAndroid Build Coastguard Worker<hr> 3862*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3863*7c568831SAndroid Build Coastguard Worker<h3> 3864*7c568831SAndroid Build Coastguard Worker<a name="xmlNewNsPropEatName"></a>xmlNewNsPropEatName ()</h3> 3865*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlNewNsPropEatName (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 3866*7c568831SAndroid Build Coastguard Worker</pre> 3867*7c568831SAndroid Build Coastguard Worker<p>Like xmlNewNsProp, but the @name string will be used directly without making a copy. Takes ownership of @name which will also be freed on error.</p> 3868*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3869*7c568831SAndroid Build Coastguard Worker<col align="left"> 3870*7c568831SAndroid Build Coastguard Worker<tbody> 3871*7c568831SAndroid Build Coastguard Worker<tr> 3872*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3873*7c568831SAndroid Build Coastguard Worker<td>the parent node (optional)</td> 3874*7c568831SAndroid Build Coastguard Worker</tr> 3875*7c568831SAndroid Build Coastguard Worker<tr> 3876*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 3877*7c568831SAndroid Build Coastguard Worker<td>the namespace (optional)</td> 3878*7c568831SAndroid Build Coastguard Worker</tr> 3879*7c568831SAndroid Build Coastguard Worker<tr> 3880*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3881*7c568831SAndroid Build Coastguard Worker<td>the local name of the <a href="libxml2-SAX.html#attribute">attribute</a> 3882*7c568831SAndroid Build Coastguard Worker</td> 3883*7c568831SAndroid Build Coastguard Worker</tr> 3884*7c568831SAndroid Build Coastguard Worker<tr> 3885*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 3886*7c568831SAndroid Build Coastguard Worker<td>the value of the <a href="libxml2-SAX.html#attribute">attribute</a> (optional)</td> 3887*7c568831SAndroid Build Coastguard Worker</tr> 3888*7c568831SAndroid Build Coastguard Worker<tr> 3889*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3890*7c568831SAndroid Build Coastguard Worker<td>a pointer to the <a href="libxml2-SAX.html#attribute">attribute</a> or NULL if arguments are invalid or a memory allocation failed.</td> 3891*7c568831SAndroid Build Coastguard Worker</tr> 3892*7c568831SAndroid Build Coastguard Worker</tbody> 3893*7c568831SAndroid Build Coastguard Worker</table></div> 3894*7c568831SAndroid Build Coastguard Worker</div> 3895*7c568831SAndroid Build Coastguard Worker<hr> 3896*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3897*7c568831SAndroid Build Coastguard Worker<h3> 3898*7c568831SAndroid Build Coastguard Worker<a name="xmlNewPI"></a>xmlNewPI ()</h3> 3899*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewPI (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3900*7c568831SAndroid Build Coastguard Worker</pre> 3901*7c568831SAndroid Build Coastguard Worker<p>Create a processing instruction node. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocPI">xmlNewDocPI</a>.</p> 3902*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3903*7c568831SAndroid Build Coastguard Worker<col align="left"> 3904*7c568831SAndroid Build Coastguard Worker<tbody> 3905*7c568831SAndroid Build Coastguard Worker<tr> 3906*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3907*7c568831SAndroid Build Coastguard Worker<td>the processing instruction target</td> 3908*7c568831SAndroid Build Coastguard Worker</tr> 3909*7c568831SAndroid Build Coastguard Worker<tr> 3910*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3911*7c568831SAndroid Build Coastguard Worker<td>the PI content (optional)</td> 3912*7c568831SAndroid Build Coastguard Worker</tr> 3913*7c568831SAndroid Build Coastguard Worker<tr> 3914*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3915*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3916*7c568831SAndroid Build Coastguard Worker</tr> 3917*7c568831SAndroid Build Coastguard Worker</tbody> 3918*7c568831SAndroid Build Coastguard Worker</table></div> 3919*7c568831SAndroid Build Coastguard Worker</div> 3920*7c568831SAndroid Build Coastguard Worker<hr> 3921*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3922*7c568831SAndroid Build Coastguard Worker<h3> 3923*7c568831SAndroid Build Coastguard Worker<a name="xmlNewProp"></a>xmlNewProp ()</h3> 3924*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlNewProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 3925*7c568831SAndroid Build Coastguard Worker</pre> 3926*7c568831SAndroid Build Coastguard Worker<p>Create an <a href="libxml2-SAX.html#attribute">attribute</a> node. If provided, @value should be a raw, unescaped string. If @node is provided, the created <a href="libxml2-SAX.html#attribute">attribute</a> will be appended without checking for duplicate names. It is an error if @node is not an element.</p> 3927*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3928*7c568831SAndroid Build Coastguard Worker<col align="left"> 3929*7c568831SAndroid Build Coastguard Worker<tbody> 3930*7c568831SAndroid Build Coastguard Worker<tr> 3931*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 3932*7c568831SAndroid Build Coastguard Worker<td>the parent node (optional)</td> 3933*7c568831SAndroid Build Coastguard Worker</tr> 3934*7c568831SAndroid Build Coastguard Worker<tr> 3935*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3936*7c568831SAndroid Build Coastguard Worker<td>the name of the <a href="libxml2-SAX.html#attribute">attribute</a> 3937*7c568831SAndroid Build Coastguard Worker</td> 3938*7c568831SAndroid Build Coastguard Worker</tr> 3939*7c568831SAndroid Build Coastguard Worker<tr> 3940*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 3941*7c568831SAndroid Build Coastguard Worker<td>the value of the <a href="libxml2-SAX.html#attribute">attribute</a> (optional)</td> 3942*7c568831SAndroid Build Coastguard Worker</tr> 3943*7c568831SAndroid Build Coastguard Worker<tr> 3944*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3945*7c568831SAndroid Build Coastguard Worker<td>a pointer to the <a href="libxml2-SAX.html#attribute">attribute</a> or NULL if arguments are invalid or a memory allocation failed.</td> 3946*7c568831SAndroid Build Coastguard Worker</tr> 3947*7c568831SAndroid Build Coastguard Worker</tbody> 3948*7c568831SAndroid Build Coastguard Worker</table></div> 3949*7c568831SAndroid Build Coastguard Worker</div> 3950*7c568831SAndroid Build Coastguard Worker<hr> 3951*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3952*7c568831SAndroid Build Coastguard Worker<h3> 3953*7c568831SAndroid Build Coastguard Worker<a name="xmlNewReference"></a>xmlNewReference ()</h3> 3954*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewReference (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 3955*7c568831SAndroid Build Coastguard Worker</pre> 3956*7c568831SAndroid Build Coastguard Worker<p>Create a new entity <a href="libxml2-SAX.html#reference">reference</a> node, linking the result with the entity in @doc if found. Entity names like '&entity;' are handled as well.</p> 3957*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3958*7c568831SAndroid Build Coastguard Worker<col align="left"> 3959*7c568831SAndroid Build Coastguard Worker<tbody> 3960*7c568831SAndroid Build Coastguard Worker<tr> 3961*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 3962*7c568831SAndroid Build Coastguard Worker<td>the target document (optional)</td> 3963*7c568831SAndroid Build Coastguard Worker</tr> 3964*7c568831SAndroid Build Coastguard Worker<tr> 3965*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 3966*7c568831SAndroid Build Coastguard Worker<td>the entity name</td> 3967*7c568831SAndroid Build Coastguard Worker</tr> 3968*7c568831SAndroid Build Coastguard Worker<tr> 3969*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3970*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 3971*7c568831SAndroid Build Coastguard Worker</tr> 3972*7c568831SAndroid Build Coastguard Worker</tbody> 3973*7c568831SAndroid Build Coastguard Worker</table></div> 3974*7c568831SAndroid Build Coastguard Worker</div> 3975*7c568831SAndroid Build Coastguard Worker<hr> 3976*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3977*7c568831SAndroid Build Coastguard Worker<h3> 3978*7c568831SAndroid Build Coastguard Worker<a name="xmlNewText"></a>xmlNewText ()</h3> 3979*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewText (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 3980*7c568831SAndroid Build Coastguard Worker</pre> 3981*7c568831SAndroid Build Coastguard Worker<p>Create a text node. Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocText">xmlNewDocText</a>.</p> 3982*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 3983*7c568831SAndroid Build Coastguard Worker<col align="left"> 3984*7c568831SAndroid Build Coastguard Worker<tbody> 3985*7c568831SAndroid Build Coastguard Worker<tr> 3986*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 3987*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 3988*7c568831SAndroid Build Coastguard Worker</tr> 3989*7c568831SAndroid Build Coastguard Worker<tr> 3990*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 3991*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 3992*7c568831SAndroid Build Coastguard Worker</tr> 3993*7c568831SAndroid Build Coastguard Worker</tbody> 3994*7c568831SAndroid Build Coastguard Worker</table></div> 3995*7c568831SAndroid Build Coastguard Worker</div> 3996*7c568831SAndroid Build Coastguard Worker<hr> 3997*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 3998*7c568831SAndroid Build Coastguard Worker<h3> 3999*7c568831SAndroid Build Coastguard Worker<a name="xmlNewTextChild"></a>xmlNewTextChild ()</h3> 4000*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewTextChild (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 4001*7c568831SAndroid Build Coastguard Worker</pre> 4002*7c568831SAndroid Build Coastguard Worker<p>Create a new child element and append it to a parent element. If @ns is NULL, the newly created element inherits the namespace of the parent. If @content is provided, a text node will be added to the child element, see <a href="libxml2-tree.html#xmlNewDocRawNode">xmlNewDocRawNode</a>.</p> 4003*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4004*7c568831SAndroid Build Coastguard Worker<col align="left"> 4005*7c568831SAndroid Build Coastguard Worker<tbody> 4006*7c568831SAndroid Build Coastguard Worker<tr> 4007*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>parent</tt></i>:</span></td> 4008*7c568831SAndroid Build Coastguard Worker<td>the parent node</td> 4009*7c568831SAndroid Build Coastguard Worker</tr> 4010*7c568831SAndroid Build Coastguard Worker<tr> 4011*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 4012*7c568831SAndroid Build Coastguard Worker<td>a namespace (optional)</td> 4013*7c568831SAndroid Build Coastguard Worker</tr> 4014*7c568831SAndroid Build Coastguard Worker<tr> 4015*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 4016*7c568831SAndroid Build Coastguard Worker<td>the name of the child</td> 4017*7c568831SAndroid Build Coastguard Worker</tr> 4018*7c568831SAndroid Build Coastguard Worker<tr> 4019*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4020*7c568831SAndroid Build Coastguard Worker<td>raw text content of the child (optional)</td> 4021*7c568831SAndroid Build Coastguard Worker</tr> 4022*7c568831SAndroid Build Coastguard Worker<tr> 4023*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4024*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if arguments are invalid or a memory allocation failed.</td> 4025*7c568831SAndroid Build Coastguard Worker</tr> 4026*7c568831SAndroid Build Coastguard Worker</tbody> 4027*7c568831SAndroid Build Coastguard Worker</table></div> 4028*7c568831SAndroid Build Coastguard Worker</div> 4029*7c568831SAndroid Build Coastguard Worker<hr> 4030*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4031*7c568831SAndroid Build Coastguard Worker<h3> 4032*7c568831SAndroid Build Coastguard Worker<a name="xmlNewTextLen"></a>xmlNewTextLen ()</h3> 4033*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewTextLen (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 4034*7c568831SAndroid Build Coastguard Worker</pre> 4035*7c568831SAndroid Build Coastguard Worker<p>Use of this function is DISCOURAGED in favor of <a href="libxml2-tree.html#xmlNewDocTextLen">xmlNewDocTextLen</a>.</p> 4036*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4037*7c568831SAndroid Build Coastguard Worker<col align="left"> 4038*7c568831SAndroid Build Coastguard Worker<tbody> 4039*7c568831SAndroid Build Coastguard Worker<tr> 4040*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4041*7c568831SAndroid Build Coastguard Worker<td>raw text content (optional)</td> 4042*7c568831SAndroid Build Coastguard Worker</tr> 4043*7c568831SAndroid Build Coastguard Worker<tr> 4044*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 4045*7c568831SAndroid Build Coastguard Worker<td>size of text content</td> 4046*7c568831SAndroid Build Coastguard Worker</tr> 4047*7c568831SAndroid Build Coastguard Worker<tr> 4048*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4049*7c568831SAndroid Build Coastguard Worker<td>a pointer to the new node object or NULL if a memory allocation failed.</td> 4050*7c568831SAndroid Build Coastguard Worker</tr> 4051*7c568831SAndroid Build Coastguard Worker</tbody> 4052*7c568831SAndroid Build Coastguard Worker</table></div> 4053*7c568831SAndroid Build Coastguard Worker</div> 4054*7c568831SAndroid Build Coastguard Worker<hr> 4055*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4056*7c568831SAndroid Build Coastguard Worker<h3> 4057*7c568831SAndroid Build Coastguard Worker<a name="xmlNextElementSibling"></a>xmlNextElementSibling ()</h3> 4058*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNextElementSibling (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 4059*7c568831SAndroid Build Coastguard Worker</pre> 4060*7c568831SAndroid Build Coastguard Worker<p>Find the closest following sibling which is a element. Note that entity references are not expanded.</p> 4061*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4062*7c568831SAndroid Build Coastguard Worker<col align="left"> 4063*7c568831SAndroid Build Coastguard Worker<tbody> 4064*7c568831SAndroid Build Coastguard Worker<tr> 4065*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4066*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4067*7c568831SAndroid Build Coastguard Worker</tr> 4068*7c568831SAndroid Build Coastguard Worker<tr> 4069*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4070*7c568831SAndroid Build Coastguard Worker<td>the sibling or NULL if no sibling was found.</td> 4071*7c568831SAndroid Build Coastguard Worker</tr> 4072*7c568831SAndroid Build Coastguard Worker</tbody> 4073*7c568831SAndroid Build Coastguard Worker</table></div> 4074*7c568831SAndroid Build Coastguard Worker</div> 4075*7c568831SAndroid Build Coastguard Worker<hr> 4076*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4077*7c568831SAndroid Build Coastguard Worker<h3> 4078*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeAddContent"></a>xmlNodeAddContent ()</h3> 4079*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeAddContent (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 4080*7c568831SAndroid Build Coastguard Worker</pre> 4081*7c568831SAndroid Build Coastguard Worker<p>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.</p> 4082*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4083*7c568831SAndroid Build Coastguard Worker<col align="left"> 4084*7c568831SAndroid Build Coastguard Worker<tbody> 4085*7c568831SAndroid Build Coastguard Worker<tr> 4086*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4087*7c568831SAndroid Build Coastguard Worker<td>the node being modified</td> 4088*7c568831SAndroid Build Coastguard Worker</tr> 4089*7c568831SAndroid Build Coastguard Worker<tr> 4090*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4091*7c568831SAndroid Build Coastguard Worker<td>extra content</td> 4092*7c568831SAndroid Build Coastguard Worker</tr> 4093*7c568831SAndroid Build Coastguard Worker<tr> 4094*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4095*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 on error, -1 if a memory allocation failed.</td> 4096*7c568831SAndroid Build Coastguard Worker</tr> 4097*7c568831SAndroid Build Coastguard Worker</tbody> 4098*7c568831SAndroid Build Coastguard Worker</table></div> 4099*7c568831SAndroid Build Coastguard Worker</div> 4100*7c568831SAndroid Build Coastguard Worker<hr> 4101*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4102*7c568831SAndroid Build Coastguard Worker<h3> 4103*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeAddContentLen"></a>xmlNodeAddContentLen ()</h3> 4104*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeAddContentLen (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 4105*7c568831SAndroid Build Coastguard Worker</pre> 4106*7c568831SAndroid Build Coastguard Worker<p>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.</p> 4107*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4108*7c568831SAndroid Build Coastguard Worker<col align="left"> 4109*7c568831SAndroid Build Coastguard Worker<tbody> 4110*7c568831SAndroid Build Coastguard Worker<tr> 4111*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4112*7c568831SAndroid Build Coastguard Worker<td>the node being modified</td> 4113*7c568831SAndroid Build Coastguard Worker</tr> 4114*7c568831SAndroid Build Coastguard Worker<tr> 4115*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4116*7c568831SAndroid Build Coastguard Worker<td>extra content</td> 4117*7c568831SAndroid Build Coastguard Worker</tr> 4118*7c568831SAndroid Build Coastguard Worker<tr> 4119*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 4120*7c568831SAndroid Build Coastguard Worker<td>the size of @content</td> 4121*7c568831SAndroid Build Coastguard Worker</tr> 4122*7c568831SAndroid Build Coastguard Worker<tr> 4123*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4124*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 on error, -1 if a memory allocation failed.</td> 4125*7c568831SAndroid Build Coastguard Worker</tr> 4126*7c568831SAndroid Build Coastguard Worker</tbody> 4127*7c568831SAndroid Build Coastguard Worker</table></div> 4128*7c568831SAndroid Build Coastguard Worker</div> 4129*7c568831SAndroid Build Coastguard Worker<hr> 4130*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4131*7c568831SAndroid Build Coastguard Worker<h3> 4132*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeBufGetContent"></a>xmlNodeBufGetContent ()</h3> 4133*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeBufGetContent (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buffer, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 4134*7c568831SAndroid Build Coastguard Worker</pre> 4135*7c568831SAndroid Build Coastguard Worker<p>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</p> 4136*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4137*7c568831SAndroid Build Coastguard Worker<col align="left"> 4138*7c568831SAndroid Build Coastguard Worker<tbody> 4139*7c568831SAndroid Build Coastguard Worker<tr> 4140*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buffer</tt></i>:</span></td> 4141*7c568831SAndroid Build Coastguard Worker<td>a buffer</td> 4142*7c568831SAndroid Build Coastguard Worker</tr> 4143*7c568831SAndroid Build Coastguard Worker<tr> 4144*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4145*7c568831SAndroid Build Coastguard Worker<td>the node being read</td> 4146*7c568831SAndroid Build Coastguard Worker</tr> 4147*7c568831SAndroid Build Coastguard Worker<tr> 4148*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4149*7c568831SAndroid Build Coastguard Worker<td>0 in case of success and -1 in case of error.</td> 4150*7c568831SAndroid Build Coastguard Worker</tr> 4151*7c568831SAndroid Build Coastguard Worker</tbody> 4152*7c568831SAndroid Build Coastguard Worker</table></div> 4153*7c568831SAndroid Build Coastguard Worker</div> 4154*7c568831SAndroid Build Coastguard Worker<hr> 4155*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4156*7c568831SAndroid Build Coastguard Worker<h3> 4157*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeDump"></a>xmlNodeDump ()</h3> 4158*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeDump (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format)<br> 4159*7c568831SAndroid Build Coastguard Worker</pre> 4160*7c568831SAndroid Build Coastguard Worker<p>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 <a href="libxml2-tree.html#xmlBuffer">xmlBuffer</a> structures it is limited to 2GB and somehow deprecated, use xmlNodeDumpOutput() instead.</p> 4161*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4162*7c568831SAndroid Build Coastguard Worker<col align="left"> 4163*7c568831SAndroid Build Coastguard Worker<tbody> 4164*7c568831SAndroid Build Coastguard Worker<tr> 4165*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 4166*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 4167*7c568831SAndroid Build Coastguard Worker</tr> 4168*7c568831SAndroid Build Coastguard Worker<tr> 4169*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4170*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4171*7c568831SAndroid Build Coastguard Worker</tr> 4172*7c568831SAndroid Build Coastguard Worker<tr> 4173*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4174*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4175*7c568831SAndroid Build Coastguard Worker</tr> 4176*7c568831SAndroid Build Coastguard Worker<tr> 4177*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>level</tt></i>:</span></td> 4178*7c568831SAndroid Build Coastguard Worker<td>the imbrication level for indenting</td> 4179*7c568831SAndroid Build Coastguard Worker</tr> 4180*7c568831SAndroid Build Coastguard Worker<tr> 4181*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 4182*7c568831SAndroid Build Coastguard Worker<td>is formatting allowed</td> 4183*7c568831SAndroid Build Coastguard Worker</tr> 4184*7c568831SAndroid Build Coastguard Worker<tr> 4185*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4186*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written to the buffer or -1 in case of error</td> 4187*7c568831SAndroid Build Coastguard Worker</tr> 4188*7c568831SAndroid Build Coastguard Worker</tbody> 4189*7c568831SAndroid Build Coastguard Worker</table></div> 4190*7c568831SAndroid Build Coastguard Worker</div> 4191*7c568831SAndroid Build Coastguard Worker<hr> 4192*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4193*7c568831SAndroid Build Coastguard Worker<h3> 4194*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeDumpOutput"></a>xmlNodeDumpOutput ()</h3> 4195*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlNodeDumpOutput (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int level, <br> int format, <br> const char * encoding)<br> 4196*7c568831SAndroid Build Coastguard Worker</pre> 4197*7c568831SAndroid Build Coastguard Worker<p>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</p> 4198*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4199*7c568831SAndroid Build Coastguard Worker<col align="left"> 4200*7c568831SAndroid Build Coastguard Worker<tbody> 4201*7c568831SAndroid Build Coastguard Worker<tr> 4202*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 4203*7c568831SAndroid Build Coastguard Worker<td>the XML buffer output</td> 4204*7c568831SAndroid Build Coastguard Worker</tr> 4205*7c568831SAndroid Build Coastguard Worker<tr> 4206*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4207*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4208*7c568831SAndroid Build Coastguard Worker</tr> 4209*7c568831SAndroid Build Coastguard Worker<tr> 4210*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4211*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4212*7c568831SAndroid Build Coastguard Worker</tr> 4213*7c568831SAndroid Build Coastguard Worker<tr> 4214*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>level</tt></i>:</span></td> 4215*7c568831SAndroid Build Coastguard Worker<td>the imbrication level for indenting</td> 4216*7c568831SAndroid Build Coastguard Worker</tr> 4217*7c568831SAndroid Build Coastguard Worker<tr> 4218*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 4219*7c568831SAndroid Build Coastguard Worker<td>is formatting allowed</td> 4220*7c568831SAndroid Build Coastguard Worker</tr> 4221*7c568831SAndroid Build Coastguard Worker<tr> 4222*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>encoding</tt></i>:</span></td> 4223*7c568831SAndroid Build Coastguard Worker<td>an optional encoding string</td> 4224*7c568831SAndroid Build Coastguard Worker</tr> 4225*7c568831SAndroid Build Coastguard Worker</tbody> 4226*7c568831SAndroid Build Coastguard Worker</table></div> 4227*7c568831SAndroid Build Coastguard Worker</div> 4228*7c568831SAndroid Build Coastguard Worker<hr> 4229*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4230*7c568831SAndroid Build Coastguard Worker<h3> 4231*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetAttrValue"></a>xmlNodeGetAttrValue ()</h3> 4232*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeGetAttrValue (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nsUri, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** out)<br> 4233*7c568831SAndroid Build Coastguard Worker</pre> 4234*7c568831SAndroid Build Coastguard Worker<p>Search and get the value of an <a href="libxml2-SAX.html#attribute">attribute</a> associated to a node This <a href="libxml2-SAX.html#attribute">attribute</a> has to be anchored in the namespace specified. This does the entity substitution. The returned value must be freed by the caller. Available since 2.13.0.</p> 4235*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4236*7c568831SAndroid Build Coastguard Worker<col align="left"> 4237*7c568831SAndroid Build Coastguard Worker<tbody> 4238*7c568831SAndroid Build Coastguard Worker<tr> 4239*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4240*7c568831SAndroid Build Coastguard Worker<td>the node</td> 4241*7c568831SAndroid Build Coastguard Worker</tr> 4242*7c568831SAndroid Build Coastguard Worker<tr> 4243*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 4244*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 4245*7c568831SAndroid Build Coastguard Worker</tr> 4246*7c568831SAndroid Build Coastguard Worker<tr> 4247*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nsUri</tt></i>:</span></td> 4248*7c568831SAndroid Build Coastguard Worker<td>the URI of the namespace</td> 4249*7c568831SAndroid Build Coastguard Worker</tr> 4250*7c568831SAndroid Build Coastguard Worker<tr> 4251*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out</tt></i>:</span></td> 4252*7c568831SAndroid Build Coastguard Worker<td>the returned string</td> 4253*7c568831SAndroid Build Coastguard Worker</tr> 4254*7c568831SAndroid Build Coastguard Worker<tr> 4255*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4256*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 if no <a href="libxml2-SAX.html#attribute">attribute</a> was found, -1 if a memory allocation failed.</td> 4257*7c568831SAndroid Build Coastguard Worker</tr> 4258*7c568831SAndroid Build Coastguard Worker</tbody> 4259*7c568831SAndroid Build Coastguard Worker</table></div> 4260*7c568831SAndroid Build Coastguard Worker</div> 4261*7c568831SAndroid Build Coastguard Worker<hr> 4262*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4263*7c568831SAndroid Build Coastguard Worker<h3> 4264*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetBase"></a>xmlNodeGetBase ()</h3> 4265*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlNodeGetBase (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 4266*7c568831SAndroid Build Coastguard Worker</pre> 4267*7c568831SAndroid Build Coastguard Worker<p>See <a href="libxml2-tree.html#xmlNodeGetBaseSafe">xmlNodeGetBaseSafe</a>. This function doesn't allow to distinguish memory allocation failures from a non-existing base.</p> 4268*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4269*7c568831SAndroid Build Coastguard Worker<col align="left"> 4270*7c568831SAndroid Build Coastguard Worker<tbody> 4271*7c568831SAndroid Build Coastguard Worker<tr> 4272*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4273*7c568831SAndroid Build Coastguard Worker<td>the document the node pertains to</td> 4274*7c568831SAndroid Build Coastguard Worker</tr> 4275*7c568831SAndroid Build Coastguard Worker<tr> 4276*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4277*7c568831SAndroid Build Coastguard Worker<td>the node being checked</td> 4278*7c568831SAndroid Build Coastguard Worker</tr> 4279*7c568831SAndroid Build Coastguard Worker<tr> 4280*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4281*7c568831SAndroid Build Coastguard Worker<td>a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree().</td> 4282*7c568831SAndroid Build Coastguard Worker</tr> 4283*7c568831SAndroid Build Coastguard Worker</tbody> 4284*7c568831SAndroid Build Coastguard Worker</table></div> 4285*7c568831SAndroid Build Coastguard Worker</div> 4286*7c568831SAndroid Build Coastguard Worker<hr> 4287*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4288*7c568831SAndroid Build Coastguard Worker<h3> 4289*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetBaseSafe"></a>xmlNodeGetBaseSafe ()</h3> 4290*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeGetBaseSafe (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** baseOut)<br> 4291*7c568831SAndroid Build Coastguard Worker</pre> 4292*7c568831SAndroid Build Coastguard Worker<p>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 Available since 2.13.0.</p> 4293*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4294*7c568831SAndroid Build Coastguard Worker<col align="left"> 4295*7c568831SAndroid Build Coastguard Worker<tbody> 4296*7c568831SAndroid Build Coastguard Worker<tr> 4297*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4298*7c568831SAndroid Build Coastguard Worker<td>the document the node pertains to</td> 4299*7c568831SAndroid Build Coastguard Worker</tr> 4300*7c568831SAndroid Build Coastguard Worker<tr> 4301*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4302*7c568831SAndroid Build Coastguard Worker<td>the node being checked</td> 4303*7c568831SAndroid Build Coastguard Worker</tr> 4304*7c568831SAndroid Build Coastguard Worker<tr> 4305*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>baseOut</tt></i>:</span></td> 4306*7c568831SAndroid Build Coastguard Worker<td>pointer to base</td> 4307*7c568831SAndroid Build Coastguard Worker</tr> 4308*7c568831SAndroid Build Coastguard Worker<tr> 4309*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4310*7c568831SAndroid Build Coastguard Worker<td>0 in case of success, 1 if a URI or argument is invalid, -1 if a memory allocation failed.</td> 4311*7c568831SAndroid Build Coastguard Worker</tr> 4312*7c568831SAndroid Build Coastguard Worker</tbody> 4313*7c568831SAndroid Build Coastguard Worker</table></div> 4314*7c568831SAndroid Build Coastguard Worker</div> 4315*7c568831SAndroid Build Coastguard Worker<hr> 4316*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4317*7c568831SAndroid Build Coastguard Worker<h3> 4318*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetContent"></a>xmlNodeGetContent ()</h3> 4319*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlNodeGetContent (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 4320*7c568831SAndroid Build Coastguard Worker</pre> 4321*7c568831SAndroid Build Coastguard Worker<p>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.</p> 4322*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4323*7c568831SAndroid Build Coastguard Worker<col align="left"> 4324*7c568831SAndroid Build Coastguard Worker<tbody> 4325*7c568831SAndroid Build Coastguard Worker<tr> 4326*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4327*7c568831SAndroid Build Coastguard Worker<td>the node being read</td> 4328*7c568831SAndroid Build Coastguard Worker</tr> 4329*7c568831SAndroid Build Coastguard Worker<tr> 4330*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4331*7c568831SAndroid Build Coastguard Worker<td>a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree().</td> 4332*7c568831SAndroid Build Coastguard Worker</tr> 4333*7c568831SAndroid Build Coastguard Worker</tbody> 4334*7c568831SAndroid Build Coastguard Worker</table></div> 4335*7c568831SAndroid Build Coastguard Worker</div> 4336*7c568831SAndroid Build Coastguard Worker<hr> 4337*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4338*7c568831SAndroid Build Coastguard Worker<h3> 4339*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetLang"></a>xmlNodeGetLang ()</h3> 4340*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlNodeGetLang (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 4341*7c568831SAndroid Build Coastguard Worker</pre> 4342*7c568831SAndroid Build Coastguard Worker<p>Searches the language of a node, i.e. the values of the xml:lang <a href="libxml2-SAX.html#attribute">attribute</a> or the one carried by the nearest ancestor.</p> 4343*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4344*7c568831SAndroid Build Coastguard Worker<col align="left"> 4345*7c568831SAndroid Build Coastguard Worker<tbody> 4346*7c568831SAndroid Build Coastguard Worker<tr> 4347*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4348*7c568831SAndroid Build Coastguard Worker<td>the node being checked</td> 4349*7c568831SAndroid Build Coastguard Worker</tr> 4350*7c568831SAndroid Build Coastguard Worker<tr> 4351*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4352*7c568831SAndroid Build Coastguard Worker<td>a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree().</td> 4353*7c568831SAndroid Build Coastguard Worker</tr> 4354*7c568831SAndroid Build Coastguard Worker</tbody> 4355*7c568831SAndroid Build Coastguard Worker</table></div> 4356*7c568831SAndroid Build Coastguard Worker</div> 4357*7c568831SAndroid Build Coastguard Worker<hr> 4358*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4359*7c568831SAndroid Build Coastguard Worker<h3> 4360*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeGetSpacePreserve"></a>xmlNodeGetSpacePreserve ()</h3> 4361*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeGetSpacePreserve (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * cur)<br> 4362*7c568831SAndroid Build Coastguard Worker</pre> 4363*7c568831SAndroid Build Coastguard Worker<p>Searches the space preserving behaviour of a node, i.e. the values of the xml:space <a href="libxml2-SAX.html#attribute">attribute</a> or the one carried by the nearest ancestor.</p> 4364*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4365*7c568831SAndroid Build Coastguard Worker<col align="left"> 4366*7c568831SAndroid Build Coastguard Worker<tbody> 4367*7c568831SAndroid Build Coastguard Worker<tr> 4368*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4369*7c568831SAndroid Build Coastguard Worker<td>the node being checked</td> 4370*7c568831SAndroid Build Coastguard Worker</tr> 4371*7c568831SAndroid Build Coastguard Worker<tr> 4372*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4373*7c568831SAndroid Build Coastguard Worker<td>-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"</td> 4374*7c568831SAndroid Build Coastguard Worker</tr> 4375*7c568831SAndroid Build Coastguard Worker</tbody> 4376*7c568831SAndroid Build Coastguard Worker</table></div> 4377*7c568831SAndroid Build Coastguard Worker</div> 4378*7c568831SAndroid Build Coastguard Worker<hr> 4379*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4380*7c568831SAndroid Build Coastguard Worker<h3> 4381*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeIsText"></a>xmlNodeIsText ()</h3> 4382*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeIsText (const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * node)<br> 4383*7c568831SAndroid Build Coastguard Worker</pre> 4384*7c568831SAndroid Build Coastguard Worker<p>Is this node a Text node ?</p> 4385*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4386*7c568831SAndroid Build Coastguard Worker<col align="left"> 4387*7c568831SAndroid Build Coastguard Worker<tbody> 4388*7c568831SAndroid Build Coastguard Worker<tr> 4389*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4390*7c568831SAndroid Build Coastguard Worker<td>the node</td> 4391*7c568831SAndroid Build Coastguard Worker</tr> 4392*7c568831SAndroid Build Coastguard Worker<tr> 4393*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4394*7c568831SAndroid Build Coastguard Worker<td>1 yes, 0 no</td> 4395*7c568831SAndroid Build Coastguard Worker</tr> 4396*7c568831SAndroid Build Coastguard Worker</tbody> 4397*7c568831SAndroid Build Coastguard Worker</table></div> 4398*7c568831SAndroid Build Coastguard Worker</div> 4399*7c568831SAndroid Build Coastguard Worker<hr> 4400*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4401*7c568831SAndroid Build Coastguard Worker<h3> 4402*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeListGetRawString"></a>xmlNodeListGetRawString ()</h3> 4403*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlNodeListGetRawString (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * list, <br> int inLine)<br> 4404*7c568831SAndroid Build Coastguard Worker</pre> 4405*7c568831SAndroid Build Coastguard Worker<p>Serializes <a href="libxml2-SAX.html#attribute">attribute</a> children (text and entity <a href="libxml2-SAX.html#reference">reference</a> nodes) into a string. An empty list produces an empty string. If @inLine is true, entity references will be substituted. Otherwise, entity references will be kept and special <a href="libxml2-SAX.html#characters">characters</a> like '&' will be escaped.</p> 4406*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4407*7c568831SAndroid Build Coastguard Worker<col align="left"> 4408*7c568831SAndroid Build Coastguard Worker<tbody> 4409*7c568831SAndroid Build Coastguard Worker<tr> 4410*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4411*7c568831SAndroid Build Coastguard Worker<td>a document (optional)</td> 4412*7c568831SAndroid Build Coastguard Worker</tr> 4413*7c568831SAndroid Build Coastguard Worker<tr> 4414*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>list</tt></i>:</span></td> 4415*7c568831SAndroid Build Coastguard Worker<td>a node list of <a href="libxml2-SAX.html#attribute">attribute</a> children (optional)</td> 4416*7c568831SAndroid Build Coastguard Worker</tr> 4417*7c568831SAndroid Build Coastguard Worker<tr> 4418*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>inLine</tt></i>:</span></td> 4419*7c568831SAndroid Build Coastguard Worker<td>whether entity references are substituted</td> 4420*7c568831SAndroid Build Coastguard Worker</tr> 4421*7c568831SAndroid Build Coastguard Worker<tr> 4422*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4423*7c568831SAndroid Build Coastguard Worker<td>a string or NULL if a memory allocation failed.</td> 4424*7c568831SAndroid Build Coastguard Worker</tr> 4425*7c568831SAndroid Build Coastguard Worker</tbody> 4426*7c568831SAndroid Build Coastguard Worker</table></div> 4427*7c568831SAndroid Build Coastguard Worker</div> 4428*7c568831SAndroid Build Coastguard Worker<hr> 4429*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4430*7c568831SAndroid Build Coastguard Worker<h3> 4431*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeListGetString"></a>xmlNodeListGetString ()</h3> 4432*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlNodeListGetString (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> const <a href="libxml2-tree.html#xmlNode">xmlNode</a> * list, <br> int inLine)<br> 4433*7c568831SAndroid Build Coastguard Worker</pre> 4434*7c568831SAndroid Build Coastguard Worker<p>Serializes <a href="libxml2-SAX.html#attribute">attribute</a> children (text and entity <a href="libxml2-SAX.html#reference">reference</a> nodes) into a string. An empty list produces an empty string. If @inLine is true, entity references will be substituted. Otherwise, entity references will be kept and special <a href="libxml2-SAX.html#characters">characters</a> like '&' as well as non-ASCII chars will be escaped. See <a href="libxml2-tree.html#xmlNodeListGetRawString">xmlNodeListGetRawString</a> for an alternative option.</p> 4435*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4436*7c568831SAndroid Build Coastguard Worker<col align="left"> 4437*7c568831SAndroid Build Coastguard Worker<tbody> 4438*7c568831SAndroid Build Coastguard Worker<tr> 4439*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4440*7c568831SAndroid Build Coastguard Worker<td>a document (optional)</td> 4441*7c568831SAndroid Build Coastguard Worker</tr> 4442*7c568831SAndroid Build Coastguard Worker<tr> 4443*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>list</tt></i>:</span></td> 4444*7c568831SAndroid Build Coastguard Worker<td>a node list of <a href="libxml2-SAX.html#attribute">attribute</a> children (optional)</td> 4445*7c568831SAndroid Build Coastguard Worker</tr> 4446*7c568831SAndroid Build Coastguard Worker<tr> 4447*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>inLine</tt></i>:</span></td> 4448*7c568831SAndroid Build Coastguard Worker<td>whether entity references are substituted</td> 4449*7c568831SAndroid Build Coastguard Worker</tr> 4450*7c568831SAndroid Build Coastguard Worker<tr> 4451*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4452*7c568831SAndroid Build Coastguard Worker<td>a string or NULL if a memory allocation failed.</td> 4453*7c568831SAndroid Build Coastguard Worker</tr> 4454*7c568831SAndroid Build Coastguard Worker</tbody> 4455*7c568831SAndroid Build Coastguard Worker</table></div> 4456*7c568831SAndroid Build Coastguard Worker</div> 4457*7c568831SAndroid Build Coastguard Worker<hr> 4458*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4459*7c568831SAndroid Build Coastguard Worker<h3> 4460*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetBase"></a>xmlNodeSetBase ()</h3> 4461*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeSetBase (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * uri)<br> 4462*7c568831SAndroid Build Coastguard Worker</pre> 4463*7c568831SAndroid Build Coastguard Worker<p>Set (or reset) the base URI of a node, i.e. the value of the xml:base <a href="libxml2-SAX.html#attribute">attribute</a>.</p> 4464*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4465*7c568831SAndroid Build Coastguard Worker<col align="left"> 4466*7c568831SAndroid Build Coastguard Worker<tbody> 4467*7c568831SAndroid Build Coastguard Worker<tr> 4468*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4469*7c568831SAndroid Build Coastguard Worker<td>the node being changed</td> 4470*7c568831SAndroid Build Coastguard Worker</tr> 4471*7c568831SAndroid Build Coastguard Worker<tr> 4472*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>uri</tt></i>:</span></td> 4473*7c568831SAndroid Build Coastguard Worker<td>the new base URI</td> 4474*7c568831SAndroid Build Coastguard Worker</tr> 4475*7c568831SAndroid Build Coastguard Worker<tr> 4476*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4477*7c568831SAndroid Build Coastguard Worker<td>0 on success, -1 on error.</td> 4478*7c568831SAndroid Build Coastguard Worker</tr> 4479*7c568831SAndroid Build Coastguard Worker</tbody> 4480*7c568831SAndroid Build Coastguard Worker</table></div> 4481*7c568831SAndroid Build Coastguard Worker</div> 4482*7c568831SAndroid Build Coastguard Worker<hr> 4483*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4484*7c568831SAndroid Build Coastguard Worker<h3> 4485*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetContent"></a>xmlNodeSetContent ()</h3> 4486*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeSetContent (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br> 4487*7c568831SAndroid Build Coastguard Worker</pre> 4488*7c568831SAndroid Build Coastguard Worker<p>Replace the text content of a node. Sets the raw text content of text, CDATA, <a href="libxml2-SAX.html#comment">comment</a> or PI nodes. For element and <a href="libxml2-SAX.html#attribute">attribute</a> nodes, removes all children and replaces them by parsing @content which is expected to be a valid XML <a href="libxml2-SAX.html#attribute">attribute</a> value possibly containing character and entity references. Syntax errors and references to undeclared entities are ignored silently. Unfortunately, there isn't an API to pass raw content directly. An inefficient work-around is to escape the content with <a href="libxml2-entities.html#xmlEncodeSpecialChars">xmlEncodeSpecialChars</a> before passing it. A better trick is clearing the old content with xmlNodeSetContent(node, NULL) first and then calling xmlNodeAddContent(node, content). Unlike this function, <a href="libxml2-tree.html#xmlNodeAddContent">xmlNodeAddContent</a> accepts raw text.</p> 4489*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4490*7c568831SAndroid Build Coastguard Worker<col align="left"> 4491*7c568831SAndroid Build Coastguard Worker<tbody> 4492*7c568831SAndroid Build Coastguard Worker<tr> 4493*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4494*7c568831SAndroid Build Coastguard Worker<td>the node being modified</td> 4495*7c568831SAndroid Build Coastguard Worker</tr> 4496*7c568831SAndroid Build Coastguard Worker<tr> 4497*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4498*7c568831SAndroid Build Coastguard Worker<td>the new value of the content</td> 4499*7c568831SAndroid Build Coastguard Worker</tr> 4500*7c568831SAndroid Build Coastguard Worker<tr> 4501*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4502*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 on error, -1 if a memory allocation failed.</td> 4503*7c568831SAndroid Build Coastguard Worker</tr> 4504*7c568831SAndroid Build Coastguard Worker</tbody> 4505*7c568831SAndroid Build Coastguard Worker</table></div> 4506*7c568831SAndroid Build Coastguard Worker</div> 4507*7c568831SAndroid Build Coastguard Worker<hr> 4508*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4509*7c568831SAndroid Build Coastguard Worker<h3> 4510*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetContentLen"></a>xmlNodeSetContentLen ()</h3> 4511*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeSetContentLen (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 4512*7c568831SAndroid Build Coastguard Worker</pre> 4513*7c568831SAndroid Build Coastguard Worker<p>See <a href="libxml2-tree.html#xmlNodeSetContent">xmlNodeSetContent</a>.</p> 4514*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4515*7c568831SAndroid Build Coastguard Worker<col align="left"> 4516*7c568831SAndroid Build Coastguard Worker<tbody> 4517*7c568831SAndroid Build Coastguard Worker<tr> 4518*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4519*7c568831SAndroid Build Coastguard Worker<td>the node being modified</td> 4520*7c568831SAndroid Build Coastguard Worker</tr> 4521*7c568831SAndroid Build Coastguard Worker<tr> 4522*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 4523*7c568831SAndroid Build Coastguard Worker<td>the new value of the content</td> 4524*7c568831SAndroid Build Coastguard Worker</tr> 4525*7c568831SAndroid Build Coastguard Worker<tr> 4526*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 4527*7c568831SAndroid Build Coastguard Worker<td>the size of @content</td> 4528*7c568831SAndroid Build Coastguard Worker</tr> 4529*7c568831SAndroid Build Coastguard Worker<tr> 4530*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4531*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 on error, -1 if a memory allocation failed.</td> 4532*7c568831SAndroid Build Coastguard Worker</tr> 4533*7c568831SAndroid Build Coastguard Worker</tbody> 4534*7c568831SAndroid Build Coastguard Worker</table></div> 4535*7c568831SAndroid Build Coastguard Worker</div> 4536*7c568831SAndroid Build Coastguard Worker<hr> 4537*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4538*7c568831SAndroid Build Coastguard Worker<h3> 4539*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetLang"></a>xmlNodeSetLang ()</h3> 4540*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeSetLang (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * lang)<br> 4541*7c568831SAndroid Build Coastguard Worker</pre> 4542*7c568831SAndroid Build Coastguard Worker<p>Set the language of a node, i.e. the values of the xml:lang <a href="libxml2-SAX.html#attribute">attribute</a>.</p> 4543*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4544*7c568831SAndroid Build Coastguard Worker<col align="left"> 4545*7c568831SAndroid Build Coastguard Worker<tbody> 4546*7c568831SAndroid Build Coastguard Worker<tr> 4547*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4548*7c568831SAndroid Build Coastguard Worker<td>the node being changed</td> 4549*7c568831SAndroid Build Coastguard Worker</tr> 4550*7c568831SAndroid Build Coastguard Worker<tr> 4551*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>lang</tt></i>:</span></td> 4552*7c568831SAndroid Build Coastguard Worker<td>the language description</td> 4553*7c568831SAndroid Build Coastguard Worker</tr> 4554*7c568831SAndroid Build Coastguard Worker<tr> 4555*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4556*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 if arguments are invalid, -1 if a memory allocation failed.</td> 4557*7c568831SAndroid Build Coastguard Worker</tr> 4558*7c568831SAndroid Build Coastguard Worker</tbody> 4559*7c568831SAndroid Build Coastguard Worker</table></div> 4560*7c568831SAndroid Build Coastguard Worker</div> 4561*7c568831SAndroid Build Coastguard Worker<hr> 4562*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4563*7c568831SAndroid Build Coastguard Worker<h3> 4564*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetName"></a>xmlNodeSetName ()</h3> 4565*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlNodeSetName (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 4566*7c568831SAndroid Build Coastguard Worker</pre> 4567*7c568831SAndroid Build Coastguard Worker<p>Set (or reset) the name of a node.</p> 4568*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4569*7c568831SAndroid Build Coastguard Worker<col align="left"> 4570*7c568831SAndroid Build Coastguard Worker<tbody> 4571*7c568831SAndroid Build Coastguard Worker<tr> 4572*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4573*7c568831SAndroid Build Coastguard Worker<td>the node being changed</td> 4574*7c568831SAndroid Build Coastguard Worker</tr> 4575*7c568831SAndroid Build Coastguard Worker<tr> 4576*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 4577*7c568831SAndroid Build Coastguard Worker<td>the new tag name</td> 4578*7c568831SAndroid Build Coastguard Worker</tr> 4579*7c568831SAndroid Build Coastguard Worker</tbody> 4580*7c568831SAndroid Build Coastguard Worker</table></div> 4581*7c568831SAndroid Build Coastguard Worker</div> 4582*7c568831SAndroid Build Coastguard Worker<hr> 4583*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4584*7c568831SAndroid Build Coastguard Worker<h3> 4585*7c568831SAndroid Build Coastguard Worker<a name="xmlNodeSetSpacePreserve"></a>xmlNodeSetSpacePreserve ()</h3> 4586*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlNodeSetSpacePreserve (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br> int val)<br> 4587*7c568831SAndroid Build Coastguard Worker</pre> 4588*7c568831SAndroid Build Coastguard Worker<p>Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space <a href="libxml2-SAX.html#attribute">attribute</a>.</p> 4589*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4590*7c568831SAndroid Build Coastguard Worker<col align="left"> 4591*7c568831SAndroid Build Coastguard Worker<tbody> 4592*7c568831SAndroid Build Coastguard Worker<tr> 4593*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4594*7c568831SAndroid Build Coastguard Worker<td>the node being changed</td> 4595*7c568831SAndroid Build Coastguard Worker</tr> 4596*7c568831SAndroid Build Coastguard Worker<tr> 4597*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>val</tt></i>:</span></td> 4598*7c568831SAndroid Build Coastguard Worker<td>the xml:space value ("0": default, 1: "preserve")</td> 4599*7c568831SAndroid Build Coastguard Worker</tr> 4600*7c568831SAndroid Build Coastguard Worker<tr> 4601*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4602*7c568831SAndroid Build Coastguard Worker<td>0 on success, 1 if arguments are invalid, -1 if a memory allocation failed.</td> 4603*7c568831SAndroid Build Coastguard Worker</tr> 4604*7c568831SAndroid Build Coastguard Worker</tbody> 4605*7c568831SAndroid Build Coastguard Worker</table></div> 4606*7c568831SAndroid Build Coastguard Worker</div> 4607*7c568831SAndroid Build Coastguard Worker<hr> 4608*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4609*7c568831SAndroid Build Coastguard Worker<h3> 4610*7c568831SAndroid Build Coastguard Worker<a name="xmlPreviousElementSibling"></a>xmlPreviousElementSibling ()</h3> 4611*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlPreviousElementSibling (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br> 4612*7c568831SAndroid Build Coastguard Worker</pre> 4613*7c568831SAndroid Build Coastguard Worker<p>Find the closest preceding sibling which is a element. Note that entity references are not expanded.</p> 4614*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4615*7c568831SAndroid Build Coastguard Worker<col align="left"> 4616*7c568831SAndroid Build Coastguard Worker<tbody> 4617*7c568831SAndroid Build Coastguard Worker<tr> 4618*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4619*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4620*7c568831SAndroid Build Coastguard Worker</tr> 4621*7c568831SAndroid Build Coastguard Worker<tr> 4622*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4623*7c568831SAndroid Build Coastguard Worker<td>the sibling or NULL if no sibling was found.</td> 4624*7c568831SAndroid Build Coastguard Worker</tr> 4625*7c568831SAndroid Build Coastguard Worker</tbody> 4626*7c568831SAndroid Build Coastguard Worker</table></div> 4627*7c568831SAndroid Build Coastguard Worker</div> 4628*7c568831SAndroid Build Coastguard Worker<hr> 4629*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4630*7c568831SAndroid Build Coastguard Worker<h3> 4631*7c568831SAndroid Build Coastguard Worker<a name="xmlReconciliateNs"></a>xmlReconciliateNs ()</h3> 4632*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlReconciliateNs (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> tree)<br> 4633*7c568831SAndroid Build Coastguard Worker</pre> 4634*7c568831SAndroid Build Coastguard Worker<p>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.</p> 4635*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4636*7c568831SAndroid Build Coastguard Worker<col align="left"> 4637*7c568831SAndroid Build Coastguard Worker<tbody> 4638*7c568831SAndroid Build Coastguard Worker<tr> 4639*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4640*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4641*7c568831SAndroid Build Coastguard Worker</tr> 4642*7c568831SAndroid Build Coastguard Worker<tr> 4643*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>tree</tt></i>:</span></td> 4644*7c568831SAndroid Build Coastguard Worker<td>a node defining the subtree to reconciliate</td> 4645*7c568831SAndroid Build Coastguard Worker</tr> 4646*7c568831SAndroid Build Coastguard Worker<tr> 4647*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4648*7c568831SAndroid Build Coastguard Worker<td>0 on success or -1 in case of error.</td> 4649*7c568831SAndroid Build Coastguard Worker</tr> 4650*7c568831SAndroid Build Coastguard Worker</tbody> 4651*7c568831SAndroid Build Coastguard Worker</table></div> 4652*7c568831SAndroid Build Coastguard Worker</div> 4653*7c568831SAndroid Build Coastguard Worker<hr> 4654*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4655*7c568831SAndroid Build Coastguard Worker<h3> 4656*7c568831SAndroid Build Coastguard Worker<a name="xmlRegisterNodeDefault"></a>xmlRegisterNodeDefault ()</h3> 4657*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> xmlRegisterNodeDefault (<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> func)<br> 4658*7c568831SAndroid Build Coastguard Worker</pre> 4659*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: don't use Registers a callback for node creation</p> 4660*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4661*7c568831SAndroid Build Coastguard Worker<col align="left"> 4662*7c568831SAndroid Build Coastguard Worker<tbody> 4663*7c568831SAndroid Build Coastguard Worker<tr> 4664*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>func</tt></i>:</span></td> 4665*7c568831SAndroid Build Coastguard Worker<td>function pointer to the new RegisterNodeFunc</td> 4666*7c568831SAndroid Build Coastguard Worker</tr> 4667*7c568831SAndroid Build Coastguard Worker<tr> 4668*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4669*7c568831SAndroid Build Coastguard Worker<td>the old value of the registration function</td> 4670*7c568831SAndroid Build Coastguard Worker</tr> 4671*7c568831SAndroid Build Coastguard Worker</tbody> 4672*7c568831SAndroid Build Coastguard Worker</table></div> 4673*7c568831SAndroid Build Coastguard Worker</div> 4674*7c568831SAndroid Build Coastguard Worker<hr> 4675*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4676*7c568831SAndroid Build Coastguard Worker<h3> 4677*7c568831SAndroid Build Coastguard Worker<a name="xmlRemoveProp"></a>xmlRemoveProp ()</h3> 4678*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlRemoveProp (<a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> cur)<br> 4679*7c568831SAndroid Build Coastguard Worker</pre> 4680*7c568831SAndroid Build Coastguard Worker<p>Unlink and free an <a href="libxml2-SAX.html#attribute">attribute</a> including all children. Note this doesn't work for namespace declarations. The <a href="libxml2-SAX.html#attribute">attribute</a> must have a non-NULL parent pointer.</p> 4681*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4682*7c568831SAndroid Build Coastguard Worker<col align="left"> 4683*7c568831SAndroid Build Coastguard Worker<tbody> 4684*7c568831SAndroid Build Coastguard Worker<tr> 4685*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4686*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-SAX.html#attribute">attribute</a> 4687*7c568831SAndroid Build Coastguard Worker</td> 4688*7c568831SAndroid Build Coastguard Worker</tr> 4689*7c568831SAndroid Build Coastguard Worker<tr> 4690*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4691*7c568831SAndroid Build Coastguard Worker<td>0 on success or -1 if the <a href="libxml2-SAX.html#attribute">attribute</a> was not found or arguments are invalid.</td> 4692*7c568831SAndroid Build Coastguard Worker</tr> 4693*7c568831SAndroid Build Coastguard Worker</tbody> 4694*7c568831SAndroid Build Coastguard Worker</table></div> 4695*7c568831SAndroid Build Coastguard Worker</div> 4696*7c568831SAndroid Build Coastguard Worker<hr> 4697*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4698*7c568831SAndroid Build Coastguard Worker<h3> 4699*7c568831SAndroid Build Coastguard Worker<a name="xmlReplaceNode"></a>xmlReplaceNode ()</h3> 4700*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlReplaceNode (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> old, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 4701*7c568831SAndroid Build Coastguard Worker</pre> 4702*7c568831SAndroid Build Coastguard Worker<p>Unlink the old node. If @cur is provided, it is unlinked and inserted in place of @old. It is an error if @old has no parent. Unlike xmlAddChild, this function doesn't merge text nodes or delete duplicate attributes. See the notes in <a href="libxml2-tree.html#xmlAddChild">xmlAddChild</a>.</p> 4703*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4704*7c568831SAndroid Build Coastguard Worker<col align="left"> 4705*7c568831SAndroid Build Coastguard Worker<tbody> 4706*7c568831SAndroid Build Coastguard Worker<tr> 4707*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>old</tt></i>:</span></td> 4708*7c568831SAndroid Build Coastguard Worker<td>the old node</td> 4709*7c568831SAndroid Build Coastguard Worker</tr> 4710*7c568831SAndroid Build Coastguard Worker<tr> 4711*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4712*7c568831SAndroid Build Coastguard Worker<td>the node (optional)</td> 4713*7c568831SAndroid Build Coastguard Worker</tr> 4714*7c568831SAndroid Build Coastguard Worker<tr> 4715*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4716*7c568831SAndroid Build Coastguard Worker<td>@old or NULL if arguments are invalid or a memory allocation failed.</td> 4717*7c568831SAndroid Build Coastguard Worker</tr> 4718*7c568831SAndroid Build Coastguard Worker</tbody> 4719*7c568831SAndroid Build Coastguard Worker</table></div> 4720*7c568831SAndroid Build Coastguard Worker</div> 4721*7c568831SAndroid Build Coastguard Worker<hr> 4722*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4723*7c568831SAndroid Build Coastguard Worker<h3> 4724*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFile"></a>xmlSaveFile ()</h3> 4725*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFile (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur)<br> 4726*7c568831SAndroid Build Coastguard Worker</pre> 4727*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.</p> 4728*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4729*7c568831SAndroid Build Coastguard Worker<col align="left"> 4730*7c568831SAndroid Build Coastguard Worker<tbody> 4731*7c568831SAndroid Build Coastguard Worker<tr> 4732*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 4733*7c568831SAndroid Build Coastguard Worker<td>the filename (or URL)</td> 4734*7c568831SAndroid Build Coastguard Worker</tr> 4735*7c568831SAndroid Build Coastguard Worker<tr> 4736*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4737*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4738*7c568831SAndroid Build Coastguard Worker</tr> 4739*7c568831SAndroid Build Coastguard Worker<tr> 4740*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4741*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 4742*7c568831SAndroid Build Coastguard Worker</tr> 4743*7c568831SAndroid Build Coastguard Worker</tbody> 4744*7c568831SAndroid Build Coastguard Worker</table></div> 4745*7c568831SAndroid Build Coastguard Worker</div> 4746*7c568831SAndroid Build Coastguard Worker<hr> 4747*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4748*7c568831SAndroid Build Coastguard Worker<h3> 4749*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFileEnc"></a>xmlSaveFileEnc ()</h3> 4750*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFileEnc (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding)<br> 4751*7c568831SAndroid Build Coastguard Worker</pre> 4752*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document, converting it to the given encoding</p> 4753*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4754*7c568831SAndroid Build Coastguard Worker<col align="left"> 4755*7c568831SAndroid Build Coastguard Worker<tbody> 4756*7c568831SAndroid Build Coastguard Worker<tr> 4757*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 4758*7c568831SAndroid Build Coastguard Worker<td>the filename (or URL)</td> 4759*7c568831SAndroid Build Coastguard Worker</tr> 4760*7c568831SAndroid Build Coastguard Worker<tr> 4761*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4762*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4763*7c568831SAndroid Build Coastguard Worker</tr> 4764*7c568831SAndroid Build Coastguard Worker<tr> 4765*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>encoding</tt></i>:</span></td> 4766*7c568831SAndroid Build Coastguard Worker<td>the name of an encoding (or NULL)</td> 4767*7c568831SAndroid Build Coastguard Worker</tr> 4768*7c568831SAndroid Build Coastguard Worker<tr> 4769*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4770*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 4771*7c568831SAndroid Build Coastguard Worker</tr> 4772*7c568831SAndroid Build Coastguard Worker</tbody> 4773*7c568831SAndroid Build Coastguard Worker</table></div> 4774*7c568831SAndroid Build Coastguard Worker</div> 4775*7c568831SAndroid Build Coastguard Worker<hr> 4776*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4777*7c568831SAndroid Build Coastguard Worker<h3> 4778*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFileTo"></a>xmlSaveFileTo ()</h3> 4779*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFileTo (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding)<br> 4780*7c568831SAndroid Build Coastguard Worker</pre> 4781*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.</p> 4782*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4783*7c568831SAndroid Build Coastguard Worker<col align="left"> 4784*7c568831SAndroid Build Coastguard Worker<tbody> 4785*7c568831SAndroid Build Coastguard Worker<tr> 4786*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 4787*7c568831SAndroid Build Coastguard Worker<td>an output I/O buffer</td> 4788*7c568831SAndroid Build Coastguard Worker</tr> 4789*7c568831SAndroid Build Coastguard Worker<tr> 4790*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4791*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4792*7c568831SAndroid Build Coastguard Worker</tr> 4793*7c568831SAndroid Build Coastguard Worker<tr> 4794*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>encoding</tt></i>:</span></td> 4795*7c568831SAndroid Build Coastguard Worker<td>the encoding if any assuming the I/O layer handles the transcoding</td> 4796*7c568831SAndroid Build Coastguard Worker</tr> 4797*7c568831SAndroid Build Coastguard Worker<tr> 4798*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4799*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 4800*7c568831SAndroid Build Coastguard Worker</tr> 4801*7c568831SAndroid Build Coastguard Worker</tbody> 4802*7c568831SAndroid Build Coastguard Worker</table></div> 4803*7c568831SAndroid Build Coastguard Worker</div> 4804*7c568831SAndroid Build Coastguard Worker<hr> 4805*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4806*7c568831SAndroid Build Coastguard Worker<h3> 4807*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFormatFile"></a>xmlSaveFormatFile ()</h3> 4808*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFormatFile (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> int format)<br> 4809*7c568831SAndroid Build Coastguard Worker</pre> 4810*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</p> 4811*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4812*7c568831SAndroid Build Coastguard Worker<col align="left"> 4813*7c568831SAndroid Build Coastguard Worker<tbody> 4814*7c568831SAndroid Build Coastguard Worker<tr> 4815*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 4816*7c568831SAndroid Build Coastguard Worker<td>the filename (or URL)</td> 4817*7c568831SAndroid Build Coastguard Worker</tr> 4818*7c568831SAndroid Build Coastguard Worker<tr> 4819*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4820*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4821*7c568831SAndroid Build Coastguard Worker</tr> 4822*7c568831SAndroid Build Coastguard Worker<tr> 4823*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 4824*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces been added</td> 4825*7c568831SAndroid Build Coastguard Worker</tr> 4826*7c568831SAndroid Build Coastguard Worker<tr> 4827*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4828*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 4829*7c568831SAndroid Build Coastguard Worker</tr> 4830*7c568831SAndroid Build Coastguard Worker</tbody> 4831*7c568831SAndroid Build Coastguard Worker</table></div> 4832*7c568831SAndroid Build Coastguard Worker</div> 4833*7c568831SAndroid Build Coastguard Worker<hr> 4834*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4835*7c568831SAndroid Build Coastguard Worker<h3> 4836*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFormatFileEnc"></a>xmlSaveFormatFileEnc ()</h3> 4837*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFormatFileEnc (const char * filename, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding, <br> int format)<br> 4838*7c568831SAndroid Build Coastguard Worker</pre> 4839*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to a file or an URL.</p> 4840*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4841*7c568831SAndroid Build Coastguard Worker<col align="left"> 4842*7c568831SAndroid Build Coastguard Worker<tbody> 4843*7c568831SAndroid Build Coastguard Worker<tr> 4844*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 4845*7c568831SAndroid Build Coastguard Worker<td>the filename or URL to output</td> 4846*7c568831SAndroid Build Coastguard Worker</tr> 4847*7c568831SAndroid Build Coastguard Worker<tr> 4848*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4849*7c568831SAndroid Build Coastguard Worker<td>the document being saved</td> 4850*7c568831SAndroid Build Coastguard Worker</tr> 4851*7c568831SAndroid Build Coastguard Worker<tr> 4852*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>encoding</tt></i>:</span></td> 4853*7c568831SAndroid Build Coastguard Worker<td>the name of the encoding to use or NULL.</td> 4854*7c568831SAndroid Build Coastguard Worker</tr> 4855*7c568831SAndroid Build Coastguard Worker<tr> 4856*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 4857*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces be added.</td> 4858*7c568831SAndroid Build Coastguard Worker</tr> 4859*7c568831SAndroid Build Coastguard Worker<tr> 4860*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4861*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of error. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</td> 4862*7c568831SAndroid Build Coastguard Worker</tr> 4863*7c568831SAndroid Build Coastguard Worker</tbody> 4864*7c568831SAndroid Build Coastguard Worker</table></div> 4865*7c568831SAndroid Build Coastguard Worker</div> 4866*7c568831SAndroid Build Coastguard Worker<hr> 4867*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4868*7c568831SAndroid Build Coastguard Worker<h3> 4869*7c568831SAndroid Build Coastguard Worker<a name="xmlSaveFormatFileTo"></a>xmlSaveFormatFileTo ()</h3> 4870*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSaveFormatFileTo (<a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> cur, <br> const char * encoding, <br> int format)<br> 4871*7c568831SAndroid Build Coastguard Worker</pre> 4872*7c568831SAndroid Build Coastguard Worker<p>Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.</p> 4873*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4874*7c568831SAndroid Build Coastguard Worker<col align="left"> 4875*7c568831SAndroid Build Coastguard Worker<tbody> 4876*7c568831SAndroid Build Coastguard Worker<tr> 4877*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>buf</tt></i>:</span></td> 4878*7c568831SAndroid Build Coastguard Worker<td>an output I/O buffer</td> 4879*7c568831SAndroid Build Coastguard Worker</tr> 4880*7c568831SAndroid Build Coastguard Worker<tr> 4881*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 4882*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4883*7c568831SAndroid Build Coastguard Worker</tr> 4884*7c568831SAndroid Build Coastguard Worker<tr> 4885*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>encoding</tt></i>:</span></td> 4886*7c568831SAndroid Build Coastguard Worker<td>the encoding if any assuming the I/O layer handles the transcoding</td> 4887*7c568831SAndroid Build Coastguard Worker</tr> 4888*7c568831SAndroid Build Coastguard Worker<tr> 4889*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>format</tt></i>:</span></td> 4890*7c568831SAndroid Build Coastguard Worker<td>should formatting spaces been added</td> 4891*7c568831SAndroid Build Coastguard Worker</tr> 4892*7c568831SAndroid Build Coastguard Worker<tr> 4893*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4894*7c568831SAndroid Build Coastguard Worker<td>the number of bytes written or -1 in case of failure.</td> 4895*7c568831SAndroid Build Coastguard Worker</tr> 4896*7c568831SAndroid Build Coastguard Worker</tbody> 4897*7c568831SAndroid Build Coastguard Worker</table></div> 4898*7c568831SAndroid Build Coastguard Worker</div> 4899*7c568831SAndroid Build Coastguard Worker<hr> 4900*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4901*7c568831SAndroid Build Coastguard Worker<h3> 4902*7c568831SAndroid Build Coastguard Worker<a name="xmlSearchNs"></a>xmlSearchNs ()</h3> 4903*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlSearchNs (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * nameSpace)<br> 4904*7c568831SAndroid Build Coastguard Worker</pre> 4905*7c568831SAndroid Build Coastguard Worker<p>Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.</p> 4906*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4907*7c568831SAndroid Build Coastguard Worker<col align="left"> 4908*7c568831SAndroid Build Coastguard Worker<tbody> 4909*7c568831SAndroid Build Coastguard Worker<tr> 4910*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4911*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4912*7c568831SAndroid Build Coastguard Worker</tr> 4913*7c568831SAndroid Build Coastguard Worker<tr> 4914*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4915*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4916*7c568831SAndroid Build Coastguard Worker</tr> 4917*7c568831SAndroid Build Coastguard Worker<tr> 4918*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>nameSpace</tt></i>:</span></td> 4919*7c568831SAndroid Build Coastguard Worker<td>the namespace prefix</td> 4920*7c568831SAndroid Build Coastguard Worker</tr> 4921*7c568831SAndroid Build Coastguard Worker<tr> 4922*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4923*7c568831SAndroid Build Coastguard Worker<td>the namespace pointer or NULL if no namespace was found or a memory allocation failed. Allocations can only fail if the "xml" namespace is queried.</td> 4924*7c568831SAndroid Build Coastguard Worker</tr> 4925*7c568831SAndroid Build Coastguard Worker</tbody> 4926*7c568831SAndroid Build Coastguard Worker</table></div> 4927*7c568831SAndroid Build Coastguard Worker</div> 4928*7c568831SAndroid Build Coastguard Worker<hr> 4929*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4930*7c568831SAndroid Build Coastguard Worker<h3> 4931*7c568831SAndroid Build Coastguard Worker<a name="xmlSearchNsByHref"></a>xmlSearchNsByHref ()</h3> 4932*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> xmlSearchNsByHref (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * href)<br> 4933*7c568831SAndroid Build Coastguard Worker</pre> 4934*7c568831SAndroid Build Coastguard Worker<p>Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise.</p> 4935*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4936*7c568831SAndroid Build Coastguard Worker<col align="left"> 4937*7c568831SAndroid Build Coastguard Worker<tbody> 4938*7c568831SAndroid Build Coastguard Worker<tr> 4939*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4940*7c568831SAndroid Build Coastguard Worker<td>the document</td> 4941*7c568831SAndroid Build Coastguard Worker</tr> 4942*7c568831SAndroid Build Coastguard Worker<tr> 4943*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 4944*7c568831SAndroid Build Coastguard Worker<td>the current node</td> 4945*7c568831SAndroid Build Coastguard Worker</tr> 4946*7c568831SAndroid Build Coastguard Worker<tr> 4947*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>href</tt></i>:</span></td> 4948*7c568831SAndroid Build Coastguard Worker<td>the namespace value</td> 4949*7c568831SAndroid Build Coastguard Worker</tr> 4950*7c568831SAndroid Build Coastguard Worker<tr> 4951*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 4952*7c568831SAndroid Build Coastguard Worker<td>the namespace pointer or NULL if no namespace was found or a memory allocation failed. Allocations can only fail if the "xml" namespace is queried.</td> 4953*7c568831SAndroid Build Coastguard Worker</tr> 4954*7c568831SAndroid Build Coastguard Worker</tbody> 4955*7c568831SAndroid Build Coastguard Worker</table></div> 4956*7c568831SAndroid Build Coastguard Worker</div> 4957*7c568831SAndroid Build Coastguard Worker<hr> 4958*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4959*7c568831SAndroid Build Coastguard Worker<h3> 4960*7c568831SAndroid Build Coastguard Worker<a name="xmlSetBufferAllocationScheme"></a>xmlSetBufferAllocationScheme ()</h3> 4961*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlSetBufferAllocationScheme (<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme)<br> 4962*7c568831SAndroid Build Coastguard Worker</pre> 4963*7c568831SAndroid Build Coastguard Worker<p>Set the buffer allocation method. Types are <a href="libxml2-tree.html#XML_BUFFER_ALLOC_EXACT">XML_BUFFER_ALLOC_EXACT</a> - use exact sizes, keeps memory usage down <a href="libxml2-tree.html#XML_BUFFER_ALLOC_DOUBLEIT">XML_BUFFER_ALLOC_DOUBLEIT</a> - double buffer when extra needed, improves performance</p> 4964*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4965*7c568831SAndroid Build Coastguard Worker<col align="left"> 4966*7c568831SAndroid Build Coastguard Worker<tbody><tr> 4967*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>scheme</tt></i>:</span></td> 4968*7c568831SAndroid Build Coastguard Worker<td>allocation method to use</td> 4969*7c568831SAndroid Build Coastguard Worker</tr></tbody> 4970*7c568831SAndroid Build Coastguard Worker</table></div> 4971*7c568831SAndroid Build Coastguard Worker</div> 4972*7c568831SAndroid Build Coastguard Worker<hr> 4973*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4974*7c568831SAndroid Build Coastguard Worker<h3> 4975*7c568831SAndroid Build Coastguard Worker<a name="xmlSetCompressMode"></a>xmlSetCompressMode ()</h3> 4976*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlSetCompressMode (int mode)<br> 4977*7c568831SAndroid Build Coastguard Worker</pre> 4978*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: Use <a href="libxml2-tree.html#xmlSetDocCompressMode">xmlSetDocCompressMode</a> set the default compression mode used, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)</p> 4979*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4980*7c568831SAndroid Build Coastguard Worker<col align="left"> 4981*7c568831SAndroid Build Coastguard Worker<tbody><tr> 4982*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>mode</tt></i>:</span></td> 4983*7c568831SAndroid Build Coastguard Worker<td>the compression ratio</td> 4984*7c568831SAndroid Build Coastguard Worker</tr></tbody> 4985*7c568831SAndroid Build Coastguard Worker</table></div> 4986*7c568831SAndroid Build Coastguard Worker</div> 4987*7c568831SAndroid Build Coastguard Worker<hr> 4988*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 4989*7c568831SAndroid Build Coastguard Worker<h3> 4990*7c568831SAndroid Build Coastguard Worker<a name="xmlSetDocCompressMode"></a>xmlSetDocCompressMode ()</h3> 4991*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlSetDocCompressMode (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br> int mode)<br> 4992*7c568831SAndroid Build Coastguard Worker</pre> 4993*7c568831SAndroid Build Coastguard Worker<p>set the compression ratio for a document, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)</p> 4994*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 4995*7c568831SAndroid Build Coastguard Worker<col align="left"> 4996*7c568831SAndroid Build Coastguard Worker<tbody> 4997*7c568831SAndroid Build Coastguard Worker<tr> 4998*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 4999*7c568831SAndroid Build Coastguard Worker<td>the document</td> 5000*7c568831SAndroid Build Coastguard Worker</tr> 5001*7c568831SAndroid Build Coastguard Worker<tr> 5002*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>mode</tt></i>:</span></td> 5003*7c568831SAndroid Build Coastguard Worker<td>the compression ratio</td> 5004*7c568831SAndroid Build Coastguard Worker</tr> 5005*7c568831SAndroid Build Coastguard Worker</tbody> 5006*7c568831SAndroid Build Coastguard Worker</table></div> 5007*7c568831SAndroid Build Coastguard Worker</div> 5008*7c568831SAndroid Build Coastguard Worker<hr> 5009*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5010*7c568831SAndroid Build Coastguard Worker<h3> 5011*7c568831SAndroid Build Coastguard Worker<a name="xmlSetListDoc"></a>xmlSetListDoc ()</h3> 5012*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSetListDoc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> list, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br> 5013*7c568831SAndroid Build Coastguard Worker</pre> 5014*7c568831SAndroid Build Coastguard Worker<p>Associate all subtrees in @list with a new document. Internal function, see <a href="libxml2-tree.html#xmlSetTreeDoc">xmlSetTreeDoc</a>.</p> 5015*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5016*7c568831SAndroid Build Coastguard Worker<col align="left"> 5017*7c568831SAndroid Build Coastguard Worker<tbody> 5018*7c568831SAndroid Build Coastguard Worker<tr> 5019*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>list</tt></i>:</span></td> 5020*7c568831SAndroid Build Coastguard Worker<td>a node list</td> 5021*7c568831SAndroid Build Coastguard Worker</tr> 5022*7c568831SAndroid Build Coastguard Worker<tr> 5023*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 5024*7c568831SAndroid Build Coastguard Worker<td>new document</td> 5025*7c568831SAndroid Build Coastguard Worker</tr> 5026*7c568831SAndroid Build Coastguard Worker<tr> 5027*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5028*7c568831SAndroid Build Coastguard Worker<td>0 on success. If a memory allocation fails, returns -1. All subtrees will be updated on failure but some strings may be lost.</td> 5029*7c568831SAndroid Build Coastguard Worker</tr> 5030*7c568831SAndroid Build Coastguard Worker</tbody> 5031*7c568831SAndroid Build Coastguard Worker</table></div> 5032*7c568831SAndroid Build Coastguard Worker</div> 5033*7c568831SAndroid Build Coastguard Worker<hr> 5034*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5035*7c568831SAndroid Build Coastguard Worker<h3> 5036*7c568831SAndroid Build Coastguard Worker<a name="xmlSetNs"></a>xmlSetNs ()</h3> 5037*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlSetNs (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns)<br> 5038*7c568831SAndroid Build Coastguard Worker</pre> 5039*7c568831SAndroid Build Coastguard Worker<p>Set the namespace of an element or <a href="libxml2-SAX.html#attribute">attribute</a> node. Passing a NULL namespace unsets the namespace.</p> 5040*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5041*7c568831SAndroid Build Coastguard Worker<col align="left"> 5042*7c568831SAndroid Build Coastguard Worker<tbody> 5043*7c568831SAndroid Build Coastguard Worker<tr> 5044*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5045*7c568831SAndroid Build Coastguard Worker<td>a node in the document</td> 5046*7c568831SAndroid Build Coastguard Worker</tr> 5047*7c568831SAndroid Build Coastguard Worker<tr> 5048*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 5049*7c568831SAndroid Build Coastguard Worker<td>a namespace pointer (optional)</td> 5050*7c568831SAndroid Build Coastguard Worker</tr> 5051*7c568831SAndroid Build Coastguard Worker</tbody> 5052*7c568831SAndroid Build Coastguard Worker</table></div> 5053*7c568831SAndroid Build Coastguard Worker</div> 5054*7c568831SAndroid Build Coastguard Worker<hr> 5055*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5056*7c568831SAndroid Build Coastguard Worker<h3> 5057*7c568831SAndroid Build Coastguard Worker<a name="xmlSetNsProp"></a>xmlSetNsProp ()</h3> 5058*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlSetNsProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 5059*7c568831SAndroid Build Coastguard Worker</pre> 5060*7c568831SAndroid Build Coastguard Worker<p>Set (or reset) an <a href="libxml2-SAX.html#attribute">attribute</a> carried by a node. The ns structure must be in scope, this is not checked</p> 5061*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5062*7c568831SAndroid Build Coastguard Worker<col align="left"> 5063*7c568831SAndroid Build Coastguard Worker<tbody> 5064*7c568831SAndroid Build Coastguard Worker<tr> 5065*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5066*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5067*7c568831SAndroid Build Coastguard Worker</tr> 5068*7c568831SAndroid Build Coastguard Worker<tr> 5069*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 5070*7c568831SAndroid Build Coastguard Worker<td>the namespace definition</td> 5071*7c568831SAndroid Build Coastguard Worker</tr> 5072*7c568831SAndroid Build Coastguard Worker<tr> 5073*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5074*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 5075*7c568831SAndroid Build Coastguard Worker</tr> 5076*7c568831SAndroid Build Coastguard Worker<tr> 5077*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5078*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> value</td> 5079*7c568831SAndroid Build Coastguard Worker</tr> 5080*7c568831SAndroid Build Coastguard Worker<tr> 5081*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5082*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> pointer.</td> 5083*7c568831SAndroid Build Coastguard Worker</tr> 5084*7c568831SAndroid Build Coastguard Worker</tbody> 5085*7c568831SAndroid Build Coastguard Worker</table></div> 5086*7c568831SAndroid Build Coastguard Worker</div> 5087*7c568831SAndroid Build Coastguard Worker<hr> 5088*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5089*7c568831SAndroid Build Coastguard Worker<h3> 5090*7c568831SAndroid Build Coastguard Worker<a name="xmlSetProp"></a>xmlSetProp ()</h3> 5091*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlAttrPtr">xmlAttrPtr</a> xmlSetProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 5092*7c568831SAndroid Build Coastguard Worker</pre> 5093*7c568831SAndroid Build Coastguard Worker<p>Set (or reset) an <a href="libxml2-SAX.html#attribute">attribute</a> carried by a node. If @name has a prefix, then the corresponding namespace-binding will be used, if in scope; it is an error it there's no such ns-binding for the prefix in scope.</p> 5094*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5095*7c568831SAndroid Build Coastguard Worker<col align="left"> 5096*7c568831SAndroid Build Coastguard Worker<tbody> 5097*7c568831SAndroid Build Coastguard Worker<tr> 5098*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5099*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5100*7c568831SAndroid Build Coastguard Worker</tr> 5101*7c568831SAndroid Build Coastguard Worker<tr> 5102*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5103*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name (a QName)</td> 5104*7c568831SAndroid Build Coastguard Worker</tr> 5105*7c568831SAndroid Build Coastguard Worker<tr> 5106*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5107*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> value</td> 5108*7c568831SAndroid Build Coastguard Worker</tr> 5109*7c568831SAndroid Build Coastguard Worker<tr> 5110*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5111*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> pointer.</td> 5112*7c568831SAndroid Build Coastguard Worker</tr> 5113*7c568831SAndroid Build Coastguard Worker</tbody> 5114*7c568831SAndroid Build Coastguard Worker</table></div> 5115*7c568831SAndroid Build Coastguard Worker</div> 5116*7c568831SAndroid Build Coastguard Worker<hr> 5117*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5118*7c568831SAndroid Build Coastguard Worker<h3> 5119*7c568831SAndroid Build Coastguard Worker<a name="xmlSetTreeDoc"></a>xmlSetTreeDoc ()</h3> 5120*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlSetTreeDoc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> tree, <br> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br> 5121*7c568831SAndroid Build Coastguard Worker</pre> 5122*7c568831SAndroid Build Coastguard Worker<p>This is an internal function which shouldn't be used. It is invoked by functions like xmlAddChild, <a href="libxml2-tree.html#xmlAddSibling">xmlAddSibling</a> or <a href="libxml2-tree.html#xmlReplaceNode">xmlReplaceNode</a>. @tree must be the root node of an unlinked subtree. Associate all nodes in a tree with a new document. Also copy strings from the old document's dictionary and remove ID attributes from the old ID table.</p> 5123*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5124*7c568831SAndroid Build Coastguard Worker<col align="left"> 5125*7c568831SAndroid Build Coastguard Worker<tbody> 5126*7c568831SAndroid Build Coastguard Worker<tr> 5127*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>tree</tt></i>:</span></td> 5128*7c568831SAndroid Build Coastguard Worker<td>root of a subtree</td> 5129*7c568831SAndroid Build Coastguard Worker</tr> 5130*7c568831SAndroid Build Coastguard Worker<tr> 5131*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 5132*7c568831SAndroid Build Coastguard Worker<td>new document</td> 5133*7c568831SAndroid Build Coastguard Worker</tr> 5134*7c568831SAndroid Build Coastguard Worker<tr> 5135*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5136*7c568831SAndroid Build Coastguard Worker<td>0 on success. If a memory allocation fails, returns -1. The whole tree will be updated on failure but some strings may be lost.</td> 5137*7c568831SAndroid Build Coastguard Worker</tr> 5138*7c568831SAndroid Build Coastguard Worker</tbody> 5139*7c568831SAndroid Build Coastguard Worker</table></div> 5140*7c568831SAndroid Build Coastguard Worker</div> 5141*7c568831SAndroid Build Coastguard Worker<hr> 5142*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5143*7c568831SAndroid Build Coastguard Worker<h3> 5144*7c568831SAndroid Build Coastguard Worker<a name="xmlSplitQName2"></a>xmlSplitQName2 ()</h3> 5145*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName2 (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** prefix)<br> 5146*7c568831SAndroid Build Coastguard Worker</pre> 5147*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: This function doesn't report malloc failures. parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</p> 5148*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5149*7c568831SAndroid Build Coastguard Worker<col align="left"> 5150*7c568831SAndroid Build Coastguard Worker<tbody> 5151*7c568831SAndroid Build Coastguard Worker<tr> 5152*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5153*7c568831SAndroid Build Coastguard Worker<td>the full QName</td> 5154*7c568831SAndroid Build Coastguard Worker</tr> 5155*7c568831SAndroid Build Coastguard Worker<tr> 5156*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefix</tt></i>:</span></td> 5157*7c568831SAndroid Build Coastguard Worker<td>a <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> **</td> 5158*7c568831SAndroid Build Coastguard Worker</tr> 5159*7c568831SAndroid Build Coastguard Worker<tr> 5160*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5161*7c568831SAndroid Build Coastguard Worker<td>NULL if the name doesn't have a prefix. Otherwise, returns the local part, and prefix is updated to get the Prefix. Both the return value and the prefix must be freed by the caller.</td> 5162*7c568831SAndroid Build Coastguard Worker</tr> 5163*7c568831SAndroid Build Coastguard Worker</tbody> 5164*7c568831SAndroid Build Coastguard Worker</table></div> 5165*7c568831SAndroid Build Coastguard Worker</div> 5166*7c568831SAndroid Build Coastguard Worker<hr> 5167*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5168*7c568831SAndroid Build Coastguard Worker<h3> 5169*7c568831SAndroid Build Coastguard Worker<a name="xmlSplitQName3"></a>xmlSplitQName3 ()</h3> 5170*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName3 (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br> int * len)<br> 5171*7c568831SAndroid Build Coastguard Worker</pre> 5172*7c568831SAndroid Build Coastguard Worker<p>parse an XML qualified name string,i</p> 5173*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5174*7c568831SAndroid Build Coastguard Worker<col align="left"> 5175*7c568831SAndroid Build Coastguard Worker<tbody> 5176*7c568831SAndroid Build Coastguard Worker<tr> 5177*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5178*7c568831SAndroid Build Coastguard Worker<td>the full QName</td> 5179*7c568831SAndroid Build Coastguard Worker</tr> 5180*7c568831SAndroid Build Coastguard Worker<tr> 5181*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 5182*7c568831SAndroid Build Coastguard Worker<td>an int *</td> 5183*7c568831SAndroid Build Coastguard Worker</tr> 5184*7c568831SAndroid Build Coastguard Worker<tr> 5185*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5186*7c568831SAndroid Build Coastguard Worker<td>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</td> 5187*7c568831SAndroid Build Coastguard Worker</tr> 5188*7c568831SAndroid Build Coastguard Worker</tbody> 5189*7c568831SAndroid Build Coastguard Worker</table></div> 5190*7c568831SAndroid Build Coastguard Worker</div> 5191*7c568831SAndroid Build Coastguard Worker<hr> 5192*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5193*7c568831SAndroid Build Coastguard Worker<h3> 5194*7c568831SAndroid Build Coastguard Worker<a name="xmlStringGetNodeList"></a>xmlStringGetNodeList ()</h3> 5195*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlStringGetNodeList (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 5196*7c568831SAndroid Build Coastguard Worker</pre> 5197*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: Use <a href="libxml2-tree.html#xmlNodeSetContent">xmlNodeSetContent</a>. Parse an <a href="libxml2-SAX.html#attribute">attribute</a> value and build a node list containing only text and entity <a href="libxml2-SAX.html#reference">reference</a> nodes. The resulting nodes will be associated with the document if provided. The document is also used to look up entities. The input is not validated. Syntax errors or references to undeclared entities will be ignored silently with unspecified results.</p> 5198*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5199*7c568831SAndroid Build Coastguard Worker<col align="left"> 5200*7c568831SAndroid Build Coastguard Worker<tbody> 5201*7c568831SAndroid Build Coastguard Worker<tr> 5202*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 5203*7c568831SAndroid Build Coastguard Worker<td>a document (optional)</td> 5204*7c568831SAndroid Build Coastguard Worker</tr> 5205*7c568831SAndroid Build Coastguard Worker<tr> 5206*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5207*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-SAX.html#attribute">attribute</a> value</td> 5208*7c568831SAndroid Build Coastguard Worker</tr> 5209*7c568831SAndroid Build Coastguard Worker<tr> 5210*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5211*7c568831SAndroid Build Coastguard Worker<td>a pointer to the first child or NULL if a memory allocation failed.</td> 5212*7c568831SAndroid Build Coastguard Worker</tr> 5213*7c568831SAndroid Build Coastguard Worker</tbody> 5214*7c568831SAndroid Build Coastguard Worker</table></div> 5215*7c568831SAndroid Build Coastguard Worker</div> 5216*7c568831SAndroid Build Coastguard Worker<hr> 5217*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5218*7c568831SAndroid Build Coastguard Worker<h3> 5219*7c568831SAndroid Build Coastguard Worker<a name="xmlStringLenGetNodeList"></a>xmlStringLenGetNodeList ()</h3> 5220*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlStringLenGetNodeList (const <a href="libxml2-tree.html#xmlDoc">xmlDoc</a> * doc, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int len)<br> 5221*7c568831SAndroid Build Coastguard Worker</pre> 5222*7c568831SAndroid Build Coastguard Worker<p>DEPRECATED: Use <a href="libxml2-tree.html#xmlNodeSetContentLen">xmlNodeSetContentLen</a>. See <a href="libxml2-tree.html#xmlStringGetNodeList">xmlStringGetNodeList</a>.</p> 5223*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5224*7c568831SAndroid Build Coastguard Worker<col align="left"> 5225*7c568831SAndroid Build Coastguard Worker<tbody> 5226*7c568831SAndroid Build Coastguard Worker<tr> 5227*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>doc</tt></i>:</span></td> 5228*7c568831SAndroid Build Coastguard Worker<td>a document (optional)</td> 5229*7c568831SAndroid Build Coastguard Worker</tr> 5230*7c568831SAndroid Build Coastguard Worker<tr> 5231*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5232*7c568831SAndroid Build Coastguard Worker<td>an <a href="libxml2-SAX.html#attribute">attribute</a> value</td> 5233*7c568831SAndroid Build Coastguard Worker</tr> 5234*7c568831SAndroid Build Coastguard Worker<tr> 5235*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 5236*7c568831SAndroid Build Coastguard Worker<td>maximum length of the <a href="libxml2-SAX.html#attribute">attribute</a> value</td> 5237*7c568831SAndroid Build Coastguard Worker</tr> 5238*7c568831SAndroid Build Coastguard Worker<tr> 5239*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5240*7c568831SAndroid Build Coastguard Worker<td>a pointer to the first child or NULL if a memory allocation failed.</td> 5241*7c568831SAndroid Build Coastguard Worker</tr> 5242*7c568831SAndroid Build Coastguard Worker</tbody> 5243*7c568831SAndroid Build Coastguard Worker</table></div> 5244*7c568831SAndroid Build Coastguard Worker</div> 5245*7c568831SAndroid Build Coastguard Worker<hr> 5246*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5247*7c568831SAndroid Build Coastguard Worker<h3> 5248*7c568831SAndroid Build Coastguard Worker<a name="xmlTextConcat"></a>xmlTextConcat ()</h3> 5249*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlTextConcat (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content, <br> int len)<br> 5250*7c568831SAndroid Build Coastguard Worker</pre> 5251*7c568831SAndroid Build Coastguard Worker<p>Concat the given string at the end of the existing node content. If @len is -1, the string length will be calculated.</p> 5252*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5253*7c568831SAndroid Build Coastguard Worker<col align="left"> 5254*7c568831SAndroid Build Coastguard Worker<tbody> 5255*7c568831SAndroid Build Coastguard Worker<tr> 5256*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5257*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5258*7c568831SAndroid Build Coastguard Worker</tr> 5259*7c568831SAndroid Build Coastguard Worker<tr> 5260*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>content</tt></i>:</span></td> 5261*7c568831SAndroid Build Coastguard Worker<td>the content</td> 5262*7c568831SAndroid Build Coastguard Worker</tr> 5263*7c568831SAndroid Build Coastguard Worker<tr> 5264*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>len</tt></i>:</span></td> 5265*7c568831SAndroid Build Coastguard Worker<td>@content length</td> 5266*7c568831SAndroid Build Coastguard Worker</tr> 5267*7c568831SAndroid Build Coastguard Worker<tr> 5268*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5269*7c568831SAndroid Build Coastguard Worker<td>-1 in case of error, 0 otherwise</td> 5270*7c568831SAndroid Build Coastguard Worker</tr> 5271*7c568831SAndroid Build Coastguard Worker</tbody> 5272*7c568831SAndroid Build Coastguard Worker</table></div> 5273*7c568831SAndroid Build Coastguard Worker</div> 5274*7c568831SAndroid Build Coastguard Worker<hr> 5275*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5276*7c568831SAndroid Build Coastguard Worker<h3> 5277*7c568831SAndroid Build Coastguard Worker<a name="xmlTextMerge"></a>xmlTextMerge ()</h3> 5278*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> xmlTextMerge (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> first, <br> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> second)<br> 5279*7c568831SAndroid Build Coastguard Worker</pre> 5280*7c568831SAndroid Build Coastguard Worker<p>Merge the second text node into the first. The second node is unlinked and freed.</p> 5281*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5282*7c568831SAndroid Build Coastguard Worker<col align="left"> 5283*7c568831SAndroid Build Coastguard Worker<tbody> 5284*7c568831SAndroid Build Coastguard Worker<tr> 5285*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>first</tt></i>:</span></td> 5286*7c568831SAndroid Build Coastguard Worker<td>the first text node</td> 5287*7c568831SAndroid Build Coastguard Worker</tr> 5288*7c568831SAndroid Build Coastguard Worker<tr> 5289*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>second</tt></i>:</span></td> 5290*7c568831SAndroid Build Coastguard Worker<td>the second text node being merged</td> 5291*7c568831SAndroid Build Coastguard Worker</tr> 5292*7c568831SAndroid Build Coastguard Worker<tr> 5293*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5294*7c568831SAndroid Build Coastguard Worker<td>the first text node augmented or NULL in case of error.</td> 5295*7c568831SAndroid Build Coastguard Worker</tr> 5296*7c568831SAndroid Build Coastguard Worker</tbody> 5297*7c568831SAndroid Build Coastguard Worker</table></div> 5298*7c568831SAndroid Build Coastguard Worker</div> 5299*7c568831SAndroid Build Coastguard Worker<hr> 5300*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5301*7c568831SAndroid Build Coastguard Worker<h3> 5302*7c568831SAndroid Build Coastguard Worker<a name="xmlThrDefBufferAllocScheme"></a>xmlThrDefBufferAllocScheme ()</h3> 5303*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> xmlThrDefBufferAllocScheme (<a href="libxml2-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> v)<br> 5304*7c568831SAndroid Build Coastguard Worker</pre> 5305*7c568831SAndroid Build Coastguard Worker<p></p> 5306*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5307*7c568831SAndroid Build Coastguard Worker<col align="left"> 5308*7c568831SAndroid Build Coastguard Worker<tbody> 5309*7c568831SAndroid Build Coastguard Worker<tr> 5310*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>v</tt></i>:</span></td> 5311*7c568831SAndroid Build Coastguard Worker<td></td> 5312*7c568831SAndroid Build Coastguard Worker</tr> 5313*7c568831SAndroid Build Coastguard Worker<tr> 5314*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5315*7c568831SAndroid Build Coastguard Worker<td></td> 5316*7c568831SAndroid Build Coastguard Worker</tr> 5317*7c568831SAndroid Build Coastguard Worker</tbody> 5318*7c568831SAndroid Build Coastguard Worker</table></div> 5319*7c568831SAndroid Build Coastguard Worker</div> 5320*7c568831SAndroid Build Coastguard Worker<hr> 5321*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5322*7c568831SAndroid Build Coastguard Worker<h3> 5323*7c568831SAndroid Build Coastguard Worker<a name="xmlThrDefDefaultBufferSize"></a>xmlThrDefDefaultBufferSize ()</h3> 5324*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlThrDefDefaultBufferSize (int v)<br> 5325*7c568831SAndroid Build Coastguard Worker</pre> 5326*7c568831SAndroid Build Coastguard Worker<p></p> 5327*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5328*7c568831SAndroid Build Coastguard Worker<col align="left"> 5329*7c568831SAndroid Build Coastguard Worker<tbody> 5330*7c568831SAndroid Build Coastguard Worker<tr> 5331*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>v</tt></i>:</span></td> 5332*7c568831SAndroid Build Coastguard Worker<td></td> 5333*7c568831SAndroid Build Coastguard Worker</tr> 5334*7c568831SAndroid Build Coastguard Worker<tr> 5335*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5336*7c568831SAndroid Build Coastguard Worker<td></td> 5337*7c568831SAndroid Build Coastguard Worker</tr> 5338*7c568831SAndroid Build Coastguard Worker</tbody> 5339*7c568831SAndroid Build Coastguard Worker</table></div> 5340*7c568831SAndroid Build Coastguard Worker</div> 5341*7c568831SAndroid Build Coastguard Worker<hr> 5342*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5343*7c568831SAndroid Build Coastguard Worker<h3> 5344*7c568831SAndroid Build Coastguard Worker<a name="xmlThrDefDeregisterNodeDefault"></a>xmlThrDefDeregisterNodeDefault ()</h3> 5345*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> xmlThrDefDeregisterNodeDefault (<a href="libxml2-tree.html#xmlDeregisterNodeFunc">xmlDeregisterNodeFunc</a> func)<br> 5346*7c568831SAndroid Build Coastguard Worker</pre> 5347*7c568831SAndroid Build Coastguard Worker<p></p> 5348*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5349*7c568831SAndroid Build Coastguard Worker<col align="left"> 5350*7c568831SAndroid Build Coastguard Worker<tbody> 5351*7c568831SAndroid Build Coastguard Worker<tr> 5352*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>func</tt></i>:</span></td> 5353*7c568831SAndroid Build Coastguard Worker<td></td> 5354*7c568831SAndroid Build Coastguard Worker</tr> 5355*7c568831SAndroid Build Coastguard Worker<tr> 5356*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5357*7c568831SAndroid Build Coastguard Worker<td></td> 5358*7c568831SAndroid Build Coastguard Worker</tr> 5359*7c568831SAndroid Build Coastguard Worker</tbody> 5360*7c568831SAndroid Build Coastguard Worker</table></div> 5361*7c568831SAndroid Build Coastguard Worker</div> 5362*7c568831SAndroid Build Coastguard Worker<hr> 5363*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5364*7c568831SAndroid Build Coastguard Worker<h3> 5365*7c568831SAndroid Build Coastguard Worker<a name="xmlThrDefRegisterNodeDefault"></a>xmlThrDefRegisterNodeDefault ()</h3> 5366*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> xmlThrDefRegisterNodeDefault (<a href="libxml2-tree.html#xmlRegisterNodeFunc">xmlRegisterNodeFunc</a> func)<br> 5367*7c568831SAndroid Build Coastguard Worker</pre> 5368*7c568831SAndroid Build Coastguard Worker<p></p> 5369*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5370*7c568831SAndroid Build Coastguard Worker<col align="left"> 5371*7c568831SAndroid Build Coastguard Worker<tbody> 5372*7c568831SAndroid Build Coastguard Worker<tr> 5373*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>func</tt></i>:</span></td> 5374*7c568831SAndroid Build Coastguard Worker<td></td> 5375*7c568831SAndroid Build Coastguard Worker</tr> 5376*7c568831SAndroid Build Coastguard Worker<tr> 5377*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5378*7c568831SAndroid Build Coastguard Worker<td></td> 5379*7c568831SAndroid Build Coastguard Worker</tr> 5380*7c568831SAndroid Build Coastguard Worker</tbody> 5381*7c568831SAndroid Build Coastguard Worker</table></div> 5382*7c568831SAndroid Build Coastguard Worker</div> 5383*7c568831SAndroid Build Coastguard Worker<hr> 5384*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5385*7c568831SAndroid Build Coastguard Worker<h3> 5386*7c568831SAndroid Build Coastguard Worker<a name="xmlUnlinkNode"></a>xmlUnlinkNode ()</h3> 5387*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlUnlinkNode (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> cur)<br> 5388*7c568831SAndroid Build Coastguard Worker</pre> 5389*7c568831SAndroid Build Coastguard Worker<p>Unlink a node from its tree. The node is not freed. Unless it is reinserted, it must be managed manually and freed eventually by calling <a href="libxml2-tree.html#xmlFreeNode">xmlFreeNode</a>.</p> 5390*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5391*7c568831SAndroid Build Coastguard Worker<col align="left"> 5392*7c568831SAndroid Build Coastguard Worker<tbody><tr> 5393*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>cur</tt></i>:</span></td> 5394*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5395*7c568831SAndroid Build Coastguard Worker</tr></tbody> 5396*7c568831SAndroid Build Coastguard Worker</table></div> 5397*7c568831SAndroid Build Coastguard Worker</div> 5398*7c568831SAndroid Build Coastguard Worker<hr> 5399*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5400*7c568831SAndroid Build Coastguard Worker<h3> 5401*7c568831SAndroid Build Coastguard Worker<a name="xmlUnsetNsProp"></a>xmlUnsetNsProp ()</h3> 5402*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlUnsetNsProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 5403*7c568831SAndroid Build Coastguard Worker</pre> 5404*7c568831SAndroid Build Coastguard Worker<p>Remove an <a href="libxml2-SAX.html#attribute">attribute</a> carried by a node.</p> 5405*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5406*7c568831SAndroid Build Coastguard Worker<col align="left"> 5407*7c568831SAndroid Build Coastguard Worker<tbody> 5408*7c568831SAndroid Build Coastguard Worker<tr> 5409*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5410*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5411*7c568831SAndroid Build Coastguard Worker</tr> 5412*7c568831SAndroid Build Coastguard Worker<tr> 5413*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>ns</tt></i>:</span></td> 5414*7c568831SAndroid Build Coastguard Worker<td>the namespace definition</td> 5415*7c568831SAndroid Build Coastguard Worker</tr> 5416*7c568831SAndroid Build Coastguard Worker<tr> 5417*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5418*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 5419*7c568831SAndroid Build Coastguard Worker</tr> 5420*7c568831SAndroid Build Coastguard Worker<tr> 5421*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5422*7c568831SAndroid Build Coastguard Worker<td>0 if successful, -1 if not found</td> 5423*7c568831SAndroid Build Coastguard Worker</tr> 5424*7c568831SAndroid Build Coastguard Worker</tbody> 5425*7c568831SAndroid Build Coastguard Worker</table></div> 5426*7c568831SAndroid Build Coastguard Worker</div> 5427*7c568831SAndroid Build Coastguard Worker<hr> 5428*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5429*7c568831SAndroid Build Coastguard Worker<h3> 5430*7c568831SAndroid Build Coastguard Worker<a name="xmlUnsetProp"></a>xmlUnsetProp ()</h3> 5431*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlUnsetProp (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br> 5432*7c568831SAndroid Build Coastguard Worker</pre> 5433*7c568831SAndroid Build Coastguard Worker<p>Remove an <a href="libxml2-SAX.html#attribute">attribute</a> carried by a node. This handles only attributes in no namespace.</p> 5434*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5435*7c568831SAndroid Build Coastguard Worker<col align="left"> 5436*7c568831SAndroid Build Coastguard Worker<tbody> 5437*7c568831SAndroid Build Coastguard Worker<tr> 5438*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>node</tt></i>:</span></td> 5439*7c568831SAndroid Build Coastguard Worker<td>the node</td> 5440*7c568831SAndroid Build Coastguard Worker</tr> 5441*7c568831SAndroid Build Coastguard Worker<tr> 5442*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>name</tt></i>:</span></td> 5443*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-SAX.html#attribute">attribute</a> name</td> 5444*7c568831SAndroid Build Coastguard Worker</tr> 5445*7c568831SAndroid Build Coastguard Worker<tr> 5446*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5447*7c568831SAndroid Build Coastguard Worker<td>0 if successful, -1 if not found</td> 5448*7c568831SAndroid Build Coastguard Worker</tr> 5449*7c568831SAndroid Build Coastguard Worker</tbody> 5450*7c568831SAndroid Build Coastguard Worker</table></div> 5451*7c568831SAndroid Build Coastguard Worker</div> 5452*7c568831SAndroid Build Coastguard Worker<hr> 5453*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5454*7c568831SAndroid Build Coastguard Worker<h3> 5455*7c568831SAndroid Build Coastguard Worker<a name="xmlValidateNCName"></a>xmlValidateNCName ()</h3> 5456*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlValidateNCName (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space)<br> 5457*7c568831SAndroid Build Coastguard Worker</pre> 5458*7c568831SAndroid Build Coastguard Worker<p>Check that a value conforms to the lexical space of NCName</p> 5459*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5460*7c568831SAndroid Build Coastguard Worker<col align="left"> 5461*7c568831SAndroid Build Coastguard Worker<tbody> 5462*7c568831SAndroid Build Coastguard Worker<tr> 5463*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5464*7c568831SAndroid Build Coastguard Worker<td>the value to check</td> 5465*7c568831SAndroid Build Coastguard Worker</tr> 5466*7c568831SAndroid Build Coastguard Worker<tr> 5467*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>space</tt></i>:</span></td> 5468*7c568831SAndroid Build Coastguard Worker<td>allow spaces in front and end of the string</td> 5469*7c568831SAndroid Build Coastguard Worker</tr> 5470*7c568831SAndroid Build Coastguard Worker<tr> 5471*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5472*7c568831SAndroid Build Coastguard Worker<td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td> 5473*7c568831SAndroid Build Coastguard Worker</tr> 5474*7c568831SAndroid Build Coastguard Worker</tbody> 5475*7c568831SAndroid Build Coastguard Worker</table></div> 5476*7c568831SAndroid Build Coastguard Worker</div> 5477*7c568831SAndroid Build Coastguard Worker<hr> 5478*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5479*7c568831SAndroid Build Coastguard Worker<h3> 5480*7c568831SAndroid Build Coastguard Worker<a name="xmlValidateNMToken"></a>xmlValidateNMToken ()</h3> 5481*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlValidateNMToken (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space)<br> 5482*7c568831SAndroid Build Coastguard Worker</pre> 5483*7c568831SAndroid Build Coastguard Worker<p>Check that a value conforms to the lexical space of NMToken</p> 5484*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5485*7c568831SAndroid Build Coastguard Worker<col align="left"> 5486*7c568831SAndroid Build Coastguard Worker<tbody> 5487*7c568831SAndroid Build Coastguard Worker<tr> 5488*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5489*7c568831SAndroid Build Coastguard Worker<td>the value to check</td> 5490*7c568831SAndroid Build Coastguard Worker</tr> 5491*7c568831SAndroid Build Coastguard Worker<tr> 5492*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>space</tt></i>:</span></td> 5493*7c568831SAndroid Build Coastguard Worker<td>allow spaces in front and end of the string</td> 5494*7c568831SAndroid Build Coastguard Worker</tr> 5495*7c568831SAndroid Build Coastguard Worker<tr> 5496*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5497*7c568831SAndroid Build Coastguard Worker<td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td> 5498*7c568831SAndroid Build Coastguard Worker</tr> 5499*7c568831SAndroid Build Coastguard Worker</tbody> 5500*7c568831SAndroid Build Coastguard Worker</table></div> 5501*7c568831SAndroid Build Coastguard Worker</div> 5502*7c568831SAndroid Build Coastguard Worker<hr> 5503*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5504*7c568831SAndroid Build Coastguard Worker<h3> 5505*7c568831SAndroid Build Coastguard Worker<a name="xmlValidateName"></a>xmlValidateName ()</h3> 5506*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlValidateName (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space)<br> 5507*7c568831SAndroid Build Coastguard Worker</pre> 5508*7c568831SAndroid Build Coastguard Worker<p>Check that a value conforms to the lexical space of Name</p> 5509*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5510*7c568831SAndroid Build Coastguard Worker<col align="left"> 5511*7c568831SAndroid Build Coastguard Worker<tbody> 5512*7c568831SAndroid Build Coastguard Worker<tr> 5513*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5514*7c568831SAndroid Build Coastguard Worker<td>the value to check</td> 5515*7c568831SAndroid Build Coastguard Worker</tr> 5516*7c568831SAndroid Build Coastguard Worker<tr> 5517*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>space</tt></i>:</span></td> 5518*7c568831SAndroid Build Coastguard Worker<td>allow spaces in front and end of the string</td> 5519*7c568831SAndroid Build Coastguard Worker</tr> 5520*7c568831SAndroid Build Coastguard Worker<tr> 5521*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5522*7c568831SAndroid Build Coastguard Worker<td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td> 5523*7c568831SAndroid Build Coastguard Worker</tr> 5524*7c568831SAndroid Build Coastguard Worker</tbody> 5525*7c568831SAndroid Build Coastguard Worker</table></div> 5526*7c568831SAndroid Build Coastguard Worker</div> 5527*7c568831SAndroid Build Coastguard Worker<hr> 5528*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 5529*7c568831SAndroid Build Coastguard Worker<h3> 5530*7c568831SAndroid Build Coastguard Worker<a name="xmlValidateQName"></a>xmlValidateQName ()</h3> 5531*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlValidateQName (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br> int space)<br> 5532*7c568831SAndroid Build Coastguard Worker</pre> 5533*7c568831SAndroid Build Coastguard Worker<p>Check that a value conforms to the lexical space of QName</p> 5534*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 5535*7c568831SAndroid Build Coastguard Worker<col align="left"> 5536*7c568831SAndroid Build Coastguard Worker<tbody> 5537*7c568831SAndroid Build Coastguard Worker<tr> 5538*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 5539*7c568831SAndroid Build Coastguard Worker<td>the value to check</td> 5540*7c568831SAndroid Build Coastguard Worker</tr> 5541*7c568831SAndroid Build Coastguard Worker<tr> 5542*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>space</tt></i>:</span></td> 5543*7c568831SAndroid Build Coastguard Worker<td>allow spaces in front and end of the string</td> 5544*7c568831SAndroid Build Coastguard Worker</tr> 5545*7c568831SAndroid Build Coastguard Worker<tr> 5546*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 5547*7c568831SAndroid Build Coastguard Worker<td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td> 5548*7c568831SAndroid Build Coastguard Worker</tr> 5549*7c568831SAndroid Build Coastguard Worker</tbody> 5550*7c568831SAndroid Build Coastguard Worker</table></div> 5551*7c568831SAndroid Build Coastguard Worker</div> 5552*7c568831SAndroid Build Coastguard Worker<hr> 5553*7c568831SAndroid Build Coastguard Worker</div> 5554*7c568831SAndroid Build Coastguard Worker</div> 5555*7c568831SAndroid Build Coastguard Worker</body> 5556*7c568831SAndroid Build Coastguard Worker</html> 5557