  
    
    
    
    
    
    
    
  
  
    
      
        
          
libxml2-nanohttp.html            
Prev          
        
        
          
general.html            
Up          
        
        
          
index.html            
Home          
        
        
          
libxml2-parserInternals.html            
Next          
        
        
libxml2 Reference Manual      
    
    
      
parser    
    
parser - the core parser module
    
Interfaces, constants and types related to the XML parser 
    
Author(s): Daniel Veillard 
    
      
Synopsis
      
#define #XML_COMPLETE_ATTRSXML_COMPLETE_ATTRS ;
#define 
#XML_SKIP_IDSXML_SKIP_IDS ;
#define 
#XML_SAX2_MAGICXML_SAX2_MAGIC ;
#define 
#XML_DETECT_IDSXML_DETECT_IDS ;
#define 
#XML_DEFAULT_VERSIONXML_DEFAULT_VERSION ;
typedef 
libxml2-parser.html#xmlParserNodeInfoSeqxmlParserNodeInfoSeq  * #xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr ;
typedef struct _xmlSAXHandlerV1 
#xmlSAXHandlerV1xmlSAXHandlerV1 ;
typedef enum 
#xmlParserInputStatexmlParserInputState ;
typedef 
libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  * #xmlParserNodeInfoPtrxmlParserNodeInfoPtr ;
typedef struct _xmlParserNodeInfoSeq 
#xmlParserNodeInfoSeqxmlParserNodeInfoSeq ;
typedef enum 
#xmlFeaturexmlFeature ;
typedef enum 
#xmlParserModexmlParserMode ;
typedef enum 
#xmlParserOptionxmlParserOption ;
typedef 
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1  * #xmlSAXHandlerV1PtrxmlSAXHandlerV1Ptr ;
typedef struct _xmlParserNodeInfo 
#xmlParserNodeInfoxmlParserNodeInfo ;
void	
#xmlSetupParserForBufferxmlSetupParserForBuffer 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * buffer, 					 const char * filename);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlCtxtReadFilexmlCtxtReadFile 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * filename, 					 const char * encoding, 					 int options);
int	
#xmlParseCtxtExternalEntityxmlParseCtxtExternalEntity 	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URL, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ID, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst);
typedef void 
#attributeDeclSAXFuncattributeDeclSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * elem, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * fullname, 					 int type, 					 int def, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * defaultValue, 					 libxml2-tree.html#xmlEnumerationPtrxmlEnumerationPtr  tree);
typedef 
libxml2-tree.html#xmlEntityPtrxmlEntityPtr  #getEntitySAXFuncgetEntitySAXFunc 	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
typedef void 
#startElementSAXFuncstartElementSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** atts);
typedef void 
#charactersSAXFunccharactersSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ch, 					 int len);
void	
#xmlClearNodeInfoSeqxmlClearNodeInfoSeq 		( libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq);
int	
#xmlParseChunkxmlParseChunk 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * chunk, 					 int size, 					 int terminate);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlParseEntityxmlParseEntity 		(const char * filename);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlRecoverFilexmlRecoverFile 		(const char * filename);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlCtxtReadDocxmlCtxtReadDoc 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options);
typedef void 
#startElementNsSAX2FuncstartElementNsSAX2Func 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * localname, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URI, 					 int nb_namespaces, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** namespaces, 					 int nb_attributes, 					 int nb_defaulted, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** attributes);
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	#xmlCreateIOParserCtxtxmlCreateIOParserCtxt 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 						 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 						 void * ioctx, 						 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc);
libxml2-xmlerror.html#xmlParserErrorsxmlParserErrors 	#xmlParseInNodeContextxmlParseInNodeContext 	( libxml2-tree.html#xmlNodePtrxmlNodePtr  node, 					 const char * data, 					 int datalen, 					 int options, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst);
typedef void 
#referenceSAXFuncreferenceSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
typedef int 
#hasExternalSubsetSAXFunchasExternalSubsetSAXFunc 	(void * ctx);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseDocxmlSAXParseDoc 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 int recovery);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlReadMemoryxmlReadMemory 		(const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlParseMemoryxmlParseMemory 		(const char * buffer, 					 int size);
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	#xmlNewIOInputStreamxmlNewIOInputStream 	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 						 libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 						 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc);
typedef void 
#processingInstructionSAXFuncprocessingInstructionSAXFunc 	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * target, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * data);
int	
#xmlParseBalancedChunkMemoryRecoverxmlParseBalancedChunkMemoryRecover 	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 						 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 int depth, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * string, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst, 						 int recover);
void	
#xmlInitParserxmlInitParser 			(void);
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	#xmlCreateDocParserCtxtxmlCreateDocParserCtxt 	(const libxml2-xmlstring.html#xmlCharxmlChar  * cur);
typedef void 
#errorSAXFuncerrorSAXFunc 			(void * ctx, 					 const char * msg, 					 ... ...);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseMemoryxmlSAXParseMemory 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * buffer, 					 int size, 					 int recovery);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlRecoverMemoryxmlRecoverMemory 	(const char * buffer, 					 int size);
typedef 
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  #xmlExternalEntityLoaderxmlExternalEntityLoader 	(const char * URL, 						 const char * ID, 						 libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  context);
typedef int 
#hasInternalSubsetSAXFunchasInternalSubsetSAXFunc 	(void * ctx);
typedef void 
#cdataBlockSAXFunccdataBlockSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value, 					 int len);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseFilexmlSAXParseFile 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename, 					 int recovery);
typedef void 
#xmlParserInputDeallocatexmlParserInputDeallocate 	( libxml2-xmlstring.html#xmlCharxmlChar  * str);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlCtxtReadIOxmlCtxtReadIO 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseMemoryWithDataxmlSAXParseMemoryWithData 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 const char * buffer, 						 int size, 						 int recovery, 						 void * data);
int	
#xmlGetFeaturexmlGetFeature 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * name, 					 void * result);
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlIOParseDTDxmlIOParseDTD 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 					 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc);
void	
#xmlFreeParserCtxtxmlFreeParserCtxt 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlParseDTDxmlParseDTD 		(const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlRecoverDocxmlRecoverDoc 		( libxml2-xmlstring.html#xmlCharxmlChar  * cur);
typedef void 
#commentSAXFunccommentSAXFunc 			(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value);
int	
#xmlInitParserCtxtxmlInitParserCtxt 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
typedef void 
#attributeSAXFuncattributeSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value);
int	
#xmlParserInputGrowxmlParserInputGrow 		( libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  in, 					 int len);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlCtxtReadMemoryxmlCtxtReadMemory 	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options);
typedef void 
#externalSubsetSAXFuncexternalSubsetSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID);
typedef 
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  #resolveEntitySAXFuncresolveEntitySAXFunc 	(void * ctx, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId);
int	
#xmlPedanticParserDefaultxmlPedanticParserDefault 	(int val);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseEntityxmlSAXParseEntity 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlParseDocxmlParseDoc 		(const libxml2-xmlstring.html#xmlCharxmlChar  * cur);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlSAXParseFileWithDataxmlSAXParseFileWithData 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename, 					 int recovery, 					 void * data);
int	
#xmlLineNumbersDefaultxmlLineNumbersDefault 		(int val);
libxml2-parser.html#xmlExternalEntityLoaderxmlExternalEntityLoader 	#xmlGetExternalEntityLoaderxmlGetExternalEntityLoader 	(void);
typedef void 
#elementDeclSAXFuncelementDeclSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 int type, 					 libxml2-tree.html#xmlElementContentPtrxmlElementContentPtr  content);
int	
#xmlCtxtUseOptionsxmlCtxtUseOptions 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 int options);
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	#xmlCreatePushParserCtxtxmlCreatePushParserCtxt 	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 const char * chunk, 						 int size, 						 const char * filename);
void	
#xmlParserAddNodeInfoxmlParserAddNodeInfo 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-parser.html#xmlParserNodeInfoPtrxmlParserNodeInfoPtr  info);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlCtxtReadFdxmlCtxtReadFd 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 int fd, 					 const char * URL, 					 const char * encoding, 					 int options);
typedef void 
#internalSubsetSAXFuncinternalSubsetSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID);
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	#xmlNewParserCtxtxmlNewParserCtxt 	(void);
typedef void 
#endDocumentSAXFuncendDocumentSAXFunc 		(void * ctx);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlParseFilexmlParseFile 		(const char * filename);
int	
#xmlParseDocumentxmlParseDocument 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
typedef void 
#setDocumentLocatorSAXFuncsetDocumentLocatorSAXFunc 	(void * ctx, 					 libxml2-tree.html#xmlSAXLocatorPtrxmlSAXLocatorPtr  loc);
typedef 
libxml2-tree.html#xmlEntityPtrxmlEntityPtr  #getParameterEntitySAXFuncgetParameterEntitySAXFunc 	(void * ctx, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
typedef void 
#ignorableWhitespaceSAXFuncignorableWhitespaceSAXFunc 	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ch, 					 int len);
void	
#xmlInitNodeInfoSeqxmlInitNodeInfoSeq 		( libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq);
int	
#xmlSubstituteEntitiesDefaultxmlSubstituteEntitiesDefault 	(int val);
typedef void 
#endElementSAXFuncendElementSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name);
unsigned long	
#xmlParserFindNodeInfoIndexxmlParserFindNodeInfoIndex 	(const libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq, 						 const libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
long	
#xmlByteConsumedxmlByteConsumed 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
void	
#xmlCtxtResetxmlCtxtReset 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
int	
#xmlSetFeaturexmlSetFeature 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * name, 					 void * value);
int	
#xmlKeepBlanksDefaultxmlKeepBlanksDefault 		(int val);
int	
#xmlParserInputReadxmlParserInputRead 		( libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  in, 					 int len);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlReadFilexmlReadFile 		(const char * filename, 					 const char * encoding, 					 int options);
int	
#xmlGetFeaturesListxmlGetFeaturesList 		(int * len, 					 const char ** result);
int	
#xmlHasFeaturexmlHasFeature 			( libxml2-parser.html#xmlFeaturexmlFeature  feature);
typedef void 
#unparsedEntityDeclSAXFuncunparsedEntityDeclSAXFunc 	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * notationName);
int	
#xmlSAXUserParseFilexmlSAXUserParseFile 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 const char * filename);
typedef void 
#fatalErrorSAXFuncfatalErrorSAXFunc 		(void * ctx, 					 const char * msg, 					 ... ...);
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	#xmlSAXParseDTDxmlSAXParseDTD 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID);
const 
libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  *	#xmlParserFindNodeInfoxmlParserFindNodeInfo 	(const libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctx, 							 const libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
typedef void 
#entityDeclSAXFuncentityDeclSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 int type, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId, 					 libxml2-xmlstring.html#xmlCharxmlChar  * content);
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	#xmlLoadExternalEntityxmlLoadExternalEntity 	(const char * URL, 						 const char * ID, 						 libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
void	
#xmlStopParserxmlStopParser 			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlReadFdxmlReadFd 		(int fd, 					 const char * URL, 					 const char * encoding, 					 int options);
int	
#xmlParseExtParsedEntxmlParseExtParsedEnt 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlReadIOxmlReadIO 		( libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options);
libxml2-tree.html#xmlDocPtrxmlDocPtr 	#xmlReadDocxmlReadDoc 		(const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options);
int	
#xmlSAXUserParseMemoryxmlSAXUserParseMemory 		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 const char * buffer, 					 int size);
int	
#xmlParseBalancedChunkMemoryxmlParseBalancedChunkMemory 	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 int depth, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * string, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst);
typedef void 
#endElementNsSAX2FuncendElementNsSAX2Func 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * localname, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URI);
void	
#xmlCleanupParserxmlCleanupParser 		(void);
int	
#xmlCtxtResetPushxmlCtxtResetPush 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * chunk, 					 int size, 					 const char * filename, 					 const char * encoding);
typedef int 
#isStandaloneSAXFuncisStandaloneSAXFunc 		(void * ctx);
typedef void 
#startDocumentSAXFuncstartDocumentSAXFunc 		(void * ctx);
void	
#xmlClearParserCtxtxmlClearParserCtxt 		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt);
int	
#xmlParseExternalEntityxmlParseExternalEntity 		( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 int depth, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URL, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ID, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst);
typedef void 
#notationDeclSAXFuncnotationDeclSAXFunc 		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId);
typedef void 
#warningSAXFuncwarningSAXFunc 			(void * ctx, 					 const char * msg, 					 ... ...);
void	
#xmlSetExternalEntityLoaderxmlSetExternalEntityLoader 	( libxml2-parser.html#xmlExternalEntityLoaderxmlExternalEntityLoader  f);
    
    
      
