1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-20 16:43:05 +03:00

added more informations in the libxml2-python package including docs.

* configure.in libxml.spec.in python/Makefile.am python/TODO
  python/generator.py python/libxml2class.txt: added more informations
  in the libxml2-python package including docs. Slightly changed
  the class hierarchy
* python/tests/*: added basic regression tests infrastructure too
Daniel
This commit is contained in:
Daniel Veillard
2002-02-02 09:17:16 +00:00
parent a7340c830e
commit 253aa2c33b
14 changed files with 584 additions and 20 deletions

10
python/tests/tst.py Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/python -u
import libxml2
doc = libxml2.parseFile("tst.xml")
print doc.name
root = doc.children
print root.name
child = root.children
print child.name
doc.freeDoc()