示例#1
0
def _get_catalog(name):
    return childnode(_get_catalogs_root(), name, "CATALOG")
示例#2
0
def _create_attribute(name, typ):

    attributes_root = _get_attributes_root()
    attribute = childnode(attributes_root, name, "ATTRIBUTE_TYPE", type=typ)
    return attribute
示例#3
0
def _create_category(node, name):
    return childnode(node, name, "CATEGORY")