Description
    
    
      
Details
      
        
Macro XML_COMPLETE_ATTRS
#define #XML_COMPLETE_ATTRSXML_COMPLETE_ATTRS ;
Bit in the loadsubset context field to tell to do complete the elements attributes lists with the ones defaulted from the DTDs. Use it to initialize xmlLoadExtDtdDefaultValue.
        
        
Macro XML_DEFAULT_VERSION
#define #XML_DEFAULT_VERSIONXML_DEFAULT_VERSION ;
The default version of XML used: 1.0
        
        
Macro XML_DETECT_IDS
#define #XML_DETECT_IDSXML_DETECT_IDS ;
Bit in the loadsubset context field to tell to do ID/REFs lookups. Use it to initialize xmlLoadExtDtdDefaultValue.
        
        
Macro XML_SAX2_MAGIC
#define #XML_SAX2_MAGICXML_SAX2_MAGIC ;
Special constant found in SAX2 blocks initialized fields
        
        
Macro XML_SKIP_IDS
#define #XML_SKIP_IDSXML_SKIP_IDS ;
Bit in the loadsubset context field to tell to not do ID/REFs registration. Used to initialize libxml2-globals.html#xmlLoadExtDtdDefaultValuexmlLoadExtDtdDefaultValue  in some special cases.
        
        
Enum xmlFeature
enum #xmlFeaturexmlFeature  {
    
