if (isinstance(arg, Mixed)):
inner_types = reduce(fold_complex_type, arg)
inner_names = reduce(fold_complex_type_names, arg)
if (isinstance(arg, Mixed)):
inner_types = reduce(fold_complex_type, arg)
inner_names = reduce(fold_complex_type_names, arg)
complex_content = complex_type.appendChild(types.createElement("xsd:list"))
complex_content.setAttribute("itemType",inner_type)
return "xsdl:%s"%type_name
complex_content = complex_type.appendChild(types.createElement("xsd:list"))
complex_content.setAttribute("itemType",inner_type)
return "xsdl:%s"%type_name
num_types=num_types+1
type_name = "Type%d"%num_types
complex_type = types_section.appendChild(types.createElement("xsd:complexType"))
num_types=num_types+1
type_name = "Type%d"%num_types
complex_type = types_section.appendChild(types.createElement("xsd:complexType"))
element.setAttribute("type",inner_type)
return "xsdl:%s"%type_name
element.setAttribute("type",inner_type)
return "xsdl:%s"%type_name