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 xmlreader 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-xmlmodule.htmlPrev libxml-xmlmodule.htmlxmlmodule index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlThe XML C parser and toolkit of Gnome libxml-xmlregexp.htmlxmlregexp libxml-xmlregexp.htmlNext API of the XML streaming API based on C# interfaces. 
Table of Contents
Enum #xmlParserPropertiesxmlParserProperties Enum #xmlParserSeveritiesxmlParserSeverities Enum #xmlReaderTypesxmlReaderTypes Structure #xmlTextReaderxmlTextReader struct _xmlTextReader
The content of this structure is not made public by the API.
Typedef void * xmlTextReaderLocatorPtr Enum #xmlTextReaderModexmlTextReaderMode Typedef libxml-xmlreader.html#xmlTextReaderxmlTextReader  * xmlTextReaderPtr void	#xmlFreeTextReaderxmlFreeTextReader 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlNewTextReaderxmlNewTextReader 	( libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 						 const char * URI) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlNewTextReaderFilenamexmlNewTextReaderFilename 	(const char * URI) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderForDocxmlReaderForDoc 	(const libxml-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderForFdxmlReaderForFd 	(int fd, 					 const char * URL, 					 const char * encoding, 					 int options) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderForFilexmlReaderForFile 	(const char * filename, 						 const char * encoding, 						 int options) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderForIOxmlReaderForIO 	( libxml-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderForMemoryxmlReaderForMemory 	(const char * buffer, 						 int size, 						 const char * URL, 						 const char * encoding, 						 int options)int	#xmlReaderNewDocxmlReaderNewDoc 			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options)int	#xmlReaderNewFdxmlReaderNewFd 			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int fd, 					 const char * URL, 					 const char * encoding, 					 int options)int	#xmlReaderNewFilexmlReaderNewFile 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * filename, 					 const char * encoding, 					 int options)int	#xmlReaderNewIOxmlReaderNewIO 			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options)int	#xmlReaderNewMemoryxmlReaderNewMemory 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options)int	#xmlReaderNewWalkerxmlReaderNewWalker 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc) libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	#xmlReaderWalkerxmlReaderWalker 	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)int	#xmlTextReaderAttributeCountxmlTextReaderAttributeCount 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderBaseUrixmlTextReaderBaseUri 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)long	#xmlTextReaderByteConsumedxmlTextReaderByteConsumed 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderClosexmlTextReaderClose 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstBaseUrixmlTextReaderConstBaseUri 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstEncodingxmlTextReaderConstEncoding 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstLocalNamexmlTextReaderConstLocalName 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstNamexmlTextReaderConstName 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstNamespaceUrixmlTextReaderConstNamespaceUri 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstPrefixxmlTextReaderConstPrefix 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstStringxmlTextReaderConstString 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * str)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstValuexmlTextReaderConstValue 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstXmlLangxmlTextReaderConstXmlLang 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)const libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderConstXmlVersionxmlTextReaderConstXmlVersion 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-tree.html#xmlDocPtrxmlDocPtr 	#xmlTextReaderCurrentDocxmlTextReaderCurrentDoc 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlTextReaderCurrentNodexmlTextReaderCurrentNode 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderDepthxmlTextReaderDepth 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Function type: #xmlTextReaderErrorFuncxmlTextReaderErrorFunc void	
#xmlTextReaderErrorFuncxmlTextReaderErrorFunc 		(void * arg, 					 const char * msg, 					 libxml-xmlreader.html#xmlParserSeveritiesxmlParserSeverities  severity, 					 libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator)
libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlTextReaderExpandxmlTextReaderExpand 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderGetAttributexmlTextReaderGetAttribute 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * name) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderGetAttributeNoxmlTextReaderGetAttributeNo 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 int no) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderGetAttributeNsxmlTextReaderGetAttributeNs 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * localName, 						 const libxml-xmlstring.html#xmlCharxmlChar  * namespaceURI)void	#xmlTextReaderGetErrorHandlerxmlTextReaderGetErrorHandler 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlreader.html#xmlTextReaderErrorFuncxmlTextReaderErrorFunc  * f, 					 void ** arg)int	#xmlTextReaderGetParserColumnNumberxmlTextReaderGetParserColumnNumber 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderGetParserLineNumberxmlTextReaderGetParserLineNumber 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderGetParserPropxmlTextReaderGetParserProp 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int prop) libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr 	#xmlTextReaderGetRemainderxmlTextReaderGetRemainder 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderHasAttributesxmlTextReaderHasAttributes 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderHasValuexmlTextReaderHasValue 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderIsDefaultxmlTextReaderIsDefault 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderIsEmptyElementxmlTextReaderIsEmptyElement 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderIsNamespaceDeclxmlTextReaderIsNamespaceDecl 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderIsValidxmlTextReaderIsValid 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderLocalNamexmlTextReaderLocalName 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderLocatorBaseURIxmlTextReaderLocatorBaseURI 	( libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator)int	#xmlTextReaderLocatorLineNumberxmlTextReaderLocatorLineNumber 	( libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderLookupNamespacexmlTextReaderLookupNamespace 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * prefix)int	#xmlTextReaderMoveToAttributexmlTextReaderMoveToAttribute 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)int	#xmlTextReaderMoveToAttributeNoxmlTextReaderMoveToAttributeNo 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int no)int	#xmlTextReaderMoveToAttributeNsxmlTextReaderMoveToAttributeNs 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * localName, 					 const libxml-xmlstring.html#xmlCharxmlChar  * namespaceURI)int	#xmlTextReaderMoveToElementxmlTextReaderMoveToElement 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderMoveToFirstAttributexmlTextReaderMoveToFirstAttribute 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderMoveToNextAttributexmlTextReaderMoveToNextAttribute 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderNamexmlTextReaderName 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderNamespaceUrixmlTextReaderNamespaceUri 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderNextxmlTextReaderNext 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderNextSiblingxmlTextReaderNextSibling 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderNodeTypexmlTextReaderNodeType 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderNormalizationxmlTextReaderNormalization 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderPrefixxmlTextReaderPrefix 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-tree.html#xmlNodePtrxmlNodePtr 	#xmlTextReaderPreservexmlTextReaderPreserve 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderPreservePatternxmlTextReaderPreservePattern 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * pattern, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** namespaces)int	#xmlTextReaderQuoteCharxmlTextReaderQuoteChar 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderReadxmlTextReaderRead 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderReadAttributeValuexmlTextReaderReadAttributeValue 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderReadInnerXmlxmlTextReaderReadInnerXml 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderReadOuterXmlxmlTextReaderReadOuterXml 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderReadStatexmlTextReaderReadState 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderReadStringxmlTextReaderReadString 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)int	#xmlTextReaderRelaxNGSetSchemaxmlTextReaderRelaxNGSetSchema 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-relaxng.html#xmlRelaxNGPtrxmlRelaxNGPtr  schema)int	#xmlTextReaderRelaxNGValidatexmlTextReaderRelaxNGValidate 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * rng)int	#xmlTextReaderSchemaValidatexmlTextReaderSchemaValidate 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * xsd)int	#xmlTextReaderSchemaValidateCtxtxmlTextReaderSchemaValidateCtxt 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlschemas.html#xmlSchemaValidCtxtPtrxmlSchemaValidCtxtPtr  ctxt, 					 int options)void	#xmlTextReaderSetErrorHandlerxmlTextReaderSetErrorHandler 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlreader.html#xmlTextReaderErrorFuncxmlTextReaderErrorFunc  f, 					 void * arg)int	#xmlTextReaderSetParserPropxmlTextReaderSetParserProp 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int prop, 					 int value)int	#xmlTextReaderSetSchemaxmlTextReaderSetSchema 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlschemas.html#xmlSchemaPtrxmlSchemaPtr  schema)void	#xmlTextReaderSetStructuredErrorHandlerxmlTextReaderSetStructuredErrorHandler 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 libxml-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc  f, 						 void * arg)int	#xmlTextReaderStandalonexmlTextReaderStandalone 		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderValuexmlTextReaderValue 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader) libxml-xmlstring.html#xmlCharxmlChar  *	#xmlTextReaderXmlLangxmlTextReaderXmlLang 	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Description
Enum xmlParserProperties 
Enum xmlParserProperties {
    
XML_PARSER_LOADDTD  = 1
    
XML_PARSER_DEFAULTATTRS  = 2
    
XML_PARSER_VALIDATE  = 3
    
XML_PARSER_SUBST_ENTITIES  = 4
}
Enum xmlParserSeverities 
Enum xmlParserSeverities {
    
XML_PARSER_SEVERITY_VALIDITY_WARNING  = 1
    
XML_PARSER_SEVERITY_VALIDITY_ERROR  = 2
    
XML_PARSER_SEVERITY_WARNING  = 3
    
XML_PARSER_SEVERITY_ERROR  = 4
}
Enum xmlReaderTypes 
Enum xmlReaderTypes {
    
XML_READER_TYPE_NONE  = 0
    
XML_READER_TYPE_ELEMENT  = 1
    
XML_READER_TYPE_ATTRIBUTE  = 2
    
XML_READER_TYPE_TEXT  = 3
    
XML_READER_TYPE_CDATA  = 4
    
XML_READER_TYPE_ENTITY_REFERENCE  = 5
    
XML_READER_TYPE_ENTITY  = 6
    
XML_READER_TYPE_PROCESSING_INSTRUCTION  = 7
    
XML_READER_TYPE_COMMENT  = 8
    
XML_READER_TYPE_DOCUMENT  = 9
    
XML_READER_TYPE_DOCUMENT_TYPE  = 10
    
XML_READER_TYPE_DOCUMENT_FRAGMENT  = 11
    
XML_READER_TYPE_NOTATION  = 12
    
XML_READER_TYPE_WHITESPACE  = 13
    
XML_READER_TYPE_SIGNIFICANT_WHITESPACE  = 14
    
XML_READER_TYPE_END_ELEMENT  = 15
    
XML_READER_TYPE_END_ENTITY  = 16
    
XML_READER_TYPE_XML_DECLARATION  = 17
}
Structure xmlTextReader 
Structure xmlTextReaderstruct _xmlTextReader {
The content of this structure is not made public by the API.
}
Enum xmlTextReaderMode 
Enum xmlTextReaderMode {
    
XML_TEXTREADER_MODE_INITIAL  = 0
    
XML_TEXTREADER_MODE_INTERACTIVE  = 1
    
XML_TEXTREADER_MODE_ERROR  = 2
    
XML_TEXTREADER_MODE_EOF  = 3
    
XML_TEXTREADER_MODE_CLOSED  = 4
    
XML_TEXTREADER_MODE_READING  = 5
}
      Pointer to an xmlReader context.
    
