Ejemplo n.º 1
0
def _get_catalog(name):
    return childnode(_get_catalogs_root(), name, "CATALOG")
Ejemplo n.º 2
0
def _create_attribute(name, typ):

    attributes_root = _get_attributes_root()
    attribute = childnode(attributes_root, name, "ATTRIBUTE_TYPE", type=typ)
    return attribute
Ejemplo n.º 3
0
def _create_category(node, name):
    return childnode(node, name, "CATEGORY")