1<t:root xmlns:t="test"
2        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3        xsi:schemaLocation="test test.xsd"
4        any_simple_type_attr="any simple content">
5
6  <list>1 2 3</list>
7
8  <union>abc</union>
9
10  <enumeration>left</enumeration>
11
12  <complex x="1">
13    <a>aaa</a>
14  </complex>
15  <complex x="1" y="2">
16    <a>aaa</a>
17    <b>bbb</b>
18    <c>c</c>
19    <c>cc</c>
20    <c>ccc</c>
21  </complex>
22
23
24  <!-- integers -->
25  <byte>65</byte>
26  <unsigned_byte>66</unsigned_byte>
27  <short>-222</short>
28  <unsigned_short>57005</unsigned_short>
29  <int>-57005</int>
30  <unsigned_int>3735928559</unsigned_int>
31  <long>-3735928559</long>
32  <unsigned_long>16045690984833335023</unsigned_long>
33  <integer>-3735928559</integer>
34  <non_positive_integer>-3735928559</non_positive_integer>
35  <non_negative_integer>3735928559</non_negative_integer>
36  <positive_integer>3735928559</positive_integer>
37  <negative_integer>-3735928559</negative_integer>
38
39
40  <!-- boolean -->
41  <boolean>true</boolean>
42
43
44  <!-- floats -->
45  <float>1234.1234</float>
46  <double>12345678.12345678</double>
47  <decimal>1234567812345678.1234567812345678</decimal>
48
49
50  <!-- strings -->
51  <string>string</string>
52  <normalized_string>normalized string</normalized_string>
53  <token>one two three</token>
54  <name>name</name>
55  <name_token>name-token</name_token>
56  <name_tokens>name tokens</name_tokens>
57  <ncname>ncname</ncname>
58  <language>en-us</language>
59
60  <!-- qualified name -->
61  <qname>xsi:schemaLocation</qname>
62
63
64  <!-- ID/IDREF -->
65  <id>elements1</id>
66  <id>elements2</id>
67  <id_ref>elements1</id_ref>
68  <id_refs>elements1 elements2</id_refs>
69
70
71  <!-- URI -->
72  <any_uri>http://www.codesynthesis.com</any_uri>
73
74
75  <!-- binary -->
76  <base64_binary>YmFzZTY0IGJpbmFyeQ==</base64_binary>
77  <hex_binary>6865782052696E617279</hex_binary>
78
79
80  <!-- date/time -->
81  <date>2001-10-26+02:00</date>
82  <date_time>2001-10-26T21:32:52+02:00</date_time>
83  <duration>P1Y2M3DT5H20M30S</duration>
84  <day>---01+02:00</day>
85  <month>--11+02:00</month>
86  <month_day>--11-02+02:00</month_day>
87  <year>2001+02:00</year>
88  <year_month>2001-11+02:00</year_month>
89  <time>21:32:52+02:00</time>
90
91  <any_simple_type>any simple content in element</any_simple_type>
92
93</t:root>
94