def _get_catalog(name): return childnode(_get_catalogs_root(), name, "CATALOG")
def _create_attribute(name, typ): attributes_root = _get_attributes_root() attribute = childnode(attributes_root, name, "ATTRIBUTE_TYPE", type=typ) return attribute
def _create_category(node, name): return childnode(node, name, "CATEGORY")