In <622ea3b0-88b4-420b-89e0-9e7c6e866...@googlegroups.com> Doug OLeary <dkole...@olearycomputers.com> writes:
> >>> from lxml import etree > >>> doc =3D etree.parse('config.xml') > Now what? For instance, how do I list the top level children of > <domain>? root = doc.getroot() for child in root: print(child.tag) -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- https://mail.python.org/mailman/listinfo/python-list