XML and Python

Mike Brown mike at skew.org
Tue Jan 14 09:15:00 CET 2003

Martin Schmettow wrote:
> Some of the methods for Element-Nodes in xml.dom
> seem to be missing in Ft.Xml.Domlette. For example:
> hasAttribute, setAttribute, getAttribute.
> Is there any documentation, which exactly mentions
> the methods available in Domlette and those not?

Not yet! But you can use Python's introspection capability (good ol' dir),
as demonstrated here:

If you're looking for getElementsByTagName(), see where the thread continues

and especially note the simpler solution: XPath...

More information about the Python-list mailing list