X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fpython.html;h=bd52649ff43356c895fff84bac781637f07db8ad;hb=refs%2Fchanges%2F17%2F75517%2F1;hp=e7e955bcd854b65fc90f7299eb4c87ec9a9d02c0;hpb=7714ab7384828d6cda6f950a8d789ee36ca62452;p=platform%2Fupstream%2Flibxml2.git diff --git a/doc/python.html b/doc/python.html index e7e955b..bd52649 100644 --- a/doc/python.html +++ b/doc/python.html @@ -11,7 +11,8 @@ A:link, A:visited, A:active { text-decoration: underline } libxml2, the list below is not exhaustive. Please contact the xml-bindings@gnome.org (archives) in order to get updates to this list or to discuss the specific topic of libxml2 -or libxslt wrappers or bindings:
Note to people interested in building bindings an XML API description file which allows to automate a large part of the Python bindings, this includes function descriptions, enums, structures, typedefs, etc... The Python script used to -build the bindings is python/generator.py in the source distribution.
To install the Python bindings there are 2 options:
To install the Python bindings there are 2 options:
The Python module is called libxml2; parseFile is the equivalent of xmlParseFile (most of the bindings are automatically generated, and the xml prefix is removed and the casing convention are kept). All node seen at the -binding level share the same subset of accessors:
name
: returns the node namename
: returns the node nametype
: returns a string indicating the node typecontent
: returns the content of the node, it is based on
xmlNodeGetContent() and hence is recursive.