XML_WITH_THREAD  = 1
    
XML_WITH_TREE  = 2
    
XML_WITH_OUTPUT  = 3
    
XML_WITH_PUSH  = 4
    
XML_WITH_READER  = 5
    
XML_WITH_PATTERN  = 6
    
XML_WITH_WRITER  = 7
    
XML_WITH_SAX1  = 8
    
XML_WITH_FTP  = 9
    
XML_WITH_HTTP  = 10
    
XML_WITH_VALID  = 11
    
XML_WITH_HTML  = 12
    
XML_WITH_LEGACY  = 13
    
XML_WITH_C14N  = 14
    
XML_WITH_CATALOG  = 15
    
XML_WITH_XPATH  = 16
    
XML_WITH_XPTR  = 17
    
XML_WITH_XINCLUDE  = 18
    
XML_WITH_ICONV  = 19
    
XML_WITH_ISO8859X  = 20
    
XML_WITH_UNICODE  = 21
    
XML_WITH_REGEXP  = 22
    
XML_WITH_AUTOMATA  = 23
    
XML_WITH_EXPR  = 24
    
XML_WITH_SCHEMAS  = 25
    
XML_WITH_SCHEMATRON  = 26
    
XML_WITH_MODULES  = 27
    
XML_WITH_DEBUG  = 28
    
XML_WITH_DEBUG_MEM  = 29
    
XML_WITH_DEBUG_RUN  = 30
    
XML_WITH_NONE  = 99999 /*  just to be sure of allocation size */
};
        
        
Enum xmlParserInputState
enum #xmlParserInputStatexmlParserInputState  {
    
XML_PARSER_EOF  = -1 /* nothing is to be parsed */
    
XML_PARSER_START  = 0 /* nothing has been parsed */
    
XML_PARSER_MISC  = 1 /* Misc* before int subset */
    
XML_PARSER_PI  = 2 /* Within a processing instruction */
    
XML_PARSER_DTD  = 3 /* within some DTD content */
    
XML_PARSER_PROLOG  = 4 /* Misc* after internal subset */
    
XML_PARSER_COMMENT  = 5 /* within a comment */
    
XML_PARSER_START_TAG  = 6 /* within a start tag */
    
XML_PARSER_CONTENT  = 7 /* within the content */
    
XML_PARSER_CDATA_SECTION  = 8 /* within a CDATA section */
    
XML_PARSER_END_TAG  = 9 /* within a closing tag */
    
XML_PARSER_ENTITY_DECL  = 10 /* within an entity declaration */
    
XML_PARSER_ENTITY_VALUE  = 11 /* within an entity value in a decl */
    
XML_PARSER_ATTRIBUTE_VALUE  = 12 /* within an attribute value */
    
XML_PARSER_SYSTEM_LITERAL  = 13 /* within a SYSTEM value */
    
XML_PARSER_EPILOG  = 14 /* the Misc* after the last end tag */
    
XML_PARSER_IGNORE  = 15 /* within an IGNORED section */
    
XML_PARSER_PUBLIC_LITERAL  = 16 /*  within a PUBLIC value */
};
        
        
Enum xmlParserMode
enum #xmlParserModexmlParserMode  {
    
XML_PARSE_UNKNOWN  = 0
    
XML_PARSE_DOM  = 1
    
XML_PARSE_SAX  = 2
    
XML_PARSE_PUSH_DOM  = 3
    
XML_PARSE_PUSH_SAX  = 4
    
XML_PARSE_READER  = 5
};
        
        
Structure xmlParserNodeInfo
struct _xmlParserNodeInfo {
    const struct _xmlNode *	node	: Position & line # that text that created the node begins & ends on
    unsigned long	begin_pos
    unsigned long	begin_line
    unsigned long	end_pos
    unsigned long	end_line
} xmlParserNodeInfo;
        
        
Typedef xmlParserNodeInfoPtr
libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  * xmlParserNodeInfoPtr;
        
        
Structure xmlParserNodeInfoSeq
struct _xmlParserNodeInfoSeq {
    unsigned long	maximum
    unsigned long	length
    
libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  *	buffer
} xmlParserNodeInfoSeq;
        
        
Typedef xmlParserNodeInfoSeqPtr
libxml2-parser.html#xmlParserNodeInfoSeqxmlParserNodeInfoSeq  * xmlParserNodeInfoSeqPtr;
        
        
Enum xmlParserOption
enum #xmlParserOptionxmlParserOption  {
    
XML_PARSE_RECOVER  = 1 /* recover on errors */
    
XML_PARSE_NOENT  = 2 /* substitute entities */
    
XML_PARSE_DTDLOAD  = 4 /* load the external subset */
    
XML_PARSE_DTDATTR  = 8 /* default DTD attributes */
    
XML_PARSE_DTDVALID  = 16 /* validate with the DTD */
    
XML_PARSE_NOERROR  = 32 /* suppress error reports */
    
XML_PARSE_NOWARNING  = 64 /* suppress warning reports */
    
XML_PARSE_PEDANTIC  = 128 /* pedantic error reporting */
    
XML_PARSE_NOBLANKS  = 256 /* remove blank nodes */
    
XML_PARSE_SAX1  = 512 /* use the SAX1 interface internally */
    
XML_PARSE_XINCLUDE  = 1024 /* Implement XInclude substitition */
    
XML_PARSE_NONET  = 2048 /* Forbid network access */
    