Function: xmlFreeTextReader
void	xmlFreeTextReader		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Deallocate all the resources associated to the reader
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr Function: xmlNewTextReader
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlNewTextReader	( libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  input, 						 const char * URI)Create an libxml-xmlreader.html#xmlTextReaderxmlTextReader  structure fed with @input
input: the libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  used to read data URI: the URI information for the source if available Returns: the new libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  or NULL in case of error Function: xmlNewTextReaderFilename
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlNewTextReaderFilename	(const char * URI)Create an libxml-xmlreader.html#xmlTextReaderxmlTextReader  structure fed with the resource at @URI
URI: the URI of the resource to process Returns: the new libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  or NULL in case of error Function: xmlReaderForDoc
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderForDoc	(const libxml-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options)Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.
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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: the new reader or NULL in case of error. Function: xmlReaderForFd
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderForFd	(int fd, 					 const char * URL, 					 const char * encoding, 					 int options)Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption. 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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: the new reader or NULL in case of error. Function: xmlReaderForFile
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderForFile	(const char * filename, 						 const char * encoding, 						 int options)parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption.
filename: a file or URL encoding: the document encoding, or NULL options: a combination of libxml-parser.html#xmlParserOptionxmlParserOption Returns: the new reader or NULL in case of error. Function: xmlReaderForIO
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderForIO	( libxml-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options)Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption.
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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: the new reader or NULL in case of error. Function: xmlReaderForMemory
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderForMemory	(const char * buffer, 						 int size, 						 const char * URL, 						 const char * encoding, 						 int options)Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.
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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: the new reader or NULL in case of error. Function: xmlReaderNewDoc
int	xmlReaderNewDoc			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * cur, 					 const char * URL, 					 const char * encoding, 					 int options)Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
reader: an XML reader 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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success and -1 in case of error Function: xmlReaderNewFd
int	xmlReaderNewFd			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int fd, 					 const char * URL, 					 const char * encoding, 					 int options)Setup an xmltextReader to parse an XML from a file descriptor. NOTE that the file descriptor will not be closed when the reader is closed or reset. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
reader: an XML reader fd: an open file descriptor URL: the base URL to use for the document encoding: the document encoding, or NULL options: a combination of libxml-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success and -1 in case of error Function: xmlReaderNewFile
int	xmlReaderNewFile		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * filename, 					 const char * encoding, 					 int options)parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
reader: an XML reader filename: a file or URL encoding: the document encoding, or NULL options: a combination of libxml-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success and -1 in case of error Function: xmlReaderNewIO
int	xmlReaderNewIO			( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlIO.html#xmlInputReadCallbackxmlInputReadCallback  ioread, 					 libxml-xmlIO.html#xmlInputCloseCallbackxmlInputCloseCallback  ioclose, 					 void * ioctx, 					 const char * URL, 					 const char * encoding, 					 int options)Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
reader: an XML reader 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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success and -1 in case of error Function: xmlReaderNewMemory
int	xmlReaderNewMemory		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * buffer, 					 int size, 					 const char * URL, 					 const char * encoding, 					 int options)Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.
reader: an XML reader 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 libxml-parser.html#xmlParserOptionxmlParserOption Returns: 0 in case of success and -1 in case of error Function: xmlReaderNewWalker
int	xmlReaderNewWalker		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-tree.html#xmlDocPtrxmlDocPtr  doc)Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader.
reader: an XML reader doc: a preparsed document Returns: 0 in case of success and -1 in case of error Function: xmlReaderWalker
libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr 	xmlReaderWalker	( libxml-tree.html#xmlDocPtrxmlDocPtr  doc)Create an xmltextReader for a preparsed document.
doc: a preparsed document Returns: the new reader or NULL in case of error. Function: xmlTextReaderAttributeCount
int	xmlTextReaderAttributeCount	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Provides the number of attributes of the current node
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 0 i no attributes, -1 in case of error or the libxml-SAX.html#attributeattribute  count Function: xmlTextReaderBaseUri
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderBaseUri	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The base URI of the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the base URI or NULL if not available Function: xmlTextReaderByteConsumed
long	xmlTextReaderByteConsumed	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)This function provides the current index of the parser used by the reader, relative to the start of the current entity. This function actually just wraps a call to xmlBytesConsumed() for the parser context associated with the reader. See xmlBytesConsumed() for more information.
reader: an XML reader Returns: the index in bytes from the beginning of the entity or -1 in case the index could not be computed. Function: xmlTextReaderClose
int	xmlTextReaderClose		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)This method releases any resources allocated by the current instance changes the state to Closed and close any underlying input.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 0 or -1 in case of error Function: xmlTextReaderConstBaseUri
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstBaseUri	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The base URI of the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the base URI or NULL if not available, the string will be deallocated with the reader Function: xmlTextReaderConstEncoding
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstEncoding	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Determine the encoding of the document being read.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a string containing the encoding of the document or NULL in case of error. The string is deallocated with the reader. Function: xmlTextReaderConstLocalName
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstLocalName	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The local name of the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the local name or NULL if not available, the string will be deallocated with the reader. Function: xmlTextReaderConstName
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstName	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The qualified name of the node, equal to Prefix :LocalName.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the local name or NULL if not available, the string is deallocated with the reader. Function: xmlTextReaderConstNamespaceUri
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstNamespaceUri	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The URI defining the namespace associated with the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the namespace URI or NULL if not available, the string will be deallocated with the reader Function: xmlTextReaderConstPrefix
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstPrefix	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)A shorthand libxml-SAX.html#referencereference  to the namespace associated with the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the prefix or NULL if not available, the string is deallocated with the reader. Function: xmlTextReaderConstString
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstString	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * str)Get an interned string from the reader, allows for example to speedup string name comparisons
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used str: the string to intern. Returns: an interned copy of the string or NULL in case of error. The string will be deallocated with the reader. Function: xmlTextReaderConstValue
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstValue	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Provides the text value of the node if present
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the string or NULL if not available. The result will be deallocated on the next Read() operation. Function: xmlTextReaderConstXmlLang
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstXmlLang	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The xml:lang scope within which the node resides.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the xml:lang value or NULL if none exists. Function: xmlTextReaderConstXmlVersion
const libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderConstXmlVersion	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Determine the XML version of the document being read.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a string containing the XML version of the document or NULL in case of error. The string is deallocated with the reader. Function: xmlTextReaderCurrentDoc
libxml-tree.html#xmlDocPtrxmlDocPtr 	xmlTextReaderCurrentDoc	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Hacking interface allowing to get the libxml-tree.html#xmlDocPtrxmlDocPtr  correponding to the current document being accessed by the xmlTextReader. NOTE: as a result of this call, the reader will not destroy the associated XML document and calling xmlFreeDoc() on the result is needed once the reader parsing has finished.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the libxml-tree.html#xmlDocPtrxmlDocPtr  or NULL in case of error. Function: xmlTextReaderCurrentNode
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlTextReaderCurrentNode	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Hacking interface allowing to get the libxml-tree.html#xmlNodePtrxmlNodePtr  correponding to the current node being accessed by the xmlTextReader. This is dangerous because the underlying node may be destroyed on the next Reads.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the libxml-tree.html#xmlNodePtrxmlNodePtr  or NULL in case of error. Function: xmlTextReaderDepth
int	xmlTextReaderDepth		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The depth of the node in the tree.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the depth or -1 in case of error Function type: xmlTextReaderErrorFunc
Function type: xmlTextReaderErrorFunc
void	xmlTextReaderErrorFunc		(void * arg, 
					 const char * msg, 					 libxml-xmlreader.html#xmlParserSeveritiesxmlParserSeverities  severity, 					 libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator)
arg: msg: severity: locator: Function: xmlTextReaderExpand
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlTextReaderExpand	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error. Function: xmlTextReaderGetAttribute
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderGetAttribute	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * name)Provides the value of the libxml-SAX.html#attributeattribute  with the specified qualified name.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used name: the qualified name of the attribute. Returns: a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller. Function: xmlTextReaderGetAttributeNo
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderGetAttributeNo	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 int no)Provides the value of the libxml-SAX.html#attributeattribute  with the specified index relative to the containing element.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used no: the zero-based index of the libxml-SAX.html#attributeattribute  relative to the containing element Returns: a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller. Function: xmlTextReaderGetAttributeNs
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderGetAttributeNs	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * localName, 						 const libxml-xmlstring.html#xmlCharxmlChar  * namespaceURI)Provides the value of the specified libxml-SAX.html#attributeattribute 
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used localName: the local name of the attribute. namespaceURI: the namespace URI of the attribute. Returns: a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller. Function: xmlTextReaderGetErrorHandler
void	xmlTextReaderGetErrorHandler	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlreader.html#xmlTextReaderErrorFuncxmlTextReaderErrorFunc  * f, 					 void ** arg)Retrieve the error callback function and user argument.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used f: the callback function or NULL is no callback has been registered arg: a user argument Function: xmlTextReaderGetParserColumnNumber
int	xmlTextReaderGetParserColumnNumber	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Provide the column number of the current parsing point.
reader: the user data (XML reader context) Returns: an int or 0 if not available Function: xmlTextReaderGetParserLineNumber
int	xmlTextReaderGetParserLineNumber	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Provide the line number of the current parsing point.
reader: the user data (XML reader context) Returns: an int or 0 if not available Function: xmlTextReaderGetParserProp
int	xmlTextReaderGetParserProp	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int prop)Read the parser internal property.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used prop: the libxml-xmlreader.html#xmlParserPropertiesxmlParserProperties  to get Returns: the value, usually 0 or 1, or -1 in case of error. Function: xmlTextReaderGetRemainder
libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr 	xmlTextReaderGetRemainder	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Method to get the remainder of the buffered XML. this method stops the parser, set its state to End Of File and return the input stream with what is left that the parser did not use. The implementation is not good, the parser certainly procgressed past what's left in reader->input, and there is an allocation problem. Best would be to rewrite it differently.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the libxml-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  attached to the XML or NULL in case of error. Function: xmlTextReaderHasAttributes
int	xmlTextReaderHasAttributes	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Whether the node has attributes.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if true, 0 if false, and -1 in case or error Function: xmlTextReaderHasValue
int	xmlTextReaderHasValue		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Whether the node can have a text value.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if true, 0 if false, and -1 in case or error Function: xmlTextReaderIsDefault
int	xmlTextReaderIsDefault		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Whether an Attribute node was generated from the default value defined in the DTD or schema.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 0 if not defaulted, 1 if defaulted, and -1 in case of error Function: xmlTextReaderIsEmptyElement
int	xmlTextReaderIsEmptyElement	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Check if the current node is empty
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if empty, 0 if not and -1 in case of error Function: xmlTextReaderIsNamespaceDecl
int	xmlTextReaderIsNamespaceDecl	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Determine whether the current node is a namespace declaration rather than a regular attribute.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if the current node is a namespace declaration, 0 if it is a regular libxml-SAX.html#attributeattribute  or other type of node, or -1 in case of error. Function: xmlTextReaderIsValid
int	xmlTextReaderIsValid		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Retrieve the validity status from the parser context
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the flag value 1 if valid, 0 if no, and -1 in case of error Function: xmlTextReaderLocalName
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderLocalName	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The local name of the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the local name or NULL if not available Function: xmlTextReaderLocatorBaseURI
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderLocatorBaseURI	( libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator)Obtain the base URI for the given locator.
locator: the libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  used Returns: the base URI or NULL in case of error. Function: xmlTextReaderLocatorLineNumber
int	xmlTextReaderLocatorLineNumber	( libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  locator)Obtain the line number for the given locator.
locator: the libxml-xmlreader.html#xmlTextReaderLocatorPtrxmlTextReaderLocatorPtr  used Returns: the line number or -1 in case of error. Function: xmlTextReaderLookupNamespace
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderLookupNamespace	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 const libxml-xmlstring.html#xmlCharxmlChar  * prefix)Resolves a namespace prefix in the scope of the current element.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used prefix: the prefix whose namespace URI is to be resolved. To return the default namespace, specify NULL Returns: a string containing the namespace URI to which the prefix maps or NULL in case of error. The string must be deallocated by the caller. Function: xmlTextReaderMoveToAttribute
int	xmlTextReaderMoveToAttribute	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * name)Moves the position of the current instance to the libxml-SAX.html#attributeattribute  with the specified qualified name.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used name: the qualified name of the attribute. Returns: 1 in case of success, -1 in case of error, 0 if not found Function: xmlTextReaderMoveToAttributeNo
int	xmlTextReaderMoveToAttributeNo	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int no)Moves the position of the current instance to the libxml-SAX.html#attributeattribute  with the specified index relative to the containing element.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used no: the zero-based index of the libxml-SAX.html#attributeattribute  relative to the containing element. Returns: 1 in case of success, -1 in case of error, 0 if not found Function: xmlTextReaderMoveToAttributeNs
int	xmlTextReaderMoveToAttributeNs	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * localName, 					 const libxml-xmlstring.html#xmlCharxmlChar  * namespaceURI)Moves the position of the current instance to the libxml-SAX.html#attributeattribute  with the specified local name and namespace URI.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used localName: the local name of the attribute. namespaceURI: the namespace URI of the attribute. Returns: 1 in case of success, -1 in case of error, 0 if not found Function: xmlTextReaderMoveToElement
int	xmlTextReaderMoveToElement	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Moves the position of the current instance to the node that contains the current Attribute node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 in case of success, -1 in case of error, 0 if not moved Function: xmlTextReaderMoveToFirstAttribute
int	xmlTextReaderMoveToFirstAttribute	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Moves the position of the current instance to the first libxml-SAX.html#attributeattribute  associated with the current node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 in case of success, -1 in case of error, 0 if not found Function: xmlTextReaderMoveToNextAttribute
int	xmlTextReaderMoveToNextAttribute	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Moves the position of the current instance to the next libxml-SAX.html#attributeattribute  associated with the current node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 in case of success, -1 in case of error, 0 if not found Function: xmlTextReaderName
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderName	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The qualified name of the node, equal to Prefix :LocalName.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the local name or NULL if not available Function: xmlTextReaderNamespaceUri
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderNamespaceUri	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The URI defining the namespace associated with the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the namespace URI or NULL if not available Function: xmlTextReaderNext
int	xmlTextReaderNext		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Skip to the node following the current one in document order while avoiding the subtree if any.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error Function: xmlTextReaderNextSibling
int	xmlTextReaderNextSibling	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Skip to the node following the current one in document order while avoiding the subtree if any. Currently implemented only for Readers built on a document
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error Function: xmlTextReaderNodeType
int	xmlTextReaderNodeType		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Get the node type of the current node Reference: http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the xmlNodeType of the current node or -1 in case of error Function: xmlTextReaderNormalization
int	xmlTextReaderNormalization	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The value indicating whether to normalize white space and libxml-SAX.html#attributeattribute  values. Since libxml-SAX.html#attributeattribute  value and end of line normalizations are a MUST in the XML specification only the value true is accepted. The broken bahaviour of accepting out of range character entities like &#0; is of course not supported either.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 or -1 in case of error. Function: xmlTextReaderPrefix
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderPrefix	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)A shorthand libxml-SAX.html#referencereference  to the namespace associated with the node.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the prefix or NULL if not available Function: xmlTextReaderPreserve
libxml-tree.html#xmlNodePtrxmlNodePtr 	xmlTextReaderPreserve	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the libxml-tree.html#xmlNodePtrxmlNodePtr  or NULL in case of error. Function: xmlTextReaderPreservePattern
int	xmlTextReaderPreservePattern	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const libxml-xmlstring.html#xmlCharxmlChar  * pattern, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** namespaces)This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used pattern: an XPath subset pattern namespaces: the prefix definitions, array of [URI, prefix] or NULL Returns: a positive number in case of success and -1 in case of error Function: xmlTextReaderQuoteChar
int	xmlTextReaderQuoteChar		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The quotation mark character used to enclose the value of an attribute.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: " or ' and -1 in case of error Function: xmlTextReaderRead
int	xmlTextReaderRead		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Moves the position of the current instance to the next node in the stream, exposing its properties.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error Function: xmlTextReaderReadAttributeValue
int	xmlTextReaderReadAttributeValue	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Parses an libxml-SAX.html#attributeattribute  value into one or more Text and EntityReference nodes.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 in case of success, 0 if the reader was not positionned on an ttribute node or all the libxml-SAX.html#attributeattribute  values have been read, or -1 in case of error. Function: xmlTextReaderReadInnerXml
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderReadInnerXml	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Reads the contents of the current node, including child nodes and markup.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller. Function: xmlTextReaderReadOuterXml
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderReadOuterXml	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Reads the contents of the current node, including child nodes and markup.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller. Function: xmlTextReaderReadState
int	xmlTextReaderReadState		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Gets the read state of the reader.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the state value, or -1 in case of error Function: xmlTextReaderReadString
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderReadString	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Reads the contents of an element or a text node as a string.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: a string containing the contents of the Element or Text node, or NULL if the reader is positioned on any other type of node. The string must be deallocated by the caller. Function: xmlTextReaderRelaxNGSetSchema
int	xmlTextReaderRelaxNGSetSchema	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-relaxng.html#xmlRelaxNGPtrxmlRelaxNGPtr  schema)Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then RelaxNG validation is desactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used schema: a precompiled RelaxNG schema Returns: 0 in case the RelaxNG validation could be (des)activated and -1 in case of error. Function: xmlTextReaderRelaxNGValidate
int	xmlTextReaderRelaxNGValidate	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * rng)Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @rng is NULL, then RelaxNG validation is desactivated.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used rng: the path to a RelaxNG schema or NULL Returns: 0 in case the RelaxNG validation could be (des)activated and -1 in case of error. Function: xmlTextReaderSchemaValidate
int	xmlTextReaderSchemaValidate	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 const char * xsd)Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read(). If @xsd is NULL, then XML Schema validation is deactivated.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used xsd: the path to a W3C XSD schema or NULL Returns: 0 in case the schemas validation could be (de)activated and -1 in case of error. Function: xmlTextReaderSchemaValidateCtxt
int	xmlTextReaderSchemaValidateCtxt	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlschemas.html#xmlSchemaValidCtxtPtrxmlSchemaValidCtxtPtr  ctxt, 					 int options)Use W3C XSD schema context to validate the document as it is processed. Activation is only possible before the first Read(). If @ctxt is NULL, then XML Schema validation is deactivated.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used ctxt: the XML Schema validation context or NULL options: options (not used yet) Returns: 0 in case the schemas validation could be (de)activated and -1 in case of error. Function: xmlTextReaderSetErrorHandler
void	xmlTextReaderSetErrorHandler	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlreader.html#xmlTextReaderErrorFuncxmlTextReaderErrorFunc  f, 					 void * arg)Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used f: the callback function to call on error and warnings arg: a user argument to pass to the callback function Function: xmlTextReaderSetParserProp
int	xmlTextReaderSetParserProp	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 int prop, 					 int value)Change the parser processing behaviour by changing some of its internal properties. Note that some properties can only be changed before any read has been done.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used prop: the libxml-xmlreader.html#xmlParserPropertiesxmlParserProperties  to set value: usually 0 or 1 to (de)activate it Returns: 0 if the call was successful, or -1 in case of error Function: xmlTextReaderSetSchema
int	xmlTextReaderSetSchema		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 					 libxml-xmlschemas.html#xmlSchemaPtrxmlSchemaPtr  schema)Use XSD Schema to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then Schema validation is desactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used schema: a precompiled Schema schema Returns: 0 in case the Schema validation could be (des)activated and -1 in case of error. Function: xmlTextReaderSetStructuredErrorHandler
void	xmlTextReaderSetStructuredErrorHandler	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader, 						 libxml-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc  f, 						 void * arg)Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used f: the callback function to call on error and warnings arg: a user argument to pass to the callback function Function: xmlTextReaderStandalone
int	xmlTextReaderStandalone		( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Determine the standalone status of the document being read.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: 1 if the document was declared to be standalone, 0 if it was declared to be not standalone, or -1 if the document did not specify its standalone status or in case of error. Function: xmlTextReaderValue
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderValue	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)Provides the text value of the node if present
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the string or NULL if not available. The result must be deallocated with xmlFree() Function: xmlTextReaderXmlLang
libxml-xmlstring.html#xmlCharxmlChar  *	xmlTextReaderXmlLang	( libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  reader)The xml:lang scope within which the node resides.
reader: the libxml-xmlreader.html#xmlTextReaderPtrxmlTextReaderPtr  used Returns: the xml:lang value or NULL if none exists. ../bugs.htmlDaniel Veillard 
