aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-12-14 23:00:35 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-12-14 23:00:35 +0000
commit0eb38c7259b04de809f7bc880688f468ac7a15bf (patch)
tree15fa9c77b5c1ce150b9f4b25b094d432ee469f86 /include
parent7ef0fcb8a864db768aab150f6c2e9e0fb900da0d (diff)
downloadandroid_external_libxml2-0eb38c7259b04de809f7bc880688f468ac7a15bf.tar.gz
android_external_libxml2-0eb38c7259b04de809f7bc880688f468ac7a15bf.tar.bz2
android_external_libxml2-0eb38c7259b04de809f7bc880688f468ac7a15bf.zip
added the close and getattribute methods of XmlTextReader. added the
* xmlreader.c doc/libxml2-api.xml: added the close and getattribute methods of XmlTextReader. * python/generator.py python/libxml_wrap.h python/types.c python/libxml2class.txt: added the reader to the Python bindings * python/tests/Makefile.am python/tests/reader.py: added a specific test for the Python bindings of the Reader APIs * parser.c: small cleanup. Daniel
Diffstat (limited to 'include')
-rw-r--r--include/libxml/xmlreader.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libxml/xmlreader.h b/include/libxml/xmlreader.h
index 8e4b0578..15937a12 100644
--- a/include/libxml/xmlreader.h
+++ b/include/libxml/xmlreader.h
@@ -49,6 +49,18 @@ xmlChar * xmlTextReaderPrefix (xmlTextReaderPtr reader);
int xmlTextReaderQuoteChar (xmlTextReaderPtr reader);
xmlChar * xmlTextReaderValue (xmlTextReaderPtr reader);
xmlChar * xmlTextReaderXmlLang (xmlTextReaderPtr reader);
+
+/*
+ * Methods of the XmlTextReader
+ */
+int xmlTextReaderClose (xmlTextReaderPtr reader);
+xmlChar * xmlTextReaderGetAttributeNo (xmlTextReaderPtr reader,
+ int no);
+xmlChar * xmlTextReaderGetAttribute (xmlTextReaderPtr reader,
+ const xmlChar *name);
+xmlChar * xmlTextReaderGetAttributeNs (xmlTextReaderPtr reader,
+ const xmlChar *localName,
+ const xmlChar *namespaceURI);
#ifdef __cplusplus
}
#endif