Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)
Descriptor returning an iterator over XML child elements.

src/c/a/cashflow-1.0/src/cashflow/book.py   cashflow(Download)
from cashflow.oxm import XMLWrapper, XMLChild, XMLChildText, XMLChildren
# Precompute the names of common GnuCash XML tags.
class Splits(XMLWrapper):
    """A GnuCash splits element."""
    splits = XMLChildren(trn_split, Split)
    def __iter__(self):
        self.element = tree.find(tag('gnc:book'))
    accounts = XMLChildren(gnc_account, Account)
    transactions = XMLChildren(gnc_transaction, Transaction)