bridgepoint/gen_xsd_schema.py
def build_type(s_dt):
    '''
    Build a partial xsd tree out of a S_DT and its sub types S_CDT, S_EDT, S_SDT and S_UDT.
    '''
    s_cdt = nav_one(s_dt).S_CDT[17]()
    if s_cdt:
        return build_core_type(s_cdt)
    
    s_edt = nav_one(s_dt).S_EDT[17]()
    if s_edt:
        return build_enum_type(s_edt)
    
    s_udt = nav_one(s_dt).S_UDT[17]()
    if s_udt:
        return build_user_type(s_udt)
def build_type(s_dt):
    '''
    Build a partial xsd tree out of a S_DT and its sub types S_CDT, S_EDT, S_SDT and S_UDT.
    '''
    s_cdt = nav_one(s_dt).S_CDT[17]()
    if s_cdt:
        return build_core_type(s_cdt)
    
    s_edt = nav_one(s_dt).S_EDT[17]()
    if s_edt:
        return build_enum_type(s_edt)
    
    s_udt = nav_one(s_dt).S_UDT[17]()
    if s_udt:
        return build_user_type(s_udt)
def build_type ( s_dt ) : s_cdt = nav_one ( s_dt ) . S_CDT [ 17 ] ( ) if s_cdt : return build_core_type ( s_cdt ) s_edt = nav_one ( s_dt ) . S_EDT [ 17 ] ( ) if s_edt : return build_enum_type ( s_edt ) s_udt = nav_one ( s_dt ) . S_UDT [ 17 ] ( ) if s_udt : return build_user_type ( s_udt )
Build a partial xsd tree out of a S_DT and its sub types S_CDT, S_EDT, S_SDT and S_UDT.
Build a partial xsd tree out of a S_DT and its sub types S_CDT S_EDT S_SDT and S_UDT .