XML_PARSE_NODICT  = 4096 /* Do not reuse the context dictionnary */
    
XML_PARSE_NSCLEAN  = 8192 /* remove redundant namespaces declarations */
    
XML_PARSE_NOCDATA  = 16384 /* merge CDATA as text nodes */
    
XML_PARSE_NOXINCNODE  = 32768 /* do not generate XINCLUDE START/END nodes */
    
XML_PARSE_COMPACT  = 65536 /*  compact small text nodes */
};
        
        
Structure xmlSAXHandlerV1
struct _xmlSAXHandlerV1 {
    
libxml2-parser.html#internalSubsetSAXFuncinternalSubsetSAXFunc 	internalSubset
    
libxml2-parser.html#isStandaloneSAXFuncisStandaloneSAXFunc 	isStandalone
    
libxml2-parser.html#hasInternalSubsetSAXFunchasInternalSubsetSAXFunc 	hasInternalSubset
    
libxml2-parser.html#hasExternalSubsetSAXFunchasExternalSubsetSAXFunc 	hasExternalSubset
    
libxml2-parser.html#resolveEntitySAXFuncresolveEntitySAXFunc 	resolveEntity
    
libxml2-parser.html#getEntitySAXFuncgetEntitySAXFunc 	getEntity
    
libxml2-parser.html#entityDeclSAXFuncentityDeclSAXFunc 	entityDecl
    
libxml2-parser.html#notationDeclSAXFuncnotationDeclSAXFunc 	notationDecl
    
libxml2-parser.html#attributeDeclSAXFuncattributeDeclSAXFunc 	attributeDecl
    
libxml2-parser.html#elementDeclSAXFuncelementDeclSAXFunc 	elementDecl
    
libxml2-parser.html#unparsedEntityDeclSAXFuncunparsedEntityDeclSAXFunc 	unparsedEntityDecl
    
libxml2-parser.html#setDocumentLocatorSAXFuncsetDocumentLocatorSAXFunc 	setDocumentLocator
    
libxml2-parser.html#startDocumentSAXFuncstartDocumentSAXFunc 	startDocument
    
libxml2-parser.html#endDocumentSAXFuncendDocumentSAXFunc 	endDocument
    
libxml2-parser.html#startElementSAXFuncstartElementSAXFunc 	startElement
    
libxml2-parser.html#endElementSAXFuncendElementSAXFunc 	endElement
    
libxml2-parser.html#referenceSAXFuncreferenceSAXFunc 	reference
    
libxml2-parser.html#charactersSAXFunccharactersSAXFunc 	characters
    
libxml2-parser.html#ignorableWhitespaceSAXFuncignorableWhitespaceSAXFunc 	ignorableWhitespace
    
libxml2-parser.html#processingInstructionSAXFuncprocessingInstructionSAXFunc 	processingInstruction
    
libxml2-parser.html#commentSAXFunccommentSAXFunc 	comment
    
libxml2-parser.html#warningSAXFuncwarningSAXFunc 	warning
    
libxml2-parser.html#errorSAXFuncerrorSAXFunc 	error
    
libxml2-parser.html#fatalErrorSAXFuncfatalErrorSAXFunc 	fatalError	: unused error() get all the errors
    
libxml2-parser.html#getParameterEntitySAXFuncgetParameterEntitySAXFunc 	getParameterEntity
    
libxml2-parser.html#cdataBlockSAXFunccdataBlockSAXFunc 	cdataBlock
    
libxml2-parser.html#externalSubsetSAXFuncexternalSubsetSAXFunc 	externalSubset
    unsigned int	initialized
} xmlSAXHandlerV1;
        
        
Typedef xmlSAXHandlerV1Ptr
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1  * xmlSAXHandlerV1Ptr;
        
        
Function type attributeDeclSAXFunc
void	attributeDeclSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * elem, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * fullname, 					 int type, 					 int def, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * defaultValue, 					 libxml2-tree.html#xmlEnumerationPtrxmlEnumerationPtr  tree)An libxml2-SAX.html#attributeattribute  definition has been parsed.
ctx: the user data (XML parser context) elem: the name of the element fullname: the libxml2-SAX.html#attributeattribute  name type: the libxml2-SAX.html#attributeattribute  type def: the type of default value defaultValue: the libxml2-SAX.html#attributeattribute  default value tree: the tree of enumerated value set         
        
Function type attributeSAXFunc
void	attributeSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value)Handle an libxml2-SAX.html#attributeattribute  that has been read by the parser. The default handling is to convert the libxml2-SAX.html#attributeattribute  into an DOM subtree and past it in a new libxml2-tree.html#xmlAttrxmlAttr  element added to the element.
ctx: the user data (XML parser context) name: The libxml2-SAX.html#attributeattribute  name, including namespace prefix value: The libxml2-SAX.html#attributeattribute  value         
        
Function type cdataBlockSAXFunc
void	cdataBlockSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value, 					 int len)Called when a pcdata block has been parsed.
ctx: the user data (XML parser context) value: The pcdata content len: the block length         
        
Function type charactersSAXFunc
void	charactersSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ch, 					 int len)Receiving some chars from the parser.
ctx: the user data (XML parser context) ch: a libxml2-xmlstring.html#xmlCharxmlChar  string len: the number of libxml2-xmlstring.html#xmlCharxmlChar         
        
Function type commentSAXFunc
void	commentSAXFunc			(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * value)A libxml2-SAX.html#commentcomment  has been parsed.
ctx: the user data (XML parser context) value: the libxml2-SAX.html#commentcomment  content         
        
Function type elementDeclSAXFunc
void	elementDeclSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 int type, 					 libxml2-tree.html#xmlElementContentPtrxmlElementContentPtr  content)An element definition has been parsed.
ctx: the user data (XML parser context) name: the element name type: the element type content: the element value tree         
        
Function type endDocumentSAXFunc
void	endDocumentSAXFunc		(void * ctx)Called when the document end has been detected.
ctx: the user data (XML parser context)         
        
Function type endElementNsSAX2Func
void	endElementNsSAX2Func		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * localname, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URI)SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element.
ctx: the user data (XML parser context) localname: the local name of the element prefix: the element namespace prefix if available URI: the element namespace name if available         
        
Function type endElementSAXFunc
void	endElementSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Called when the end of an element has been detected.
ctx: the user data (XML parser context) name: The element name         
        
Function type entityDeclSAXFunc
void	entityDeclSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 int type, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId, 					 libxml2-xmlstring.html#xmlCharxmlChar  * content)An entity definition has been parsed.
ctx: the user data (XML parser context) name: the entity name type: the entity type publicId: The public ID of the entity systemId: The system ID of the entity content: the entity value (without processing).         
        
