| # TODO: Add more language elements |
| |
| xs_annotation="<xs:annotation></xs:annotation>" |
| |
| xs_attribute="<xs:attribute name='a'></xs:attribute>" |
| xs_attribute_required="<xs:attribute name='a' use='required'></xs:attribute>" |
| xs_element="<xs:element name='e'></xs:element>" |
| |
| # Primitive datatypes |
| type_string=" type='xs:string'" |
| type_boolean=" type='xs:boolean'" |
| type_decimal=" type='xs:decimal'" |
| type_float=" type='xs:float'" |
| type_double=" type='xs:double'" |
| type_date_time=" type='xs:dateTime'" |
| type_time=" type='xs:time'" |
| type_date=" type='xs:date'" |
| type_g_year_month=" type='xs:gYearMonth'" |
| type_g_year=" type='xs:gYear'" |
| type_g_month_day=" type='xs:gMonthDay'" |
| type_g_day=" type='xs:gDay'" |
| type_g_month=" type='xs:gMonth'" |
| type_hex_binary=" type='xs:hexBinary'" |
| type_base64_binary=" type='xs:base64Binary'" |
| type_any_uri=" type='xs:anyURI'" |
| type_qname=" type='xs:QName'" |
| type_notation=" type='xs:NOTATION'" |
| |
| # Occurs |
| occurs_min=" minOccurs='1'" |
| occurs_max=" maxOccurs='9'" |
| occurs_max_unbounded=" maxOccurs='unbounded'" |
| |
| # Simple type |
| xs_restriction_integer="<xs:simpleType><xs:restriction base='xs:integer'></xs:restriction></xs:simpleType>" |
| xs_restriction_string="<xs:simpleType><xs:restriction base='xs:string'></xs:restriction></xs:simpleType>" |
| xs_list="<xs:simpleType><xs:list></xs:list></xs:simpleType>" |
| xs_union="<xs:simpleType><xs:union></xs:union></xs:simpleType>" |
| |
| # Restrictions |
| xs_min_exclusive="<xs:minExclusive value='0'/>" |
| xs_min_inclusive="<xs:minInclusive value='0'/>" |
| xs_max_exclusive="<xs:maxExclusive value='9'/>" |
| xs_max_inclusive="<xs:maxInclusive value='9'/>" |
| xs_total_digits="<xs:totalDigits value='3'/>" |
| xs_fraction_digits="<xs:fractionDigits value='3'/>" |
| xs_length="<xs:length value='3'/>" |
| xs_min_length="<xs:minLength value='3'/>" |
| xs_max_length="<xs:maxLength value='3'/>" |
| xs_enumeration="<xs:enumeration value='a'/>" |
| xs_white_space_collapse="<xs:whiteSpace value='collapse'/>" |
| xs_white_space_preserve="<xs:whiteSpace value='preserve'/>" |
| xs_white_space_replace="<xs:whiteSpace value='replace'/>" |
| xs_pattern="<xs:pattern value='a'/>" |
| |