Did I find the right examples for you? yes no

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)
Descriptor for a text attribute in a child XML element.

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 Split(XMLWrapper):
    """A GnuCash split (one of several parts of a transaction)."""
    value = XMLChildText(split_value)
    account_guid = XMLChildText(split_account)
class Transaction(XMLWrapper):
    """A GnuCash transaction."""
    date_posted = XMLChildText(trn_date_posted, ts_date)
    splits = XMLChild(trn_splits, Splits)
class Account(XMLWrapper):
    """A GnuCash account."""
    guid = XMLChildText(act_id)