Function type errorSAXFunc
void	errorSAXFunc			(void * ctx, 					 const char * msg, 					 ... ...)Display and format an error messages, callback.
ctx: an XML parser context msg: the message to display/transmit ...: extra parameters for the message display         
        
Function type externalSubsetSAXFunc
void	externalSubsetSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID)Callback on external subset declaration.
ctx: the user data (XML parser context) name: the root element name ExternalID: the external ID SystemID: the SYSTEM ID (e.g. filename or URL)         
        
Function type fatalErrorSAXFunc
void	fatalErrorSAXFunc		(void * ctx, 					 const char * msg, 					 ... ...)Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.
ctx: an XML parser context msg: the message to display/transmit ...: extra parameters for the message display         
        
Function type getEntitySAXFunc
libxml2-tree.html#xmlEntityPtrxmlEntityPtr 	getEntitySAXFunc	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Get an entity by name.
ctx: the user data (XML parser context) name: The entity name Returns: the libxml2-tree.html#xmlEntityPtrxmlEntityPtr  if found.         
        
Function type getParameterEntitySAXFunc
libxml2-tree.html#xmlEntityPtrxmlEntityPtr 	getParameterEntitySAXFunc	(void * ctx, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Get a parameter entity by name.
ctx: the user data (XML parser context) name: The entity name Returns: the libxml2-tree.html#xmlEntityPtrxmlEntityPtr  if found.         
        
Function type hasExternalSubsetSAXFunc
int	hasExternalSubsetSAXFunc	(void * ctx)Does this document has an external subset?
ctx: the user data (XML parser context) Returns: 1 if true         
        
Function type hasInternalSubsetSAXFunc
int	hasInternalSubsetSAXFunc	(void * ctx)Does this document has an internal subset.
ctx: the user data (XML parser context) Returns: 1 if true         
        
Function type ignorableWhitespaceSAXFunc
void	ignorableWhitespaceSAXFunc	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ch, 					 int len)Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.
ctx: the user data (XML parser context) ch: a libxml2-xmlstring.html#xmlCharxmlChar  string len: the number of libxml2-xmlstring.html#xmlCharxmlChar         
        
Function type internalSubsetSAXFunc
void	internalSubsetSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID)Callback on internal subset declaration.
ctx: the user data (XML parser context) name: the root element name ExternalID: the external ID SystemID: the SYSTEM ID (e.g. filename or URL)         
        
Function type isStandaloneSAXFunc
int	isStandaloneSAXFunc		(void * ctx)Is this document tagged standalone?
ctx: the user data (XML parser context) Returns: 1 if true         
        
Function type notationDeclSAXFunc
void	notationDeclSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId)What to do when a notation declaration has been parsed.
ctx: the user data (XML parser context) name: The name of the notation publicId: The public ID of the entity systemId: The system ID of the entity         
        
Function type processingInstructionSAXFunc
void	processingInstructionSAXFunc	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * target, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * data)A processing instruction has been parsed.
ctx: the user data (XML parser context) target: the target name data: the PI data's         
        
Function type referenceSAXFunc
void	referenceSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name)Called when an entity libxml2-SAX.html#referencereference  is detected.
ctx: the user data (XML parser context) name: The entity name         
        
Function type resolveEntitySAXFunc
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	resolveEntitySAXFunc	(void * ctx, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId)Callback: The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine
ctx: the user data (XML parser context) publicId: The public ID of the entity systemId: The system ID of the entity Returns: the libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  if inlined or NULL for DOM behaviour.         
        
Function type setDocumentLocatorSAXFunc
void	setDocumentLocatorSAXFunc	(void * ctx, 					 libxml2-tree.html#xmlSAXLocatorPtrxmlSAXLocatorPtr  loc)Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.
ctx: the user data (XML parser context) loc: A SAX Locator         
        
Function type startDocumentSAXFunc
void	startDocumentSAXFunc		(void * ctx)Called when the document start being processed.
ctx: the user data (XML parser context)         
        
Function type startElementNsSAX2Func
void	startElementNsSAX2Func		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * localname, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * prefix, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URI, 					 int nb_namespaces, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** namespaces, 					 int nb_attributes, 					 int nb_defaulted, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** attributes)SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element.
ctx: the user data (XML parser context) localname: the local name of the element prefix: the element namespace prefix if available URI: the element namespace name if available nb_namespaces: number of namespace definitions on that node namespaces: pointer to the array of prefix/URI pairs namespace definitions nb_attributes: the number of attributes on that node nb_defaulted: the number of defaulted attributes. The defaulted ones are at the end of the array attributes: pointer to the array of (localname/prefix/URI/value/end) libxml2-SAX.html#attributeattribute  values.         
        
Function type startElementSAXFunc
void	startElementSAXFunc		(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  ** atts)Called when an opening tag has been processed.
ctx: the user data (XML parser context) name: The element name, including namespace prefix atts: An array of name/value attributes pairs, NULL terminated         
        
Function type unparsedEntityDeclSAXFunc
void	unparsedEntityDeclSAXFunc	(void * ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * name, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * publicId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * systemId, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * notationName)What to do when an unparsed entity declaration is parsed.
ctx: the user data (XML parser context) name: The name of the entity publicId: The public ID of the entity systemId: The system ID of the entity notationName: the name of the notation         
        
Function type warningSAXFunc
void	warningSAXFunc			(void * ctx, 					 const char * msg, 					 ... ...)Display and format a warning messages, callback.
ctx: an XML parser context msg: the message to display/transmit ...: extra parameters for the message display         
        
Function type xmlExternalEntityLoader
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	xmlExternalEntityLoader	(const char * URL, 						 const char * ID, 						 libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  context)External entity loaders types.
URL: The System ID of the resource requested ID: The Public ID of the resource requested context: the XML parser context Returns: the entity input parser.         
        
Function type xmlParserInputDeallocate
void	xmlParserInputDeallocate	( libxml2-xmlstring.html#xmlCharxmlChar  * str)Callback for freeing some parser input allocations.
str: the string to deallocate         
        
xmlByteConsumed ()
long	xmlByteConsumed			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)This function provides the current index of the parser relative to the start of the current entity. This function is computed in bytes from the beginning starting at zero and finishing at the size in byte of the file if parsing a file. The function is of constant cost if the input is UTF-8 but can be costly if run on non-UTF-8 input.
ctxt: an XML parser context Returns: the index in bytes from the beginning of the entity or -1 in case the index could not be computed.         
        
