1 | # TODO: Add more language elements
|
---|
2 |
|
---|
3 | xs_annotation="<xs:annotation></xs:annotation>"
|
---|
4 |
|
---|
5 | xs_attribute="<xs:attribute name='a'></xs:attribute>"
|
---|
6 | xs_attribute_required="<xs:attribute name='a' use='required'></xs:attribute>"
|
---|
7 | xs_element="<xs:element name='e'></xs:element>"
|
---|
8 |
|
---|
9 | # Primitive datatypes
|
---|
10 | type_string=" type='xs:string'"
|
---|
11 | type_boolean=" type='xs:boolean'"
|
---|
12 | type_decimal=" type='xs:decimal'"
|
---|
13 | type_float=" type='xs:float'"
|
---|
14 | type_double=" type='xs:double'"
|
---|
15 | type_date_time=" type='xs:dateTime'"
|
---|
16 | type_time=" type='xs:time'"
|
---|
17 | type_date=" type='xs:date'"
|
---|
18 | type_g_year_month=" type='xs:gYearMonth'"
|
---|
19 | type_g_year=" type='xs:gYear'"
|
---|
20 | type_g_month_day=" type='xs:gMonthDay'"
|
---|
21 | type_g_day=" type='xs:gDay'"
|
---|
22 | type_g_month=" type='xs:gMonth'"
|
---|
23 | type_hex_binary=" type='xs:hexBinary'"
|
---|
24 | type_base64_binary=" type='xs:base64Binary'"
|
---|
25 | type_any_uri=" type='xs:anyURI'"
|
---|
26 | type_qname=" type='xs:QName'"
|
---|
27 | type_notation=" type='xs:NOTATION'"
|
---|
28 |
|
---|
29 | # Occurs
|
---|
30 | occurs_min=" minOccurs='1'"
|
---|
31 | occurs_max=" maxOccurs='9'"
|
---|
32 | occurs_max_unbounded=" maxOccurs='unbounded'"
|
---|
33 |
|
---|
34 | # Simple type
|
---|
35 | xs_restriction_integer="<xs:simpleType><xs:restriction base='xs:integer'></xs:restriction></xs:simpleType>"
|
---|
36 | xs_restriction_string="<xs:simpleType><xs:restriction base='xs:string'></xs:restriction></xs:simpleType>"
|
---|
37 | xs_list="<xs:simpleType><xs:list></xs:list></xs:simpleType>"
|
---|
38 | xs_union="<xs:simpleType><xs:union></xs:union></xs:simpleType>"
|
---|
39 |
|
---|
40 | # Restrictions
|
---|
41 | xs_min_exclusive="<xs:minExclusive value='0'/>"
|
---|
42 | xs_min_inclusive="<xs:minInclusive value='0'/>"
|
---|
43 | xs_max_exclusive="<xs:maxExclusive value='9'/>"
|
---|
44 | xs_max_inclusive="<xs:maxInclusive value='9'/>"
|
---|
45 | xs_total_digits="<xs:totalDigits value='3'/>"
|
---|
46 | xs_fraction_digits="<xs:fractionDigits value='3'/>"
|
---|
47 | xs_length="<xs:length value='3'/>"
|
---|
48 | xs_min_length="<xs:minLength value='3'/>"
|
---|
49 | xs_max_length="<xs:maxLength value='3'/>"
|
---|
50 | xs_enumeration="<xs:enumeration value='a'/>"
|
---|
51 | xs_white_space_collapse="<xs:whiteSpace value='collapse'/>"
|
---|
52 | xs_white_space_preserve="<xs:whiteSpace value='preserve'/>"
|
---|
53 | xs_white_space_replace="<xs:whiteSpace value='replace'/>"
|
---|
54 | xs_pattern="<xs:pattern value='a'/>"
|
---|
55 |
|
---|