http://swpat.ffii.org/Action against software patents http://www.gnome.org/Gnome2 Logo http://www.w3.org/StatusW3C Logo http://www.redhat.com/Red Hat Logo http://xmlsoft.org/Made with Libxml2 Logo 
Module tree from libxml2
API Menu ../index.htmlMain Menu ../docs.htmlDeveloper Menu ../examples/index.htmlCode Examples index.htmlAPI Menu libxml-parser.htmlParser API libxml-tree.htmlTree API libxml-xmlreader.htmlReader API ../guidelines.htmlXML Guidelines ../ChangeLog.htmlChangeLog API Indexes ../APIchunk0.htmlAlphabetic ../APIconstructors.htmlConstructors ../APIfunctions.htmlFunctions/Types ../APIfiles.htmlModules ../APIsymbols.htmlSymbols Related links http://mail.gnome.org/archives/xml/Mail archive http://xmlsoft.org/XSLT/XSLT libxslt http://phd.cs.unibo.it/gdome2/DOM gdome2 http://www.aleksey.com/xmlsec/XML-DSig xmlsec ftp://xmlsoft.org/FTP http://www.zlatkovic.com/projects/libxml/Windows binaries http://www.blastwave.org/packages.php/libxml2Solaris binaries http://www.explain.com.au/oss/libxml2xslt.htmlMacOsX binaries http://libxmlplusplus.sourceforge.net/C++ bindings http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4PHP bindings http://sourceforge.net/projects/libxml2-pas/Pascal bindings http://rubyforge.org/projects/xml-tools/Ruby bindings http://tclxml.sourceforge.net/Tcl bindings http://bugzilla.gnome.org/buglist.cgi?product=libxml2Bug Tracker libxml-threads.htmlPrev libxml-threads.htmlthreads index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlThe XML C parser and toolkit of Gnome libxml-uri.htmluri libxml-uri.htmlNext 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 
Table of Contents
#define #BASE_BUFFER_SIZEBASE_BUFFER_SIZE #define #XML_GET_CONTENTXML_GET_CONTENT #define #XML_GET_LINEXML_GET_LINE #define #XML_LOCAL_NAMESPACEXML_LOCAL_NAMESPACE #define #XML_XML_IDXML_XML_ID #define #XML_XML_NAMESPACEXML_XML_NAMESPACE #define #xmlChildrenNodexmlChildrenNode #define #xmlRootNodexmlRootNode Structure #xmlAttrxmlAttr struct _xmlAttr
Typedef libxml-tree.html#xmlAttrxmlAttr  * xmlAttrPtr Structure #xmlAttributexmlAttribute struct _xmlAttribute
Enum #xmlAttributeDefaultxmlAttributeDefault Typedef libxml-tree.html#xmlAttributexmlAttribute  * xmlAttributePtr Enum #xmlAttributeTypexmlAttributeType Structure #xmlBufferxmlBuffer struct _xmlBuffer
Enum #xmlBufferAllocationSchemexmlBufferAllocationScheme Typedef libxml-tree.html#xmlBufferxmlBuffer  * xmlBufferPtr Structure #xmlDOMWrapCtxtxmlDOMWrapCtxt struct _xmlDOMWrapCtxt
Typedef libxml-tree.html#xmlDOMWrapCtxtxmlDOMWrapCtxt  * xmlDOMWrapCtxtPtr Structure #xmlDocxmlDoc struct _xmlDoc
Typedef libxml-tree.html#xmlDocxmlDoc  * xmlDocPtr Structure #xmlDtdxmlDtd struct _xmlDtd
Typedef libxml-tree.html#xmlDtdxmlDtd  * xmlDtdPtr Structure #xmlElementxmlElement struct _xmlElement
Structure #xmlElementContentxmlElementContent struct _xmlElementContent
Enum #xmlElementContentOccurxmlElementContentOccur Typedef libxml-tree.html#xmlElementContentxmlElementContent  * xmlElementContentPtr Enum #xmlElementContentTypexmlElementContentType Typedef libxml-tree.html#xmlElementxmlElement  * xmlElementPtr Enum #xmlElementTypexmlElementType Enum #xmlElementTypeValxmlElementTypeVal Structure #xmlEntityxmlEntity struct _xmlEntity
Typedef libxml-tree.html#xmlEntityxmlEntity  * xmlEntityPtr Structure #xmlEnumerationxmlEnumeration struct _xmlEnumeration
Typedef libxml-tree.html#xmlEnumerationxmlEnumeration  * xmlEnumerationPtr Structure #xmlIDxmlID struct _xmlID
Typedef libxml-tree.html#xmlIDxmlID  * xmlIDPtr Structure #xmlNodexmlNode struct _xmlNode
Typedef libxml-tree.html#xmlNodexmlNode  * xmlNodePtr Structure #xmlNotationxmlNotation struct _xmlNotation
Typedef libxml-tree.html#xmlNotationxmlNotation  * xmlNotationPtr Structure #xmlNsxmlNs struct _xmlNs
Typedef libxml-tree.html#xmlNsxmlNs  * xmlNsPtr Typedef libxml-tree.html#xmlElementTypexmlElementType  xmlNsType Structure #xmlOutputBufferxmlOutputBuffer struct _xmlOutputBuffer
Typedef libxml-tree.html#xmlOutputBufferxmlOutputBuffer  * xmlOutputBufferPtr Structure #xmlParserCtxtxmlParserCtxt struct _xmlParserCtxt
Typedef libxml-tree.html#xmlParserCtxtxmlParserCtxt  * xmlParserCtxtPtr Structure #xmlParserInputxmlParserInput struct _xmlParserInput
Structure #xmlParserInputBufferxmlParserInputBuffer struct _xmlParserInputBuffer
Typedef libxml-tree.html#xmlParserInputBufferxmlParserInputBuffer  * xmlParserInputBufferPtr Typedef libxml-tree.html#xmlParserInputxmlParserInput  * xmlParserInputPtr Structure #xmlRefxmlRef struct _xmlRef
Typedef libxml-tree.html#xmlRefxmlRef  * xmlRefPtr Structure #xmlSAXHandlerxmlSAXHandler struct _xmlSAXHandler
Typedef libxml-tree.html#xmlSAXHandlerxmlSAXHandler  * xmlSAXHandlerPtr Structure #xmlSAXLocatorxmlSAXLocator struct _xmlSAXLocator
Typedef libxml-tree.html#xmlSAXLocatorxmlSAXLocator  * xmlSAXLocatorPtr libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlAddChildxmlAddChild 		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlAddChildListxmlAddChildList 		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlAddNextSiblingxmlAddNextSibling 	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlAddPrevSiblingxmlAddPrevSibling 	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlAddSiblingxmlAddSibling 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem)void	#xmlAttrSerializeTxtContentxmlAttrSerializeTxtContent 	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  attr, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string)int	#xmlBufferAddxmlBufferAdd 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str, 					 int len)int	#xmlBufferAddHeadxmlBufferAddHead 		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str, 					 int len)int	#xmlBufferCCatxmlBufferCCat 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const char * str)int	#xmlBufferCatxmlBufferCat 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlBufferContentxmlBufferContent 	(const libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf) libxml-tree.html#xmlBufferPtrxmlBufferPtr 	#xmlBufferCreatexmlBufferCreate 		(void) libxml-tree.html#xmlBufferPtrxmlBufferPtr 	#xmlBufferCreateSizexmlBufferCreateSize 	(size_t size) libxml-tree.html#xmlBufferPtrxmlBufferPtr 	#xmlBufferCreateStaticxmlBufferCreateStatic 	(void * mem, 					 size_t size)int	#xmlBufferDumpxmlBufferDump 			(FILE * file, 					 libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)void	#xmlBufferEmptyxmlBufferEmpty 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)void	#xmlBufferFreexmlBufferFree 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)int	#xmlBufferGrowxmlBufferGrow 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int len)int	#xmlBufferLengthxmlBufferLength 			(const libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)int	#xmlBufferResizexmlBufferResize 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int size)void	#xmlBufferSetAllocationSchemexmlBufferSetAllocationScheme 	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  scheme)int	#xmlBufferShrinkxmlBufferShrink 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int len)void	#xmlBufferWriteCHARxmlBufferWriteCHAR 		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string)void	#xmlBufferWriteCharxmlBufferWriteChar 		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const char * string)void	#xmlBufferWriteQuotedStringxmlBufferWriteQuotedString 	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlBuildQNamexmlBuildQName 		(const libxml-xmlstring.html#xmlCharxmlChar  * ncname, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix, 					 libxml-xmlstring.html#xmlCharxmlChar  * memory, 					 int len) libxml-tree.html#xmlDocPtrxmlDocPtr 	#xmlCopyDocxmlCopyDoc 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int recursive) libxml-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlCopyDtdxmlCopyDtd 		( libxml-tree.html#xmlDtdPtrxmlDtdPtr  dtd) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlCopyNamespacexmlCopyNamespace 	( libxml-tree.html#xmlNsPtrxmlNsPtr  cur) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlCopyNamespaceListxmlCopyNamespaceList 	( libxml-tree.html#xmlNsPtrxmlNsPtr  cur) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlCopyNodexmlCopyNode 		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int extended) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlCopyNodeListxmlCopyNodeList 		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlCopyPropxmlCopyProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  target, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlCopyPropListxmlCopyPropList 		( libxml-tree.html#xmlNodePtrxmlNodePtr  target, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur) libxml-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlCreateIntSubsetxmlCreateIntSubset 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * SystemID)int	#xmlDOMWrapAdoptNodexmlDOMWrapAdoptNode 		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  sourceDoc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  destDoc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  destParent, 					 int options)void	#xmlDOMWrapFreeCtxtxmlDOMWrapFreeCtxt 		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt) libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr 	#xmlDOMWrapNewCtxtxmlDOMWrapNewCtxt 	(void)int	#xmlDOMWrapReconcileNamespacesxmlDOMWrapReconcileNamespaces 	( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem, 					 int options)int	#xmlDOMWrapRemoveNodexmlDOMWrapRemoveNode 		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int options) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlDocCopyNodexmlDocCopyNode 		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int extended) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlDocCopyNodeListxmlDocCopyNodeList 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-tree.html#xmlNodePtrxmlNodePtr  node)int	#xmlDocDumpxmlDocDump 			(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur)void	#xmlDocDumpFormatMemoryxmlDocDumpFormatMemory 		( libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 libxml-xmlstring.html#xmlCharxmlChar  ** mem, 					 int * size, 					 int format)void	#xmlDocDumpFormatMemoryEncxmlDocDumpFormatMemoryEnc 	( libxml-tree.html#xmlDocPtrxmlDocPtr  out_doc, 					 libxml-xmlstring.html#xmlCharxmlChar  ** doc_txt_ptr, 					 int * doc_txt_len, 					 const char * txt_encoding, 					 int format)void	#xmlDocDumpMemoryxmlDocDumpMemory 		( libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 libxml-xmlstring.html#xmlCharxmlChar  ** mem, 					 int * size)void	#xmlDocDumpMemoryEncxmlDocDumpMemoryEnc 		( libxml-tree.html#xmlDocPtrxmlDocPtr  out_doc, 					 libxml-xmlstring.html#xmlCharxmlChar  ** doc_txt_ptr, 					 int * doc_txt_len, 					 const char * txt_encoding)int	#xmlDocFormatDumpxmlDocFormatDump 		(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 int format) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlDocGetRootElementxmlDocGetRootElement 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlDocSetRootElementxmlDocSetRootElement 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  root)void	#xmlElemDumpxmlElemDump 			(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)void	#xmlFreeDocxmlFreeDoc 			( libxml-tree.html#xmlDocPtrxmlDocPtr  cur)void	#xmlFreeDtdxmlFreeDtd 			( libxml-tree.html#xmlDtdPtrxmlDtdPtr  cur)void	#xmlFreeNodexmlFreeNode 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)void	#xmlFreeNodeListxmlFreeNodeList 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)void	#xmlFreeNsxmlFreeNs 			( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)void	#xmlFreeNsListxmlFreeNsList 			( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)void	#xmlFreePropxmlFreeProp 			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)void	#xmlFreePropListxmlFreePropList 			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur) libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	#xmlGetBufferAllocationSchemexmlGetBufferAllocationScheme 	(void)int	#xmlGetCompressModexmlGetCompressMode 		(void)int	#xmlGetDocCompressModexmlGetDocCompressMode 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlGetIntSubsetxmlGetIntSubset 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlGetLastChildxmlGetLastChild 		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent)long	#xmlGetLineNoxmlGetLineNo 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlGetNoNsPropxmlGetNoNsProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlGetNodePathxmlGetNodePath 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node) libxml-tree.html#xmlNsPtrxmlNsPtr  *	#xmlGetNsListxmlGetNsList 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlGetNsPropxmlGetNsProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlGetPropxmlGetProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlHasNsPropxmlHasNsProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlHasPropxmlHasProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)int	#xmlIsBlankNodexmlIsBlankNode 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node)int	#xmlIsXHTMLxmlIsXHTML 			(const libxml-xmlstring.html#xmlCharxmlChar  * systemID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * publicID) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewCDataBlockxmlNewCDataBlock 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewCharRefxmlNewCharRef 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewChildxmlNewChild 		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewCommentxmlNewComment 		(const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlDocPtrxmlDocPtr 	#xmlNewDocxmlNewDoc 		(const libxml-xmlstring.html#xmlCharxmlChar  * version) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocCommentxmlNewDocComment 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocFragmentxmlNewDocFragment 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocNodexmlNewDocNode 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocNodeEatNamexmlNewDocNodeEatName 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocPIxmlNewDocPI 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlNewDocPropxmlNewDocProp 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocRawNodexmlNewDocRawNode 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocTextxmlNewDocText 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewDocTextLenxmlNewDocTextLen 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len) libxml-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlNewDtdxmlNewDtd 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * SystemID) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlNewGlobalNsxmlNewGlobalNs 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewNodexmlNewNode 		( libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewNodeEatNamexmlNewNodeEatName 	( libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlNewNsxmlNewNs 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlNewNsPropxmlNewNsProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlNewNsPropEatNamexmlNewNsPropEatName 	( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewPIxmlNewPI 		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlNewPropxmlNewProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewReferencexmlNewReference 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewTextxmlNewText 		(const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewTextChildxmlNewTextChild 		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlNewTextLenxmlNewTextLen 		(const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)void	#xmlNodeAddContentxmlNodeAddContent 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)void	#xmlNodeAddContentLenxmlNodeAddContentLen 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)int	#xmlNodeBufGetContentxmlNodeBufGetContent 		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buffer, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)int	#xmlNodeDumpxmlNodeDump 			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int level, 					 int format)void	#xmlNodeDumpOutputxmlNodeDumpOutput 		( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int level, 					 int format, 					 const char * encoding) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlNodeGetBasexmlNodeGetBase 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlNodeGetContentxmlNodeGetContent 	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlNodeGetLangxmlNodeGetLang 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)int	#xmlNodeGetSpacePreservexmlNodeGetSpacePreserve 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)int	#xmlNodeIsTextxmlNodeIsText 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlNodeListGetRawStringxmlNodeListGetRawString 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 int inLine) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlNodeListGetStringxmlNodeListGetString 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 int inLine)void	#xmlNodeSetBasexmlNodeSetBase 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * uri)void	#xmlNodeSetContentxmlNodeSetContent 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)void	#xmlNodeSetContentLenxmlNodeSetContentLen 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)void	#xmlNodeSetLangxmlNodeSetLang 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * lang)void	#xmlNodeSetNamexmlNodeSetName 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)void	#xmlNodeSetSpacePreservexmlNodeSetSpacePreserve 		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int val)int	#xmlReconciliateNsxmlReconciliateNs 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  tree)int	#xmlRemovePropxmlRemoveProp 			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlReplaceNodexmlReplaceNode 		( libxml-tree.html#xmlNodePtrxmlNodePtr  old, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)int	#xmlSaveFilexmlSaveFile 			(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur)int	#xmlSaveFileEncxmlSaveFileEnc 			(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding)int	#xmlSaveFileToxmlSaveFileTo 			( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding)int	#xmlSaveFormatFilexmlSaveFormatFile 		(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 int format)int	#xmlSaveFormatFileEncxmlSaveFormatFileEnc 		(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding, 					 int format)int	#xmlSaveFormatFileToxmlSaveFormatFileTo 		( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding, 					 int format) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlSearchNsxmlSearchNs 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace) libxml-tree.html#xmlNsPtrxmlNsPtr 	#xmlSearchNsByHrefxmlSearchNsByHref 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href)void	#xmlSetBufferAllocationSchemexmlSetBufferAllocationScheme 	( libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  scheme)void	#xmlSetCompressModexmlSetCompressMode 		(int mode)void	#xmlSetDocCompressModexmlSetDocCompressMode 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int mode)void	#xmlSetListDocxmlSetListDoc 			( libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc)void	#xmlSetNsxmlSetNs 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlSetNsPropxmlSetNsProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlAttrPtrxmlAttrPtr 	#xmlSetPropxmlSetProp 		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)void	#xmlSetTreeDocxmlSetTreeDoc 			( libxml-tree.html#xmlNodePtrxmlNodePtr  tree, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlSplitQName2xmlSplitQName2 		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 libxml-xmlstring.html#xmlCharxmlChar  ** prefix)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlSplitQName3xmlSplitQName3 		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 int * len) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlStringGetNodeListxmlStringGetNodeList 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlStringLenGetNodeListxmlStringLenGetNodeList 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int len)int	#xmlTextConcatxmlTextConcat 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlTextMergexmlTextMerge 		( libxml-tree.html#xmlNodePtrxmlNodePtr  first, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  second)void	#xmlUnlinkNodexmlUnlinkNode 			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)int	#xmlUnsetNsPropxmlUnsetNsProp 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)int	#xmlUnsetPropxmlUnsetProp 			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)int	#xmlValidateNCNamexmlValidateNCName 		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)int	#xmlValidateNMTokenxmlValidateNMToken 		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)int	#xmlValidateNamexmlValidateName 			(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)int	#xmlValidateQNamexmlValidateQName 		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)Description
Macro: BASE_BUFFER_SIZE
#define BASE_BUFFER_SIZEdefault buffer size 4000.
Macro: XML_GET_CONTENT
#define XML_GET_CONTENTMacro to extract the content pointer of a node.
Macro: XML_GET_LINE
#define XML_GET_LINEMacro to extract the line number of an element node.
Macro: XML_LOCAL_NAMESPACE
#define XML_LOCAL_NAMESPACEA namespace declaration node.
Macro: XML_XML_ID
#define XML_XML_IDThis is the name for the special xml:id libxml-SAX.html#attributeattribute 
Macro: XML_XML_NAMESPACE
#define XML_XML_NAMESPACEThis is the namespace for the special xml: prefix predefined in the XML Namespace specification.
Macro: xmlChildrenNode
#define xmlChildrenNodeMacro for compatibility naming layer with libxml1. Maps to "children."
Macro: xmlRootNode
#define xmlRootNodeMacro for compatibility naming layer with libxml1. Maps to "children".
Structure xmlAttr 
Structure xmlAttrstruct _xmlAttr {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_ATTRIBUTE_NODE, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: the name of the property
    struct _xmlNode *	children	: the value of the property
    struct _xmlNode *	last	: NULL
    struct _xmlNode *	parent	: child->parent link
    struct _xmlAttr *	next	: next sibling link
    struct _xmlAttr *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document
    
libxml-tree.html#xmlNsxmlNs  *	ns	: pointer to the associated namespace
    
libxml-tree.html#xmlAttributeTypexmlAttributeType 	atype	: the libxml-SAX.html#attributeattribute  type if validating
    void *	psvi	: for type/PSVI informations
}
Structure xmlAttribute 
Structure xmlAttributestruct _xmlAttribute {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_ATTRIBUTE_DECL, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Attribute name
    struct _xmlNode *	children	: NULL
    struct _xmlNode *	last	: NULL
    struct _xmlDtd *	parent	: -> DTD
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document
    struct _xmlAttribute *	nexth	: next in hash table
    
libxml-tree.html#xmlAttributeTypexmlAttributeType 	atype	: The libxml-SAX.html#attributeattribute  type
    
libxml-tree.html#xmlAttributeDefaultxmlAttributeDefault 	def	: the default
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	defaultValue	: or the default value
    
libxml-tree.html#xmlEnumerationPtrxmlEnumerationPtr 	tree	: or the enumeration tree if any
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	prefix	: the namespace prefix if any
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	elem	: Element holding the libxml-SAX.html#attributeattribute }
Enum xmlAttributeDefault 
Enum xmlAttributeDefault {
    
XML_ATTRIBUTE_NONE  = 1
    
XML_ATTRIBUTE_REQUIRED  = 2
    
XML_ATTRIBUTE_IMPLIED  = 3
    
XML_ATTRIBUTE_FIXED  = 4
}
Enum xmlAttributeType 
Enum xmlAttributeType {
    
XML_ATTRIBUTE_CDATA  = 1
    
XML_ATTRIBUTE_ID  = 2
    
XML_ATTRIBUTE_IDREF  = 3
    
XML_ATTRIBUTE_IDREFS  = 4
    
XML_ATTRIBUTE_ENTITY  = 5
    
XML_ATTRIBUTE_ENTITIES  = 6
    
XML_ATTRIBUTE_NMTOKEN  = 7
    
XML_ATTRIBUTE_NMTOKENS  = 8
    
XML_ATTRIBUTE_ENUMERATION  = 9
    
XML_ATTRIBUTE_NOTATION  = 10
}
Structure xmlBuffer 
Structure xmlBufferstruct _xmlBuffer {
    
libxml-xmlstring.html#xmlCharxmlChar  *	content	: The buffer content UTF8
    unsigned int	use	: The buffer size used
    unsigned int	size	: The buffer size
    
libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	alloc	: The realloc method
}
Enum xmlBufferAllocationScheme 
Enum xmlBufferAllocationScheme {
    
XML_BUFFER_ALLOC_DOUBLEIT  = 1
    
XML_BUFFER_ALLOC_EXACT  = 2
    
XML_BUFFER_ALLOC_IMMUTABLE  = 3
}
Structure xmlDOMWrapCtxt 
Structure xmlDOMWrapCtxtstruct _xmlDOMWrapCtxt {
    void *	_private
}
Structure xmlDoc 
Structure xmlDocstruct _xmlDoc {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_DOCUMENT_NODE, must be second !
    char *	name	: name/filename/URI of the document
    struct _xmlNode *	children	: the document tree
    struct _xmlNode *	last	: last child link
    struct _xmlNode *	parent	: child->parent link
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: autoreference to itself End of common p
    int	compression	: level of zlib compression
    int	standalone	: standalone document (no external refs)
    struct _xmlDtd *	intSubset	: the document internal subset
    struct _xmlDtd *	extSubset	: the document external subset
    struct _xmlNs *	oldNs	: Global namespace, the old way
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	version	: the XML version string
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	encoding	: external initial encoding, if any
    void *	ids	: Hash table for ID attributes if any
    void *	refs	: Hash table for IDREFs attributes if any
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	URL	: The URI for that document
    int	charset	: encoding of the in-memory content actua
    struct _xmlDict *	dict	: dict used to allocate names or NULL
    void *	psvi	: for type/PSVI informations
}
Structure xmlDtd 
Structure xmlDtdstruct _xmlDtd {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_DTD_NODE, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Name of the DTD
    struct _xmlNode *	children	: the value of the property link
    struct _xmlNode *	last	: last child link
    struct _xmlDoc *	parent	: child->parent link
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document End of common p
    void *	notations	: Hash table for notations if any
    void *	elements	: Hash table for elements if any
    void *	attributes	: Hash table for attributes if any
    void *	entities	: Hash table for entities if any
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	ExternalID	: External identifier for PUBLIC DTD
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	SystemID	: URI for a SYSTEM or PUBLIC DTD
    void *	pentities	: Hash table for param entities if any
}
Structure xmlElement 
Structure xmlElementstruct _xmlElement {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_ELEMENT_DECL, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Element name
    struct _xmlNode *	children	: NULL
    struct _xmlNode *	last	: NULL
    struct _xmlDtd *	parent	: -> DTD
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document
    
libxml-tree.html#xmlElementTypeValxmlElementTypeVal 	etype	: The type
    
libxml-tree.html#xmlElementContentPtrxmlElementContentPtr 	content	: the allowed element content
    
libxml-tree.html#xmlAttributePtrxmlAttributePtr 	attributes	: List of the declared attributes
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	prefix	: the namespace prefix if any
    
libxml-xmlregexp.html#xmlRegexpPtrxmlRegexpPtr 	contModel	: the validating regexp
    void *	contModel
}
Structure xmlElementContent 
Structure xmlElementContentstruct _xmlElementContent {
    
libxml-tree.html#xmlElementContentTypexmlElementContentType 	type	: PCDATA, ELEMENT, SEQ or OR
    
libxml-tree.html#xmlElementContentOccurxmlElementContentOccur 	ocur	: ONCE, OPT, MULT or PLUS
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Element name
    struct _xmlElementContent *	c1	: first child
    struct _xmlElementContent *	c2	: second child
    struct _xmlElementContent *	parent	: parent
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	prefix	: Namespace prefix
}
Enum xmlElementContentOccur 
Enum xmlElementContentOccur {
    
XML_ELEMENT_CONTENT_ONCE  = 1
    
XML_ELEMENT_CONTENT_OPT  = 2
    
XML_ELEMENT_CONTENT_MULT  = 3
    
XML_ELEMENT_CONTENT_PLUS  = 4
}
Enum xmlElementContentType 
Enum xmlElementContentType {
    
XML_ELEMENT_CONTENT_PCDATA  = 1
    
XML_ELEMENT_CONTENT_ELEMENT  = 2
    
XML_ELEMENT_CONTENT_SEQ  = 3
    
XML_ELEMENT_CONTENT_OR  = 4
}
Enum xmlElementType 
Enum xmlElementType {
    
XML_ELEMENT_NODE  = 1
    
XML_ATTRIBUTE_NODE  = 2
    
XML_TEXT_NODE  = 3
    
XML_CDATA_SECTION_NODE  = 4
    
XML_ENTITY_REF_NODE  = 5
    
XML_ENTITY_NODE  = 6
    
XML_PI_NODE  = 7
    
XML_COMMENT_NODE  = 8
    
XML_DOCUMENT_NODE  = 9
    
XML_DOCUMENT_TYPE_NODE  = 10
    
XML_DOCUMENT_FRAG_NODE  = 11
    
XML_NOTATION_NODE  = 12
    
XML_HTML_DOCUMENT_NODE  = 13
    
XML_DTD_NODE  = 14
    
XML_ELEMENT_DECL  = 15
    
XML_ATTRIBUTE_DECL  = 16
    
XML_ENTITY_DECL  = 17
    
XML_NAMESPACE_DECL  = 18
    
XML_XINCLUDE_START  = 19
    
XML_XINCLUDE_END  = 20
    
XML_DOCB_DOCUMENT_NODE  = 21
}
Enum xmlElementTypeVal 
Enum xmlElementTypeVal {
    
XML_ELEMENT_TYPE_UNDEFINED  = 0
    
XML_ELEMENT_TYPE_EMPTY  = 1
    
XML_ELEMENT_TYPE_ANY  = 2
    
XML_ELEMENT_TYPE_MIXED  = 3
    
XML_ELEMENT_TYPE_ELEMENT  = 4
}
Structure xmlEntity 
Structure xmlEntitystruct _xmlEntity {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: XML_ENTITY_DECL, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Entity name
    struct _xmlNode *	children	: First child link
    struct _xmlNode *	last	: Last child link
    struct _xmlDtd *	parent	: -> DTD
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document
    
libxml-xmlstring.html#xmlCharxmlChar  *	orig	: content without ref substitution
    
libxml-xmlstring.html#xmlCharxmlChar  *	content	: content or ndata if unparsed
    int	length	: the content length
    
libxml-entities.html#xmlEntityTypexmlEntityType 	etype	: The entity type
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	ExternalID	: External identifier for PUBLIC
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	SystemID	: URI for a SYSTEM or PUBLIC Entity
    struct _xmlEntity *	nexte	: unused
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	URI	: the full URI as computed
    int	owner	: does the entity own the childrens
}
Structure xmlEnumeration 
Structure xmlEnumerationstruct _xmlEnumeration {
    struct _xmlEnumeration *	next	: next one
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Enumeration name
}
Structure xmlID 
Structure xmlIDstruct _xmlID {
    struct _xmlID *	next	: next ID
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	value	: The ID name
    
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	attr	: The libxml-SAX.html#attributeattribute  holding it
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: The libxml-SAX.html#attributeattribute  if attr is not available
    int	lineno	: The line number if attr is not availabl
    struct _xmlDoc *	doc	: The document holding the ID
}
Structure xmlNode 
Structure xmlNodestruct _xmlNode {
    void *	_private	: application data
    
libxml-tree.html#xmlElementTypexmlElementType 	type	: type number, must be second !
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: the name of the node, or the entity
    struct _xmlNode *	children	: parent->childs link
    struct _xmlNode *	last	: last child link
    struct _xmlNode *	parent	: child->parent link
    struct _xmlNode *	next	: next sibling link
    struct _xmlNode *	prev	: previous sibling link
    struct _xmlDoc *	doc	: the containing document End of common p
    
libxml-tree.html#xmlNsxmlNs  *	ns	: pointer to the associated namespace
    
libxml-xmlstring.html#xmlCharxmlChar  *	content	: the content
    struct _xmlAttr *	properties	: properties list
    
libxml-tree.html#xmlNsxmlNs  *	nsDef	: namespace definitions on this node
    void *	psvi	: for type/PSVI informations
    unsigned short	line	: line number
    unsigned short	extra	: extra data for XPath/XSLT
}
Structure xmlNotation 
Structure xmlNotationstruct _xmlNotation {
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Notation name
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	PublicID	: Public identifier, if any
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	SystemID	: System identifier, if any
}
Structure xmlNs 
Structure xmlNsstruct _xmlNs {
    struct _xmlNs *	next	: next Ns link for this node
    
libxml-tree.html#xmlNsTypexmlNsType 	type	: global or local
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	href	: URL for the namespace
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	prefix	: prefix for the namespace
    void *	_private	: application data
}
Structure xmlOutputBuffer 
Structure xmlOutputBufferstruct _xmlOutputBuffer {
    void *	context
    
libxml-xmlIO.html#xmlOutputWriteCallbackxmlOutputWriteCallback 	writecallback
    
libxml-xmlIO.html#xmlOutputCloseCallbackxmlOutputCloseCallback 	closecallback
    
libxml-encoding.html#xmlCharEncodingHandlerPtrxmlCharEncodingHandlerPtr 	encoder	: I18N conversions to UTF-8
    
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	buffer	: Local buffer encoded in UTF-8 or ISOLat
    
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	conv	: if encoder != NULL buffer for output
    int	written	: total number of byte written
    int	error
}
Structure xmlParserCtxt 
Structure xmlParserCtxtstruct _xmlParserCtxt {
    struct _xmlSAXHandler *	sax	: The SAX handler
    void *	userData	: For SAX interface only, used by DOM bui
    
libxml-tree.html#xmlDocPtrxmlDocPtr 	myDoc	: the document being built
    int	wellFormed	: is the document well formed
    int	replaceEntities	: shall we replace entities ?
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	version	: the XML version string
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	encoding	: the declared encoding, if any
    int	standalone	: standalone document
    int	html	: an HTML(1)/Docbook(2) document Input st
    
libxml-tree.html#xmlParserInputPtrxmlParserInputPtr 	input	: Current input stream
    int	inputNr	: Number of current input streams
    int	inputMax	: Max number of input streams
    
libxml-tree.html#xmlParserInputPtrxmlParserInputPtr  *	inputTab	: stack of inputs Node analysis stack onl
    
libxml-tree.html#xmlNodePtrxmlNodePtr 	node	: Current parsed Node
    int	nodeNr	: Depth of the parsing stack
    int	nodeMax	: Max depth of the parsing stack
    
libxml-tree.html#xmlNodePtrxmlNodePtr  *	nodeTab	: array of nodes
    int	record_info	: Whether node info should be kept
    
libxml-parser.html#xmlParserNodeInfoSeqxmlParserNodeInfoSeq 	node_seq	: info about each node parsed
    int	errNo	: error code
    int	hasExternalSubset	: 
libxml-SAX.html#referencereference  and external subset
    int	hasPErefs	: the internal subset has PE refs
    int	external	: are we parsing an external entity
    int	valid	: is the document valid
    int	validate	: shall we try to validate ?
    
libxml-valid.html#xmlValidCtxtxmlValidCtxt 	vctxt	: The validity context
    
libxml-parser.html#xmlParserInputStatexmlParserInputState 	instate	: current type of input
    int	token	: next char look-ahead
    char *	directory	: the data directory Node name stack
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: Current parsed Node
    int	nameNr	: Depth of the parsing stack
    int	nameMax	: Max depth of the parsing stack
    const 
libxml-xmlstring.html#xmlCharxmlChar  * *	nameTab	: array of nodes
    long	nbChars	: number of 
libxml-xmlstring.html#xmlCharxmlChar  processed
    long	checkIndex	: used by progressive parsing lookup
    int	keepBlanks	: ugly but ...
    int	disableSAX	: SAX callbacks are disabled
    int	inSubset	: Parsing is in int 1/ext 2 subset
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	intSubName	: name of subset
    
libxml-xmlstring.html#xmlCharxmlChar  *	extSubURI	: URI of external subset
    
libxml-xmlstring.html#xmlCharxmlChar  *	extSubSystem	: SYSTEM ID of external subset xml:space
    int *	space	: Should the parser preserve spaces
    int	spaceNr	: Depth of the parsing stack
    int	spaceMax	: Max depth of the parsing stack
    int *	spaceTab	: array of space infos
    int	depth	: to prevent entity substitution loops
    
libxml-tree.html#xmlParserInputPtrxmlParserInputPtr 	entity	: used to check entities boundaries
    int	charset	: encoding of the in-memory content actua
    int	nodelen	: Those two fields are there to
    int	nodemem	: Speed up large node parsing
    int	pedantic	: signal pedantic warnings
    void *	_private	: For user data, libxml won't touch it
    int	loadsubset	: should the external subset be loaded
    int	linenumbers	: set line number in element content
    void *	catalogs	: document's own catalog
    int	recovery	: run in recovery mode
    int	progressive	: is this a progressive parsing
    
libxml-dict.html#xmlDictPtrxmlDictPtr 	dict	: dictionnary for the parser
    const 
libxml-xmlstring.html#xmlCharxmlChar  * *	atts	: array for the attributes callbacks
    int	maxatts	: the size of the array
    int	docdict	: * pre-interned strings *
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	str_xml
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	str_xmlns
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	str_xml_ns	: * Everything below is used only by the n
    int	sax2	: operating in the new SAX mode
    int	nsNr	: the number of inherited namespaces
    int	nsMax	: the size of the arrays
    const 
libxml-xmlstring.html#xmlCharxmlChar  * *	nsTab	: the array of prefix/namespace name
    int *	attallocs	: which 
libxml-SAX.html#attributeattribute  were allocated
    void * *	pushTab	: array of data for push
    
libxml-hash.html#xmlHashTablePtrxmlHashTablePtr 	attsDefault	: defaulted attributes if any
    
libxml-hash.html#xmlHashTablePtrxmlHashTablePtr 	attsSpecial	: non-CDATA attributes if any
    int	nsWellFormed	: is the document XML Nanespace okay
    int	options	: * Those fields are needed only for tream
    int	dictNames	: Use dictionary names for the tree
    int	freeElemsNr	: number of freed element nodes
    
libxml-tree.html#xmlNodePtrxmlNodePtr 	freeElems	: List of freed element nodes
    int	freeAttrsNr	: number of freed attributes nodes
    
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	freeAttrs	: * the complete error informations for th
    
libxml-xmlerror.html#xmlErrorxmlError 	lastError
    
libxml-parser.html#xmlParserModexmlParserMode 	parseMode	: the parser mode
}
Structure xmlParserInput 
Structure xmlParserInputstruct _xmlParserInput {
    
libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr 	buf	: UTF-8 encoded buffer
    const char *	filename	: The file analyzed, if any
    const char *	directory	: the directory/base of the file
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	base	: Base of the array to parse
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	cur	: Current char being parsed
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	end	: end of the array to parse
    int	length	: length if known
    int	line	: Current line
    int	col	: * NOTE: consumed is only tested for equa
    unsigned long	consumed	: How many xmlChars already consumed
    
libxml-parser.html#xmlParserInputDeallocatexmlParserInputDeallocate 	free	: function to deallocate the base
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	encoding	: the encoding string for entity
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	version	: the version string for entity
    int	standalone	: Was that entity marked standalone
    int	id	: an unique identifier for the entity
}
Structure xmlParserInputBuffer 
Structure xmlParserInputBufferstruct _xmlParserInputBuffer {
    void *	context
    
libxml-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback 	readcallback
    
libxml-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback 	closecallback
    
libxml-encoding.html#xmlCharEncodingHandlerPtrxmlCharEncodingHandlerPtr 	encoder	: I18N conversions to UTF-8
    
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	buffer	: Local buffer encoded in UTF-8
    
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	raw	: if encoder != NULL buffer for raw input
    int	compressed	: -1=unknown, 0=not compressed, 1=compres
    int	error
    unsigned long	rawconsumed	: amount consumed from raw
}
Structure xmlRef 
Structure xmlRefstruct _xmlRef {
    struct _xmlRef *	next	: next Ref
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	value	: The Ref name
    
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	attr	: The libxml-SAX.html#attributeattribute  holding it
    const 
libxml-xmlstring.html#xmlCharxmlChar  *	name	: The libxml-SAX.html#attributeattribute  if attr is not available
    int	lineno	: The line number if attr is not availabl
}
Structure xmlSAXHandler 
Structure xmlSAXHandlerstruct _xmlSAXHandler {
    
libxml-parser.html#internalSubsetSAXFuncinternalSubsetSAXFunc 	internalSubset
    
libxml-parser.html#isStandaloneSAXFuncisStandaloneSAXFunc 	isStandalone
    
libxml-parser.html#hasInternalSubsetSAXFunchasInternalSubsetSAXFunc 	hasInternalSubset
    
libxml-parser.html#hasExternalSubsetSAXFunchasExternalSubsetSAXFunc 	hasExternalSubset
    
libxml-parser.html#resolveEntitySAXFuncresolveEntitySAXFunc 	resolveEntity
    
libxml-parser.html#getEntitySAXFuncgetEntitySAXFunc 	getEntity
    
libxml-parser.html#entityDeclSAXFuncentityDeclSAXFunc 	entityDecl
    
libxml-parser.html#notationDeclSAXFuncnotationDeclSAXFunc 	notationDecl
    
libxml-parser.html#attributeDeclSAXFuncattributeDeclSAXFunc 	attributeDecl
    
libxml-parser.html#elementDeclSAXFuncelementDeclSAXFunc 	elementDecl
    
libxml-parser.html#unparsedEntityDeclSAXFuncunparsedEntityDeclSAXFunc 	unparsedEntityDecl
    
libxml-parser.html#setDocumentLocatorSAXFuncsetDocumentLocatorSAXFunc 	setDocumentLocator
    
libxml-parser.html#startDocumentSAXFuncstartDocumentSAXFunc 	startDocument
    
libxml-parser.html#endDocumentSAXFuncendDocumentSAXFunc 	endDocument
    
libxml-parser.html#startElementSAXFuncstartElementSAXFunc 	startElement
    
libxml-parser.html#endElementSAXFuncendElementSAXFunc 	endElement
    
libxml-parser.html#referenceSAXFuncreferenceSAXFunc 	reference
    
libxml-parser.html#charactersSAXFunccharactersSAXFunc 	characters
    
libxml-parser.html#ignorableWhitespaceSAXFuncignorableWhitespaceSAXFunc 	ignorableWhitespace
    
libxml-parser.html#processingInstructionSAXFuncprocessingInstructionSAXFunc 	processingInstruction
    
libxml-parser.html#commentSAXFunccommentSAXFunc 	comment
    
libxml-parser.html#warningSAXFuncwarningSAXFunc 	warning
    
libxml-parser.html#errorSAXFuncerrorSAXFunc 	error
    
libxml-parser.html#fatalErrorSAXFuncfatalErrorSAXFunc 	fatalError	: unused error() get all the errors
    
libxml-parser.html#getParameterEntitySAXFuncgetParameterEntitySAXFunc 	getParameterEntity
    
libxml-parser.html#cdataBlockSAXFunccdataBlockSAXFunc 	cdataBlock
    
libxml-parser.html#externalSubsetSAXFuncexternalSubsetSAXFunc 	externalSubset
    unsigned int	initialized	: The following fields are extensions ava
    void *	_private
    
libxml-parser.html#startElementNsSAX2FuncstartElementNsSAX2Func 	startElementNs
    
libxml-parser.html#endElementNsSAX2FuncendElementNsSAX2Func 	endElementNs
    
libxml-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc 	serror
}
Structure xmlSAXLocator 
Structure xmlSAXLocatorstruct _xmlSAXLocator {
    const 
libxml-xmlstring.html#xmlCharxmlChar  *(*getPublicId)	getPublicId
    const 
libxml-xmlstring.html#xmlCharxmlChar  *(*getSystemId)	getSystemId
    int(*getLineNumber)	getLineNumber
    int(*getColumnNumber)	getColumnNumber
}
Function: xmlAddChild
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlAddChild		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Add a new node to @parent, at the end of the child (or property) list merging adjacent TEXT nodes (in which case @cur is freed) If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an libxml-SAX.html#attributeattribute  with equal name, it is first destroyed.
parent: the parent node cur: the child node Returns: the child or NULL in case of error. Function: xmlAddChildList
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlAddChildList		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Add a list of node at the end of the child list of the parent merging adjacent TEXT nodes (@cur may be freed)
parent: the parent node cur: the first node in the list Returns: the last child or NULL in case of error. Function: xmlAddNextSibling
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlAddNextSibling	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem)Add a new node @elem as the next sibling of @cur If the new node was already inserted in a document it is first unlinked from its existing context. As a result of text merging @elem may be freed. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an libxml-SAX.html#attributeattribute  with equal name, it is first destroyed.
cur: the child node elem: the new node Returns: the new node or NULL in case of error. Function: xmlAddPrevSibling
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlAddPrevSibling	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem)Add a new node @elem as the previous sibling of @cur merging adjacent TEXT nodes (@elem may be freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an libxml-SAX.html#attributeattribute  with equal name, it is first destroyed.
cur: the child node elem: the new node Returns: the new node or NULL in case of error. Function: xmlAddSibling
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlAddSibling		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem)Add a new element @elem to the list of siblings of @cur merging adjacent TEXT nodes (@elem may be freed) If the new element was already inserted in a document it is first unlinked from its existing context.
cur: the child node elem: the new node Returns: the new element or NULL in case of error. Function: xmlAttrSerializeTxtContent
void	xmlAttrSerializeTxtContent	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  attr, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string)Serialize text libxml-SAX.html#attributeattribute  values to an xml simple buffer
buf: the XML buffer output doc: the document attr: the libxml-SAX.html#attributeattribute  node string: the text content Function: xmlBufferAdd
int	xmlBufferAdd			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str, 					 int len)Add a string range to an XML buffer. if len == -1, the length of str is recomputed.
buf: the buffer to dump str: the #xmlChar string len: the number of #xmlChar to add Returns: 0 successful, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlBufferAddHead
int	xmlBufferAddHead		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str, 					 int len)Add a string range to the beginning of an XML buffer. if len == -1, the length of @str is recomputed.
buf: the buffer str: the #xmlChar string len: the number of #xmlChar to add Returns: 0 successful, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlBufferCCat
int	xmlBufferCCat			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const char * str)Append a zero terminated C string to an XML buffer.
buf: the buffer to dump str: the C char string Returns: 0 successful, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlBufferCat
int	xmlBufferCat			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * str)Append a zero terminated string to an XML buffer.
buf: the buffer to add to str: the #xmlChar string Returns: 0 successful, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlBufferContent
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlBufferContent	(const libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)Function to extract the content of a buffer
buf: the buffer Returns: the internal content Function: xmlBufferCreate
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	xmlBufferCreate		(void)routine to create an XML buffer.
Returns: the new structure. Function: xmlBufferCreateSize
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	xmlBufferCreateSize	(size_t size)routine to create an XML buffer.
size: initial size of buffer Returns: the new structure. Function: xmlBufferCreateStatic
libxml-tree.html#xmlBufferPtrxmlBufferPtr 	xmlBufferCreateStatic	(void * mem, 					 size_t size)routine to create an XML buffer from an immutable memory area. The area won't be modified nor copied, and is expected to be present until the end of the buffer lifetime.
mem: the memory area size: the size in byte Returns: the new structure. Function: xmlBufferDump
int	xmlBufferDump			(FILE * file, 					 libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)Dumps an XML buffer to a FILE *.
file: the file output buf: the buffer to dump Returns: the number of #xmlChar written Function: xmlBufferEmpty
void	xmlBufferEmpty			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)empty a buffer.
buf: the buffer Function: xmlBufferFree
void	xmlBufferFree			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)Frees an XML buffer. It frees both the content and the structure which encapsulate it.
buf: the buffer to free Function: xmlBufferGrow
int	xmlBufferGrow			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int len)Grow the available space of an XML buffer.
buf: the buffer len: the minimum free size to allocate Returns: the new available space or -1 in case of error Function: xmlBufferLength
int	xmlBufferLength			(const libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf)Function to get the length of a buffer
buf: the buffer Returns: the length of data in the internal content Function: xmlBufferResize
int	xmlBufferResize			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int size)Resize a buffer to accommodate minimum size of @size.
buf: the buffer to resize size: the desired size Returns: 0 in case of problems, 1 otherwise Function: xmlBufferSetAllocationScheme
void	xmlBufferSetAllocationScheme	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  scheme)Sets the allocation scheme for this buffer
buf: the buffer to tune scheme: allocation scheme to use Function: xmlBufferShrink
int	xmlBufferShrink			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 unsigned int len)Remove the beginning of an XML buffer.
buf: the buffer to dump len: the number of libxml-xmlstring.html#xmlCharxmlChar  to remove Returns: the number of #xmlChar removed, or -1 in case of failure. Function: xmlBufferWriteCHAR
void	xmlBufferWriteCHAR		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string)routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer.
buf: the XML buffer string: the string to add Function: xmlBufferWriteChar
void	xmlBufferWriteChar		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const char * string)routine which manage and grows an output buffer. This one add C chars at the end of the array.
buf: the XML buffer output string: the string to add Function: xmlBufferWriteQuotedString
void	xmlBufferWriteQuotedString	( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 const libxml-xmlstring.html#xmlCharxmlChar  * string)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
buf: the XML buffer output string: the string to add Function: xmlBuildQName
libxml-xmlstring.html#xmlCharxmlChar  *	xmlBuildQName		(const libxml-xmlstring.html#xmlCharxmlChar  * ncname, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix, 					 libxml-xmlstring.html#xmlCharxmlChar  * memory, 					 int len)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.
ncname: the Name prefix: the prefix memory: preallocated memory len: preallocated memory length Returns: the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error Function: xmlCopyDoc
libxml-tree.html#xmlDocPtrxmlDocPtr 	xmlCopyDoc		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int recursive)Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.
doc: the document recursive: if not zero do a recursive copy. Returns: a new #xmlDocPtr, or NULL in case of error. Function: xmlCopyDtd
libxml-tree.html#xmlDtdPtrxmlDtdPtr 	xmlCopyDtd		( libxml-tree.html#xmlDtdPtrxmlDtdPtr  dtd)Do a copy of the dtd.
dtd: the dtd Returns: a new #xmlDtdPtr, or NULL in case of error. Function: xmlCopyNamespace
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlCopyNamespace	( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)Do a copy of the namespace.
cur: the namespace Returns: a new #xmlNsPtr, or NULL in case of error. Function: xmlCopyNamespaceList
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlCopyNamespaceList	( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)Do a copy of an namespace list.
cur: the first namespace Returns: a new #xmlNsPtr, or NULL in case of error. Function: xmlCopyNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlCopyNode		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int extended)Do a copy of the node.
node: the node extended: if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable) Returns: a new #xmlNodePtr, or NULL in case of error. Function: xmlCopyNodeList
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlCopyNodeList		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node)Do a recursive copy of the node list. Use xmlDocCopyNodeList() if possible to ensure string interning.
node: the first node in the list. Returns: a new #xmlNodePtr, or NULL in case of error. Function: xmlCopyProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlCopyProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  target, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)Do a copy of the attribute.
target: the element where the libxml-SAX.html#attributeattribute  will be grafted cur: the libxml-SAX.html#attributeattribute Returns: a new #xmlAttrPtr, or NULL in case of error. Function: xmlCopyPropList
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlCopyPropList		( libxml-tree.html#xmlNodePtrxmlNodePtr  target, 					 libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)Do a copy of an libxml-SAX.html#attributeattribute  list.
target: the element where the attributes will be grafted cur: the first libxml-SAX.html#attributeattribute Returns: a new #xmlAttrPtr, or NULL in case of error. Function: xmlCreateIntSubset
libxml-tree.html#xmlDtdPtrxmlDtdPtr 	xmlCreateIntSubset	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * SystemID)Create the internal subset of a document
doc: the document pointer name: the DTD name ExternalID: the external (PUBLIC) ID SystemID: the system ID Returns: a pointer to the new DTD structure Function: xmlDOMWrapAdoptNode
int	xmlDOMWrapAdoptNode		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  sourceDoc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  destDoc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  destParent, 					 int options)Ensures that ns-references point to @destDoc: either to elements->nsDef entries if @destParent is given, or to @destDoc->oldNs otherwise. 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 libxml-SAX.html#attributeattribute  values or element content. WARNING: This function is in a experimental state.
ctxt: the optional context for custom processing sourceDoc: the optional sourceDoc node: the node to start with destDoc: the destination doc destParent: the optional new parent of @node in @destDoc options: option flags Returns: 0 if succeeded, -1 otherwise and on API/internal errors. Function: xmlDOMWrapFreeCtxt
void	xmlDOMWrapFreeCtxt		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt)Frees the DOM-wrapper context.
ctxt: the DOM-wrapper context Function: xmlDOMWrapNewCtxt
libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr 	xmlDOMWrapNewCtxt	(void)Allocates and initializes a new DOM-wrapper context.
Returns: the libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  or NULL in case of an internal errror. Function: xmlDOMWrapReconcileNamespaces
int	xmlDOMWrapReconcileNamespaces	( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  elem, 					 int options)Ensures that ns-references point to ns-decls hold on element-nodes. Ensures that the tree is namespace wellformed by creating additional ns-decls where needed. Note that, since prefixes of already existent ns-decls can be shadowed by this process, it could break QNames in libxml-SAX.html#attributeattribute  values or element content. WARNING: This function is in a experimental state.
ctxt: DOM wrapper context, unused at the moment elem: the element-node options: option flags Returns: 0 if succeeded, -1 otherwise and on API/internal errors. Function: xmlDOMWrapRemoveNode
int	xmlDOMWrapRemoveNode		( libxml-tree.html#xmlDOMWrapCtxtPtrxmlDOMWrapCtxtPtr  ctxt, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int options)Unlinks the given node from its owner. This will substitute ns-references to node->nsDef for ns-references to doc->oldNs, thus ensuring the removed branch to be autark wrt ns-references. WARNING: This function is in a experimental state.
ctxt: a DOM wrapper context doc: the doc node: the node to be removed. options: set of options, unused at the moment Returns: 0 on success, 1 if the node is not supported, -1 on API and internal errors. Function: xmlDocCopyNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlDocCopyNode		(const libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int extended)Do a copy of the node to a given document.
node: the node doc: the document extended: if 1 do a recursive copy (properties, namespaces and children when applicable) if 2 copy properties and namespaces (when applicable) Returns: a new #xmlNodePtr, or NULL in case of error. Function: xmlDocCopyNodeList
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlDocCopyNodeList	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-tree.html#xmlNodePtrxmlNodePtr  node)Do a recursive copy of the node list.
doc: the target document node: the first node in the list. Returns: a new #xmlNodePtr, or NULL in case of error. Function: xmlDocDump
int	xmlDocDump			(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur)Dump an XML document to an open FILE.
f: the FILE* cur: the document Returns: the number of bytes written or -1 in case of failure. Function: xmlDocDumpFormatMemory
void	xmlDocDumpFormatMemory		( libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 libxml-xmlstring.html#xmlCharxmlChar  ** mem, 					 int * size, 					 int format)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 libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called
cur: the document mem: OUT: the memory pointer size: OUT: the memory length format: should formatting spaces been added Function: xmlDocDumpFormatMemoryEnc
void	xmlDocDumpFormatMemoryEnc	( libxml-tree.html#xmlDocPtrxmlDocPtr  out_doc, 					 libxml-xmlstring.html#xmlCharxmlChar  ** doc_txt_ptr, 					 int * doc_txt_len, 					 const char * txt_encoding, 					 int format)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 libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called
out_doc: Document to generate XML text from doc_txt_ptr: Memory pointer for allocated XML text doc_txt_len: Length of the generated XML text txt_encoding: Character encoding to use when generating XML text format: should formatting spaces been added Function: xmlDocDumpMemory
void	xmlDocDumpMemory		( libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 libxml-xmlstring.html#xmlCharxmlChar  ** mem, 					 int * size)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.
cur: the document mem: OUT: the memory pointer size: OUT: the memory length Function: xmlDocDumpMemoryEnc
void	xmlDocDumpMemoryEnc		( libxml-tree.html#xmlDocPtrxmlDocPtr  out_doc, 					 libxml-xmlstring.html#xmlCharxmlChar  ** doc_txt_ptr, 					 int * doc_txt_len, 					 const char * txt_encoding)Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree().
out_doc: Document to generate XML text from doc_txt_ptr: Memory pointer for allocated XML text doc_txt_len: Length of the generated XML text txt_encoding: Character encoding to use when generating XML text Function: xmlDocFormatDump
int	xmlDocFormatDump		(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 int format)Dump an XML document to an open FILE.
f: the FILE* cur: the document format: should formatting spaces been added Returns: the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called Function: xmlDocGetRootElement
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlDocGetRootElement	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).
doc: the document Returns: the #xmlNodePtr for the root or NULL Function: xmlDocSetRootElement
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlDocSetRootElement	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  root)Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).
doc: the document root: the new document root element Returns: the old root element if any was found Function: xmlElemDump
void	xmlElemDump			(FILE * f, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Dump an XML/HTML node, recursive behaviour, children are printed too.
f: the FILE * for the output doc: the document cur: the current node Function: xmlFreeDoc
void	xmlFreeDoc			( libxml-tree.html#xmlDocPtrxmlDocPtr  cur)Free up all the structures used by a document, tree included.
cur: pointer to the document Function: xmlFreeDtd
void	xmlFreeDtd			( libxml-tree.html#xmlDtdPtrxmlDtdPtr  cur)Free a DTD structure.
cur: the DTD structure to free up Function: xmlFreeNode
void	xmlFreeNode			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Free a node, this is a recursive behaviour, all the children are freed too. This doesn't unlink the child from the list, use xmlUnlinkNode() first.
cur: the node Function: xmlFreeNodeList
void	xmlFreeNodeList			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Free a node and all its siblings, this is a recursive behaviour, all the children are freed too.
cur: the first node in the list Function: xmlFreeNs
void	xmlFreeNs			( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)Free up the structures associated to a namespace
cur: the namespace pointer Function: xmlFreeNsList
void	xmlFreeNsList			( libxml-tree.html#xmlNsPtrxmlNsPtr  cur)Free up all the structures associated to the chained namespaces.
cur: the first namespace pointer Function: xmlFreeProp
void	xmlFreeProp			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)Free one attribute, all the content is freed too
cur: an libxml-SAX.html#attributeattribute Function: xmlFreePropList
void	xmlFreePropList			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)Free a property and all its siblings, all the children are freed too.
cur: the first property in the list Function: xmlGetBufferAllocationScheme
libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	xmlGetBufferAllocationScheme	(void)Types are libxml-tree.html#XML_BUFFER_ALLOC_EXACTXML_BUFFER_ALLOC_EXACT  - use exact sizes, keeps memory usage down libxml-tree.html#XML_BUFFER_ALLOC_DOUBLEITXML_BUFFER_ALLOC_DOUBLEIT  - double buffer when extra needed, improves performance
Returns: the current allocation scheme Function: xmlGetCompressMode
int	xmlGetCompressMode		(void)get the default compression mode used, ZLIB based.
Returns: 0 (uncompressed) to 9 (max compression) Function: xmlGetDocCompressMode
int	xmlGetDocCompressMode		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)get the compression ratio for a document, ZLIB based
doc: the document Returns: 0 (uncompressed) to 9 (max compression) Function: xmlGetIntSubset
libxml-tree.html#xmlDtdPtrxmlDtdPtr 	xmlGetIntSubset		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)Get the internal subset of a document
doc: the document pointer Returns: a pointer to the DTD structure or NULL if not found Function: xmlGetLastChild
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlGetLastChild		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent)Search the last child of a node.
parent: the parent node Returns: the last child or NULL if none. Function: xmlGetLineNo
long	xmlGetLineNo			( libxml-tree.html#xmlNodePtrxmlNodePtr  node)Get line number of @node. This requires activation of this option before invoking the parser by calling xmlLineNumbersDefault(1)
node: valid node Returns: the line number if successful, -1 otherwise Function: xmlGetNoNsProp
libxml-xmlstring.html#xmlCharxmlChar  *	xmlGetNoNsProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Search and get the value of an libxml-SAX.html#attributeattribute  associated to a node This does the entity substitution. This function looks in DTD libxml-SAX.html#attributeattribute  declaration for #FIXED or default declaration values unless DTD use has been turned off. This function is similar to libxml-tree.html#xmlGetPropxmlGetProp  except it will accept only an libxml-SAX.html#attributeattribute  in no namespace.
node: the node name: the libxml-SAX.html#attributeattribute  name Returns: the libxml-SAX.html#attributeattribute  value or NULL if not found. It's up to the caller to free the memory with xmlFree(). Function: xmlGetNodePath
libxml-xmlstring.html#xmlCharxmlChar  *	xmlGetNodePath		( libxml-tree.html#xmlNodePtrxmlNodePtr  node)Build a structure based Path for the given node
node: a node Returns: the new path or NULL in case of error. The caller must free the returned string Function: xmlGetNsList
libxml-tree.html#xmlNsPtrxmlNsPtr  *	xmlGetNsList		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node)Search all the namespace applying to a given element.
doc: the document node: the current node Returns: an NULL terminated array of all the #xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined Function: xmlGetNsProp
libxml-xmlstring.html#xmlCharxmlChar  *	xmlGetNsProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace)Search and get the value of an libxml-SAX.html#attributeattribute  associated to a node This libxml-SAX.html#attributeattribute  has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD libxml-SAX.html#attributeattribute  declaration for #FIXED or default declaration values unless DTD use has been turned off.
node: the node name: the libxml-SAX.html#attributeattribute  name nameSpace: the URI of the namespace Returns: the libxml-SAX.html#attributeattribute  value or NULL if not found. It's up to the caller to free the memory with xmlFree(). Function: xmlGetProp
libxml-xmlstring.html#xmlCharxmlChar  *	xmlGetProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Search and get the value of an libxml-SAX.html#attributeattribute  associated to a node This does the entity substitution. This function looks in DTD libxml-SAX.html#attributeattribute  declaration for #FIXED or default declaration values unless DTD use has been turned off. NOTE: this function acts independently of namespaces associated to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing.
node: the node name: the libxml-SAX.html#attributeattribute  name Returns: the libxml-SAX.html#attributeattribute  value or NULL if not found. It's up to the caller to free the memory with xmlFree(). Function: xmlHasNsProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlHasNsProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace)Search for an libxml-SAX.html#attributeattribute  associated to a node This libxml-SAX.html#attributeattribute  has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD libxml-SAX.html#attributeattribute  declaration for #FIXED or default declaration values unless DTD use has been turned off. Note that a namespace of NULL indicates to use the default namespace.
node: the node name: the libxml-SAX.html#attributeattribute  name nameSpace: the URI of the namespace Returns: the libxml-SAX.html#attributeattribute  or the libxml-SAX.html#attributeattribute  declaration or NULL if neither was found. Function: xmlHasProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlHasProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Search an libxml-SAX.html#attributeattribute  associated to a node This function also looks in DTD libxml-SAX.html#attributeattribute  declaration for #FIXED or default declaration values unless DTD use has been turned off.
node: the node name: the libxml-SAX.html#attributeattribute  name Returns: the libxml-SAX.html#attributeattribute  or the libxml-SAX.html#attributeattribute  declaration or NULL if neither was found. Function: xmlIsBlankNode
int	xmlIsBlankNode			( libxml-tree.html#xmlNodePtrxmlNodePtr  node)Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.
node: the node Returns: 1 yes, 0 no Function: xmlIsXHTML
int	xmlIsXHTML			(const libxml-xmlstring.html#xmlCharxmlChar  * systemID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * publicID)Try to find if the document correspond to an XHTML DTD
systemID: the system identifier publicID: the public identifier Returns: 1 if true, 0 if not and -1 in case of error Function: xmlNewCDataBlock
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewCDataBlock	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Creation of a new node containing a CDATA block.
doc: the document content: the CDATA block content content len: the length of the block Returns: a pointer to the new node object. Function: xmlNewCharRef
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewCharRef		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Creation of a new character libxml-SAX.html#referencereference  node.
doc: the document name: the char ref string, starting with # or "&# ... ;" Returns: a pointer to the new node object. Function: xmlNewChild
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewChild		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.
parent: the parent node ns: a namespace if any name: the name of the child content: the XML content of the child if any. Returns: a pointer to the new node object. Function: xmlNewComment
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewComment		(const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new node containing a comment.
content: the libxml-SAX.html#commentcomment  content Returns: a pointer to the new node object. Function: xmlNewDoc
libxml-tree.html#xmlDocPtrxmlDocPtr 	xmlNewDoc		(const libxml-xmlstring.html#xmlCharxmlChar  * version)Creates a new XML document
version: libxml-xmlstring.html#xmlCharxmlChar  string giving the version of XML "1.0" Returns: a new document Function: xmlNewDocComment
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocComment	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new node containing a libxml-SAX.html#commentcomment  within a document.
doc: the document content: the libxml-SAX.html#commentcomment  content Returns: a pointer to the new node object. Function: xmlNewDocFragment
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocFragment	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)Creation of a new Fragment node.
doc: the document owning the fragment Returns: a pointer to the new node object. Function: xmlNewDocNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocNode		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.
doc: the document ns: namespace if any name: the node name content: the XML text content if any Returns: a pointer to the new node object. Function: xmlNewDocNodeEatName
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocNodeEatName	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.
doc: the document ns: namespace if any name: the node name content: the XML text content if any Returns: a pointer to the new node object. Function: xmlNewDocPI
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocPI		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a processing instruction element.
doc: the target document name: the processing instruction name content: the PI content Returns: a pointer to the new node object. Function: xmlNewDocProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlNewDocProp		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Create a new property carried by a document.
doc: the document name: the name of the libxml-SAX.html#attributeattribute value: the value of the libxml-SAX.html#attributeattribute Returns: a pointer to the libxml-SAX.html#attributeattribute Function: xmlNewDocRawNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocRawNode	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new node element within a document. @ns and @content are optional (NULL).
doc: the document ns: namespace if any name: the node name content: the text content if any Returns: a pointer to the new node object. Function: xmlNewDocText
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocText		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new text node within a document.
doc: the document content: the text content Returns: a pointer to the new node object. Function: xmlNewDocTextLen
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewDocTextLen	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Creation of a new text node with an extra content length parameter. The text node pertain to a given document.
doc: the document content: the text content len: the text len. Returns: a pointer to the new node object. Function: xmlNewDtd
libxml-tree.html#xmlDtdPtrxmlDtdPtr 	xmlNewDtd		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml-xmlstring.html#xmlCharxmlChar  * SystemID)Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset().
doc: the document pointer name: the DTD name ExternalID: the external ID SystemID: the system ID Returns: a pointer to the new DTD structure Function: xmlNewGlobalNs
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlNewGlobalNs		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix)Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!!
doc: the document carrying the namespace href: the URI associated prefix: the prefix for the namespace Returns: NULL this functionality had been removed Function: xmlNewNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewNode		( libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Creation of a new node element. @ns is optional (NULL).
ns: namespace if any name: the node name Returns: a pointer to the new node object. Uses xmlStrdup() to make copy of @name. Function: xmlNewNodeEatName
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewNodeEatName	( libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name)Creation of a new node element. @ns is optional (NULL).
ns: namespace if any name: the node name Returns: a pointer to the new node object, with pointer @name as new node's name. Use xmlNewNode() if a copy of @name string is is needed as new node's name. Function: xmlNewNs
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlNewNs		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href, 					 const libxml-xmlstring.html#xmlCharxmlChar  * prefix)Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href==NULL in the case of an element creation where the namespace was not defined.
node: the element carrying the namespace href: the URI associated prefix: the prefix for the namespace Returns: a new namespace pointer or NULL Function: xmlNewNsProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlNewNsProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Create a new property tagged with a namespace and carried by a node.
node: the holding node ns: the namespace name: the name of the libxml-SAX.html#attributeattribute value: the value of the libxml-SAX.html#attributeattribute Returns: a pointer to the libxml-SAX.html#attributeattribute Function: xmlNewNsPropEatName
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlNewNsPropEatName	( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Create a new property tagged with a namespace and carried by a node.
node: the holding node ns: the namespace name: the name of the libxml-SAX.html#attributeattribute value: the value of the libxml-SAX.html#attributeattribute Returns: a pointer to the libxml-SAX.html#attributeattribute Function: xmlNewPI
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewPI		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a processing instruction element. Use xmlDocNewPI preferably to get string interning
name: the processing instruction name content: the PI content Returns: a pointer to the new node object. Function: xmlNewProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlNewProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Create a new property carried by a node.
node: the holding node name: the name of the libxml-SAX.html#attributeattribute value: the value of the libxml-SAX.html#attributeattribute Returns: a pointer to the libxml-SAX.html#attributeattribute Function: xmlNewReference
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewReference		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Creation of a new libxml-SAX.html#referencereference  node.
doc: the document name: the libxml-SAX.html#referencereference  name, or the libxml-SAX.html#referencereference  string with & and ; Returns: a pointer to the new node object. Function: xmlNewText
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewText		(const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new text node.
content: the text content Returns: a pointer to the new node object. Function: xmlNewTextChild
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewTextChild		( libxml-tree.html#xmlNodePtrxmlNodePtr  parent, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.
parent: the parent node ns: a namespace if any name: the name of the child content: the text content of the child if any. Returns: a pointer to the new node object. Function: xmlNewTextLen
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlNewTextLen		(const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Creation of a new text node with an extra parameter for the content's length
content: the text content len: the text len. Returns: a pointer to the new node object. Function: xmlNodeAddContent
void	xmlNodeAddContent		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Append the extra substring to the node content.
cur: the node being modified content: extra content Function: xmlNodeAddContentLen
void	xmlNodeAddContentLen		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Append the extra substring to the node content.
cur: the node being modified content: extra content len: the size of @content Function: xmlNodeBufGetContent
int	xmlNodeBufGetContent		( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buffer, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buffer with this value
buffer: a buffer cur: the node being read Returns: 0 in case of success and -1 in case of error. Function: xmlNodeDump
int	xmlNodeDump			( libxml-tree.html#xmlBufferPtrxmlBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int level, 					 int format)Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called
buf: the XML buffer output doc: the document cur: the current node level: the imbrication level for indenting format: is formatting allowed Returns: the number of bytes written to the buffer or -1 in case of error Function: xmlNodeDumpOutput
void	xmlNodeDumpOutput		( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int level, 					 int format, 					 const char * encoding)Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called
buf: the XML buffer output doc: the document cur: the current node level: the imbrication level for indenting format: is formatting allowed encoding: an optional encoding string Function: xmlNodeGetBase
libxml-xmlstring.html#xmlCharxmlChar  *	xmlNodeGetBase		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use xmlDocumentGetBase() for this
doc: the document the node pertains to cur: the node being checked Returns: a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree(). Function: xmlNodeGetContent
libxml-xmlstring.html#xmlCharxmlChar  *	xmlNodeGetContent	( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.
cur: the node being read Returns: a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree(). Function: xmlNodeGetLang
libxml-xmlstring.html#xmlCharxmlChar  *	xmlNodeGetLang		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Searches the language of a node, i.e. the values of the xml:lang libxml-SAX.html#attributeattribute  or the one carried by the nearest ancestor.
cur: the node being checked Returns: a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree(). Function: xmlNodeGetSpacePreserve
int	xmlNodeGetSpacePreserve		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Searches the space preserving behaviour of a node, i.e. the values of the xml:space libxml-SAX.html#attributeattribute  or the one carried by the nearest ancestor.
cur: the node being checked Returns: -1 if xml:space is not inherited, 0 if "default", 1 if "preserve" Function: xmlNodeIsText
int	xmlNodeIsText			( libxml-tree.html#xmlNodePtrxmlNodePtr  node)Is this node a Text node ?
node: the node Returns: 1 yes, 0 no Function: xmlNodeListGetRawString
libxml-xmlstring.html#xmlCharxmlChar  *	xmlNodeListGetRawString	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 int inLine)Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling.
doc: the document list: a Node list inLine: should we replace entity contents or show their external form Returns: a pointer to the string copy, the caller must free it with xmlFree(). Function: xmlNodeListGetString
libxml-xmlstring.html#xmlCharxmlChar  *	xmlNodeListGetString	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 int inLine)Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs
doc: the document list: a Node list inLine: should we replace entity contents or show their external form Returns: a pointer to the string copy, the caller must free it with xmlFree(). Function: xmlNodeSetBase
void	xmlNodeSetBase			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * uri)Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute.
cur: the node being changed uri: the new base URI Function: xmlNodeSetContent
void	xmlNodeSetContent		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content)Replace the content of a node.
cur: the node being modified content: the new value of the content Function: xmlNodeSetContentLen
void	xmlNodeSetContentLen		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Replace the content of a node.
cur: the node being modified content: the new value of the content len: the size of @content Function: xmlNodeSetLang
void	xmlNodeSetLang			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * lang)Set the language of a node, i.e. the values of the xml:lang attribute.
cur: the node being changed lang: the language description Function: xmlNodeSetName
void	xmlNodeSetName			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Set (or reset) the name of a node.
cur: the node being changed name: the new tag name Function: xmlNodeSetSpacePreserve
void	xmlNodeSetSpacePreserve		( libxml-tree.html#xmlNodePtrxmlNodePtr  cur, 					 int val)Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute.
cur: the node being changed val: the xml:space value ("0": default, 1: "preserve") Function: xmlReconciliateNs
int	xmlReconciliateNs		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  tree)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.
doc: the document tree: a node defining the subtree to reconciliate Returns: the number of namespace declarations created or -1 in case of error. Function: xmlRemoveProp
int	xmlRemoveProp			( libxml-tree.html#xmlAttrPtrxmlAttrPtr  cur)Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes
cur: an libxml-SAX.html#attributeattribute Returns: 0 if success and -1 in case of error. Function: xmlReplaceNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlReplaceNode		( libxml-tree.html#xmlNodePtrxmlNodePtr  old, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Unlink the old node from its current context, prune the new one at the same place. If @cur was already inserted in a document it is first unlinked from its existing context.
old: the old node cur: the node Returns: the @old node Function: xmlSaveFile
int	xmlSaveFile			(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur)Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.
filename: the filename (or URL) cur: the document Returns: the number of bytes written or -1 in case of failure. Function: xmlSaveFileEnc
int	xmlSaveFileEnc			(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding)Dump an XML document, converting it to the given encoding
filename: the filename (or URL) cur: the document encoding: the name of an encoding (or NULL) Returns: the number of bytes written or -1 in case of failure. Function: xmlSaveFileTo
int	xmlSaveFileTo			( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding)Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.
buf: an output I/O buffer cur: the document encoding: the encoding if any assuming the I/O layer handles the trancoding Returns: the number of bytes written or -1 in case of failure. Function: xmlSaveFormatFile
int	xmlSaveFormatFile		(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 int format)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 libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called
filename: the filename (or URL) cur: the document format: should formatting spaces been added Returns: the number of bytes written or -1 in case of failure. Function: xmlSaveFormatFileEnc
int	xmlSaveFormatFileEnc		(const char * filename, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding, 					 int format)Dump an XML document to a file or an URL.
filename: the filename or URL to output cur: the document being saved encoding: the name of the encoding to use or NULL. format: should formatting spaces be added. Returns: the number of bytes written or -1 in case of error. Note that @format = 1 provide node indenting only if libxml-globals.html#xmlIndentTreeOutputxmlIndentTreeOutput  = 1 or xmlKeepBlanksDefault(0) was called Function: xmlSaveFormatFileTo
int	xmlSaveFormatFileTo		( libxml-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  buf, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  cur, 					 const char * encoding, 					 int format)Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.
buf: an output I/O buffer cur: the document encoding: the encoding if any assuming the I/O layer handles the trancoding format: should formatting spaces been added Returns: the number of bytes written or -1 in case of failure. Function: xmlSearchNs
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlSearchNs		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * nameSpace)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.
doc: the document node: the current node nameSpace: the namespace prefix Returns: the namespace pointer or NULL. Function: xmlSearchNsByHref
libxml-tree.html#xmlNsPtrxmlNsPtr 	xmlSearchNsByHref	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * href)Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise.
doc: the document node: the current node href: the namespace value Returns: the namespace pointer or NULL. Function: xmlSetBufferAllocationScheme
void	xmlSetBufferAllocationScheme	( libxml-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  scheme)Set the buffer allocation method. Types are libxml-tree.html#XML_BUFFER_ALLOC_EXACTXML_BUFFER_ALLOC_EXACT  - use exact sizes, keeps memory usage down libxml-tree.html#XML_BUFFER_ALLOC_DOUBLEITXML_BUFFER_ALLOC_DOUBLEIT  - double buffer when extra needed, improves performance
scheme: allocation method to use Function: xmlSetCompressMode
void	xmlSetCompressMode		(int mode)set the default compression mode used, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)
mode: the compression ratio Function: xmlSetDocCompressMode
void	xmlSetDocCompressMode		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int mode)set the compression ratio for a document, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)
doc: the document mode: the compression ratio Function: xmlSetListDoc
void	xmlSetListDoc			( libxml-tree.html#xmlNodePtrxmlNodePtr  list, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc)update all nodes in the list to point to the right document
list: the first element doc: the document Function: xmlSetNs
void	xmlSetNs			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns)Associate a namespace to a node, a posteriori.
node: a node in the document ns: a namespace pointer Function: xmlSetNsProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlSetNsProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Set (or reset) an libxml-SAX.html#attributeattribute  carried by a node. The ns structure must be in scope, this is not checked.
node: the node ns: the namespace definition name: the libxml-SAX.html#attributeattribute  name value: the libxml-SAX.html#attributeattribute  value Returns: the libxml-SAX.html#attributeattribute  pointer. Function: xmlSetProp
libxml-tree.html#xmlAttrPtrxmlAttrPtr 	xmlSetProp		( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Set (or reset) an libxml-SAX.html#attributeattribute  carried by a node.
node: the node name: the libxml-SAX.html#attributeattribute  name value: the libxml-SAX.html#attributeattribute  value Returns: the libxml-SAX.html#attributeattribute  pointer. Function: xmlSetTreeDoc
void	xmlSetTreeDoc			( libxml-tree.html#xmlNodePtrxmlNodePtr  tree, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc)update all nodes under the tree to point to the right document
tree: the top element doc: the document Function: xmlSplitQName2
libxml-xmlstring.html#xmlCharxmlChar  *	xmlSplitQName2		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 libxml-xmlstring.html#xmlCharxmlChar  ** prefix)parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName
name: the full QName prefix: a libxml-xmlstring.html#xmlCharxmlChar  ** Returns: NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any. Function: xmlSplitQName3
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlSplitQName3		(const libxml-xmlstring.html#xmlCharxmlChar  * name, 					 int * len)parse an XML qualified name string,i
name: the full QName len: an int * Returns: NULL if it is not a Qualified Name, otherwise, update len with the lenght in byte of the prefix and return a pointer to the start of the name without the prefix Function: xmlStringGetNodeList
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlStringGetNodeList	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value)Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
doc: the document value: the value of the libxml-SAX.html#attributeattribute Returns: a pointer to the first child Function: xmlStringLenGetNodeList
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlStringLenGetNodeList	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int len)Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
doc: the document value: the value of the text len: the length of the string value Returns: a pointer to the first child Function: xmlTextConcat
int	xmlTextConcat			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * content, 					 int len)Concat the given string at the end of the existing node content
node: the node content: the content len: @content length Returns: -1 in case of error, 0 otherwise Function: xmlTextMerge
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlTextMerge		( libxml-tree.html#xmlNodePtrxmlNodePtr  first, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  second)Merge two text nodes into one
first: the first text node second: the second text node being merged Returns: the first text node augmented Function: xmlUnlinkNode
void	xmlUnlinkNode			( libxml-tree.html#xmlNodePtrxmlNodePtr  cur)Unlink a node from it's current context, the node is not freed
cur: the node Function: xmlUnsetNsProp
int	xmlUnsetNsProp			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 libxml-tree.html#xmlNsPtrxmlNsPtr  ns, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Remove an libxml-SAX.html#attributeattribute  carried by a node.
node: the node ns: the namespace definition name: the libxml-SAX.html#attributeattribute  name Returns: 0 if successful, -1 if not found Function: xmlUnsetProp
int	xmlUnsetProp			( libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Remove an libxml-SAX.html#attributeattribute  carried by a node.
node: the node name: the libxml-SAX.html#attributeattribute  name Returns: 0 if successful, -1 if not found Function: xmlValidateNCName
int	xmlValidateNCName		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)Check that a value conforms to the lexical space of NCName
value: the value to check space: allow spaces in front and end of the string Returns: 0 if this validates, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlValidateNMToken
int	xmlValidateNMToken		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)Check that a value conforms to the lexical space of NMToken
value: the value to check space: allow spaces in front and end of the string Returns: 0 if this validates, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlValidateName
int	xmlValidateName			(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)Check that a value conforms to the lexical space of Name
value: the value to check space: allow spaces in front and end of the string Returns: 0 if this validates, a positive error code number otherwise and -1 in case of internal or API error. Function: xmlValidateQName
int	xmlValidateQName		(const libxml-xmlstring.html#xmlCharxmlChar  * value, 					 int space)Check that a value conforms to the lexical space of QName
value: the value to check space: allow spaces in front and end of the string Returns: 0 if this validates, a positive error code number otherwise and -1 in case of internal or API error. ../bugs.htmlDaniel Veillard 