xmlCleanupParser ()
void	xmlCleanupParser		(void)Cleanup function for the XML library. It tries to reclaim all parsing related global memory allocated for the library processing. It doesn't deallocate any document related memory. Calling this function should not prevent reusing the library but one should call xmlCleanupParser() only when the process has finished using the library or XML document built with it.
        
        
xmlClearNodeInfoSeq ()
void	xmlClearNodeInfoSeq		( libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq)-- Clear (release memory and reinitialize) node info sequence
seq: a node info sequence pointer         
        
xmlClearParserCtxt ()
void	xmlClearParserCtxt		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Clear (release owned resources) and reinitialize a parser context
ctxt: an XML parser context         
        
xmlCreateDocParserCtxt ()
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	xmlCreateDocParserCtxt	(const libxml2-xmlstring.html#xmlCharxmlChar  * cur)Creates a parser context for an XML in-memory document.
cur: a pointer to an array of libxml2-xmlstring.html#xmlCharxmlChar Returns: the new parser context or NULL         
        
xmlCreateIOParserCtxt ()
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	xmlCreateIOParserCtxt	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 						 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 						 void * ioctx, 						 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc)Create a parser context for using the XML parser with an existing I/O stream
sax: a SAX handler user_data: The user data returned on SAX callbacks ioread: an I/O read function ioclose: an I/O close function ioctx: an I/O handler enc: the charset encoding if known Returns: the new parser context or NULL         
        
xmlCreatePushParserCtxt ()
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	xmlCreatePushParserCtxt	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 const char * chunk, 						 int size, 						 const char * filename)Create a parser context for using the XML parser in push mode. If @buffer and @size are non-NULL, the data is used to detect the encoding. The remaining libxml2-SAX.html#characterscharacters  will be parsed so they don't need to be fed in again through xmlParseChunk. To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports.
sax: a SAX handler user_data: The user data returned on SAX callbacks chunk: a pointer to an array of chars size: number of chars in the array filename: an optional file name or URI Returns: the new parser context or NULL         
        
xmlCtxtReadDoc ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlCtxtReadDoc		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context
ctxt: an XML parser context cur: a pointer to a zero terminated string URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlCtxtReadFd ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlCtxtReadFd		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 int fd, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context NOTE that the file descriptor will not be closed when the reader is closed or reset.
ctxt: an XML parser context fd: an open file descriptor URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlCtxtReadFile ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlCtxtReadFile		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * filename, 					 const char * encoding, 					 int options)parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context
ctxt: an XML parser context filename: a file or URL encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlCtxtReadIO ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlCtxtReadIO		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context
ctxt: an XML parser context ioread: an I/O read function ioclose: an I/O close function ioctx: an I/O handler URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlCtxtReadMemory ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlCtxtReadMemory	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context
ctxt: an XML parser context buffer: a pointer to a char array size: the size of the array URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlCtxtReset ()
void	xmlCtxtReset			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Reset a parser context
ctxt: an XML parser context         
        
xmlCtxtResetPush ()
int	xmlCtxtResetPush		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * chunk, 					 int size, 					 const char * filename, 					 const char * encoding)Reset a push parser context
ctxt: an XML parser context chunk: a pointer to an array of chars size: number of chars in the array filename: an optional file name or URI encoding: the document encoding, or NULL Returns: 0 in case of success and 1 in case of error         
        
xmlCtxtUseOptions ()
int	xmlCtxtUseOptions		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 int options)Applies the options to the parser context
ctxt: an XML parser context options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success, the set of unknown or unimplemented options in case of error.         
        
xmlFreeParserCtxt ()
void	xmlFreeParserCtxt		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.
ctxt: an XML parser context         
        
xmlGetExternalEntityLoader ()
libxml2-parser.html#xmlExternalEntityLoaderxmlExternalEntityLoader 	xmlGetExternalEntityLoader	(void)Get the default external entity resolver function for the application
Returns: the libxml2-parser.html#xmlExternalEntityLoaderxmlExternalEntityLoader  function pointer         
        
xmlGetFeature ()
int	xmlGetFeature			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * name, 					 void * result)Read the current value of one feature of this parser instance
ctxt: an XML/HTML parser context name: the feature name result: location to store the result Returns: -1 in case or error, 0 otherwise         
        
xmlGetFeaturesList ()
int	xmlGetFeaturesList		(int * len, 					 const char ** result)Copy at most *@len feature names into the @result array
len: the length of the features name array (input/output) result: an array of string to be filled with the features name. Returns: -1 in case or error, or the total number of features, len is updated with the number of strings copied, strings must not be deallocated         
        
xmlHasFeature ()
int	xmlHasFeature			( libxml2-parser.html#xmlFeaturexmlFeature  feature)Examines if the library has been compiled with a given feature.
feature: the feature to be examined Returns: a non-zero value if the feature exist, otherwise zero. Returns zero (0) if the feature does not exist or an unknown unknown feature is requested, non-zero otherwise.         
        
xmlIOParseDTD ()
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	xmlIOParseDTD		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 					 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc)Load and parse a DTD
sax: the SAX handler block or NULL input: an Input Buffer enc: the charset encoding if known Returns: the resulting libxml2-tree.html#xmlDtdPtrxmlDtdPtr  or NULL in case of error. @input will be freed at parsing end.         
        
xmlInitNodeInfoSeq ()
void	xmlInitNodeInfoSeq		( libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq)-- Initialize (set to initial state) node info sequence
seq: a node info sequence pointer         
        
xmlInitParser ()
void	xmlInitParser			(void)Initialization function for the XML parser. This is not reentrant. Call once before processing in case of use in multithreaded programs.
        
        
xmlInitParserCtxt ()
int	xmlInitParserCtxt		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Initialize a parser context
ctxt: an XML parser context Returns: 0 in case of success and -1 in case of error         
        
xmlKeepBlanksDefault ()
int	xmlKeepBlanksDefault		(int val)Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.
val: int 0 or 1 Returns: the last value for 0 for no substitution, 1 for substitution.         
        
xmlLineNumbersDefault ()
int	xmlLineNumbersDefault		(int val)Set and return the previous value for enabling line numbers in elements contents. This may break on old application and is turned off by default.
val: int 0 or 1 Returns: the last value for 0 for no substitution, 1 for substitution.         
        
