Esempio n. 1
0
 def parse_elem(type_elem):
     type_key = misc.xml_attr_str(type_elem, "name")
     workflow_key = misc.xml_attr_str(type_elem,
                                      "workflow",
                                      default=type_key)
     archetype_key = type_elem.tag  # !+archetype? move to types?
     return type_key, workflow_key, archetype_key
Esempio n. 2
0
 def parse_elem(type_elem):
     type_key = misc.xml_attr_str(type_elem, "name")
     workflow_key = misc.xml_attr_str(type_elem,
                                      "workflow",
                                      default=type_key)
     custom_archetype_key = misc.xml_attr_str(type_elem,
                                              "archetype",
                                              default=type_elem.tag)
     sys_archetype_key = type_elem.tag
     return type_key, workflow_key, custom_archetype_key, sys_archetype_key
Esempio n. 3
0
 def parse_elem(type_elem):
     type_key = misc.xml_attr_str(type_elem, "name")
     workflow_key = misc.xml_attr_str(type_elem, "workflow", default=type_key)
     archetype_key = type_elem.tag # !+archetype? move to types?
     return type_key, workflow_key, archetype_key
Esempio n. 4
0
 def parse_elem(type_elem):
     type_key = misc.xml_attr_str(type_elem, "name")
     workflow_key = misc.xml_attr_str(type_elem, "workflow", default=type_key)
     custom_archetype_key = misc.xml_attr_str(type_elem, "archetype", default=type_elem.tag)
     sys_archetype_key = type_elem.tag
     return type_key, workflow_key, custom_archetype_key, sys_archetype_key