xmlLoadExternalEntity ()
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	xmlLoadExternalEntity	(const char * URL, 						 const char * ID, 						 libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Load an external entity, note that the use of this function for unparsed entities may generate problems
URL: the URL for the entity to load ID: the Public ID for the entity to load ctxt: the context in which the entity is called or NULL Returns: the libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  or NULL         
        
xmlNewIOInputStream ()
libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr 	xmlNewIOInputStream	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 						 libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 						 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc)Create a new input stream structure encapsulating the @input into a stream suitable for the parser.
ctxt: an XML parser context input: an I/O Input enc: the charset encoding if known Returns: the new input stream or NULL         
        
xmlNewParserCtxt ()
libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr 	xmlNewParserCtxt	(void)Allocate and initialize a new parser context.
Returns: the libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  or NULL         
        
xmlParseBalancedChunkMemory ()
int	xmlParseBalancedChunkMemory	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 int depth, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * string, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst)Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*
doc: the document the chunk pertains to sax: the SAX handler bloc (possibly NULL) user_data: The user data returned on SAX callbacks (possibly NULL) depth: Used for loop detection, use 0 string: the input string in UTF8 or ISO-Latin (zero terminated) lst: the return value for the set of parsed nodes Returns: 0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise         
        
xmlParseBalancedChunkMemoryRecover ()
int	xmlParseBalancedChunkMemoryRecover	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 						 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 void * user_data, 						 int depth, 						 const libxml2-xmlstring.html#xmlCharxmlChar  * string, 						 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst, 						 int recover)Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*
doc: the document the chunk pertains to sax: the SAX handler bloc (possibly NULL) user_data: The user data returned on SAX callbacks (possibly NULL) depth: Used for loop detection, use 0 string: the input string in UTF8 or ISO-Latin (zero terminated) lst: the return value for the set of parsed nodes recover: return nodes even if the data is broken (use 0) Returns: 0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise In case recover is set to 1, the nodelist will not be empty even if the parsed chunk is not well balanced.         
        
xmlParseChunk ()
int	xmlParseChunk			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * chunk, 					 int size, 					 int terminate)Parse a Chunk of memory
ctxt: an XML parser context chunk: an char array size: the size in byte of the chunk terminate: last chunk indicator Returns: zero if no error, the libxml2-xmlerror.html#xmlParserErrorsxmlParserErrors  otherwise.         
        
xmlParseCtxtExternalEntity ()
int	xmlParseCtxtExternalEntity	( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctx, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URL, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ID, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst)Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content
ctx: the existing parsing context URL: the URL for the entity to load ID: the System ID for the entity to load lst: the return value for the set of parsed nodes Returns: 0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise         
        
xmlParseDTD ()
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	xmlParseDTD		(const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID)Load and parse an external subset.
ExternalID: a NAME* containing the External ID of the DTD SystemID: a NAME* containing the URL to the DTD Returns: the resulting libxml2-tree.html#xmlDtdPtrxmlDtdPtr  or NULL in case of error.         
        
xmlParseDoc ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlParseDoc		(const libxml2-xmlstring.html#xmlCharxmlChar  * cur)parse an XML in-memory document and build a tree.
cur: a pointer to an array of libxml2-xmlstring.html#xmlCharxmlChar Returns: the resulting document tree         
        
xmlParseDocument ()
int	xmlParseDocument		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)parse an XML document (and build a tree if using the standard SAX interface). [1] document ::= prolog element Misc* [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?
ctxt: an XML parser context Returns: 0, -1 in case of error. the parser context is augmented as a result of the parsing.         
        
xmlParseEntity ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlParseEntity		(const char * filename)parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk
filename: the filename Returns: the resulting document tree         
        
xmlParseExtParsedEnt ()
int	xmlParseExtParsedEnt		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content
ctxt: an XML parser context Returns: 0, -1 in case of error. the parser context is augmented as a result of the parsing.         
        
xmlParseExternalEntity ()
int	xmlParseExternalEntity		( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 int depth, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * URL, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ID, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst)Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content
doc: the document the chunk pertains to sax: the SAX handler bloc (possibly NULL) user_data: The user data returned on SAX callbacks (possibly NULL) depth: Used for loop detection, use 0 URL: the URL for the entity to load ID: the System ID for the entity to load lst: the return value for the set of parsed nodes Returns: 0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise         
        
xmlParseFile ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlParseFile		(const char * filename)parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.
filename: the filename Returns: the resulting document tree if the file was wellformed, NULL otherwise.         
        
xmlParseInNodeContext ()
libxml2-xmlerror.html#xmlParserErrorsxmlParserErrors 	xmlParseInNodeContext	( libxml2-tree.html#xmlNodePtrxmlNodePtr  node, 					 const char * data, 					 int datalen, 					 int options, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  * lst)Parse a well-balanced chunk of an XML document within the context (DTD, namespaces, etc ...) of the given node. The allowed sequence for the data is a Well Balanced Chunk defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*
node: the context node data: the input string datalen: the input string length in bytes options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption lst: the return value for the set of parsed nodes Returns: libxml2-xmlerror.html#XML_ERR_OKXML_ERR_OK  if the chunk is well balanced, and the parser error code otherwise         
        
xmlParseMemory ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlParseMemory		(const char * buffer, 					 int size)parse an XML in-memory block and build a tree.
buffer: an pointer to a char array size: the size of the array Returns: the resulting document tree         
        
xmlParserAddNodeInfo ()
void	xmlParserAddNodeInfo		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-parser.html#xmlParserNodeInfoPtrxmlParserNodeInfoPtr  info)Insert node info record into the sorted sequence
ctxt: an XML parser context info: a node info sequence pointer         
        
xmlParserFindNodeInfo ()
const libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  *	xmlParserFindNodeInfo	(const libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctx, 							 const libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Find the parser node info struct for a given node
ctx: an XML parser context node: an XML node within the tree Returns: an libxml2-parser.html#xmlParserNodeInfoxmlParserNodeInfo  block pointer or NULL         
        
xmlParserFindNodeInfoIndex ()
unsigned long	xmlParserFindNodeInfoIndex	(const libxml2-parser.html#xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeqPtr  seq, 						 const libxml2-tree.html#xmlNodePtrxmlNodePtr  node) libxml2-parser.html#xmlParserFindNodeInfoIndexxmlParserFindNodeInfoIndex  : Find the index that the info record for the given node is or should be at in a sorted sequence
seq: a node info sequence pointer node: an XML node pointer Returns: a long indicating the position of the record         
        
xmlParserInputGrow ()
int	xmlParserInputGrow		( libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  in, 					 int len)This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data
in: an XML parser input len: an indicative size for the lookahead Returns: the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity         
        
xmlParserInputRead ()
int	xmlParserInputRead		( libxml2-tree.html#xmlParserInputPtrxmlParserInputPtr  in, 					 int len)This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data
in: an XML parser input len: an indicative size for the lookahead Returns: the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity         
        
xmlPedanticParserDefault ()
int	xmlPedanticParserDefault	(int val)Set and return the previous value for enabling pedantic warnings.
val: int 0 or 1 Returns: the last value for 0 for no substitution, 1 for substitution.         
        
xmlReadDoc ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlReadDoc		(const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML in-memory document and build a tree.
cur: a pointer to a zero terminated string URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlReadFd ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlReadFd		(int fd, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the reader is closed or reset.
fd: an open file descriptor URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlReadFile ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlReadFile		(const char * filename, 					 const char * encoding, 					 int options)parse an XML file from the filesystem or the network.
filename: a file or URL encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlReadIO ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlReadIO		( libxml2-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml2-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML document from I/O functions and source and build a tree.
ioread: an I/O read function ioclose: an I/O close function ioctx: an I/O handler URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlReadMemory ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlReadMemory		(const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options)parse an XML in-memory document and build a tree.
buffer: a pointer to a char array size: the size of the array URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml2-parser.html#xmlParserOptionxmlParserOption Returns: the resulting document tree         
        
xmlRecoverDoc ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlRecoverDoc		( libxml2-xmlstring.html#xmlCharxmlChar  * cur)parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a tree is built anyway
cur: a pointer to an array of libxml2-xmlstring.html#xmlCharxmlChar Returns: the resulting document tree         
        
xmlRecoverFile ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlRecoverFile		(const char * filename)parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, a tree is built anyway
filename: the filename Returns: the resulting document tree         
        
xmlRecoverMemory ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlRecoverMemory	(const char * buffer, 					 int size)parse an XML in-memory block and build a tree. In the case the document is not Well Formed, a tree is built anyway
buffer: an pointer to a char array size: the size of the array Returns: the resulting document tree         
        
xmlSAXParseDTD ()
libxml2-tree.html#xmlDtdPtrxmlDtdPtr 	xmlSAXParseDTD		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * ExternalID, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * SystemID)Load and parse an external subset.
sax: the SAX handler block ExternalID: a NAME* containing the External ID of the DTD SystemID: a NAME* containing the URL to the DTD Returns: the resulting libxml2-tree.html#xmlDtdPtrxmlDtdPtr  or NULL in case of error.         
        
xmlSAXParseDoc ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseDoc		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * cur, 					 int recovery)parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.
sax: the SAX handler block cur: a pointer to an array of libxml2-xmlstring.html#xmlCharxmlChar recovery: work in recovery mode, i.e. tries to read no Well Formed documents Returns: the resulting document tree         
        
xmlSAXParseEntity ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseEntity	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename)parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk
sax: the SAX handler block filename: the filename Returns: the resulting document tree         
        
xmlSAXParseFile ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseFile		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename, 					 int recovery)parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.
sax: the SAX handler block filename: the filename recovery: work in recovery mode, i.e. tries to read no Well Formed documents Returns: the resulting document tree         
        
xmlSAXParseFileWithData ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseFileWithData	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * filename, 					 int recovery, 					 void * data)parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml
sax: the SAX handler block filename: the filename recovery: work in recovery mode, i.e. tries to read no Well Formed documents data: the userdata Returns: the resulting document tree         
        
xmlSAXParseMemory ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseMemory	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 const char * buffer, 					 int size, 					 int recovery)parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.
sax: the SAX handler block buffer: an pointer to a char array size: the size of the array recovery: work in recovery mode, i.e. tries to read not Well Formed documents Returns: the resulting document tree         
        
xmlSAXParseMemoryWithData ()
libxml2-tree.html#xmlDocPtrxmlDocPtr 	xmlSAXParseMemoryWithData	( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 						 const char * buffer, 						 int size, 						 int recovery, 						 void * data)parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml
sax: the SAX handler block buffer: an pointer to a char array size: the size of the array recovery: work in recovery mode, i.e. tries to read no Well Formed documents data: the userdata Returns: the resulting document tree         
        
xmlSAXUserParseFile ()
int	xmlSAXUserParseFile		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 const char * filename)parse an XML file and call the given SAX handler routines. Automatic support for ZLIB/Compress compressed document is provided
sax: a SAX handler user_data: The user data returned on SAX callbacks filename: a file name Returns: 0 in case of success or a error number otherwise         
        
xmlSAXUserParseMemory ()
int	xmlSAXUserParseMemory		( libxml2-tree.html#xmlSAXHandlerPtrxmlSAXHandlerPtr  sax, 					 void * user_data, 					 const char * buffer, 					 int size)A better SAX parsing routine. parse an XML in-memory buffer and call the given SAX handler routines.
sax: a SAX handler user_data: The user data returned on SAX callbacks buffer: an in-memory XML document input size: the length of the XML document in bytes Returns: 0 in case of success or a error number otherwise         
        
xmlSetExternalEntityLoader ()
void	xmlSetExternalEntityLoader	( libxml2-parser.html#xmlExternalEntityLoaderxmlExternalEntityLoader  f)Changes the defaultexternal entity resolver function for the application
f: the new entity resolver function         
        
xmlSetFeature ()
int	xmlSetFeature			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const char * name, 					 void * value)Change the current value of one feature of this parser instance
ctxt: an XML/HTML parser context name: the feature name value: pointer to the location of the new value Returns: -1 in case or error, 0 otherwise         
        
xmlSetupParserForBuffer ()
void	xmlSetupParserForBuffer		( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt, 					 const libxml2-xmlstring.html#xmlCharxmlChar  * buffer, 					 const char * filename)Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. The buffer parameter must not be NULL, but the filename parameter can be
ctxt: an XML parser context buffer: a libxml2-xmlstring.html#xmlCharxmlChar  * buffer filename: a file name         
        
xmlStopParser ()
void	xmlStopParser			( libxml2-tree.html#xmlParserCtxtPtrxmlParserCtxtPtr  ctxt)Blocks further parser processing
ctxt: an XML parser context         
        
xmlSubstituteEntitiesDefault ()
int	xmlSubstituteEntitiesDefault	(int val)Set and return the previous value for default entity support. Initially the parser always keep entity references instead of substituting entity values in the output. This function has to be used to change the default parser behavior SAX::substituteEntities() has to be used for changing that on a file by file basis.
val: int 0 or 1 Returns: the last value for 0 for no substitution, 1 for substitution.         
      
    
  
