3
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xs:schema
|
|
3 |
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4 |
targetNamespace="http://www.example.org/xml/exampleml/1"
|
|
5 |
xmlns:exampleml="http://www.example.org/xml/exampleml/1"
|
|
6 |
elementFormDefault="qualified">
|
|
7 |
|
|
8 |
<xs:element name="exampleml">
|
|
9 |
<xs:annotation>
|
|
10 |
<xs:documentation>
|
|
11 |
ExampleML implementation for demonstration/template purposes.
|
|
12 |
</xs:documentation>
|
|
13 |
</xs:annotation>
|
|
14 |
|
|
15 |
<xs:complexType>
|
|
16 |
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
17 |
|
|
18 |
<xs:element name="output">
|
|
19 |
<xs:annotation>
|
|
20 |
<xs:documentation>
|
|
21 |
The output element specifies a single output file, its template (text) and encoding.
|
|
22 |
</xs:documentation>
|
|
23 |
</xs:annotation>
|
|
24 |
|
|
25 |
<xs:complexType mixed="true">
|
|
26 |
<xs:attribute name="file" type="xs:string" use="required">
|
|
27 |
<xs:annotation>
|
|
28 |
<xs:documentation>
|
|
29 |
Specifies the location of the output file.
|
|
30 |
ConfML setting references can be used with the ${} notation.
|
|
31 |
</xs:documentation>
|
|
32 |
</xs:annotation>
|
|
33 |
</xs:attribute>
|
|
34 |
|
|
35 |
<xs:attribute name="encoding" type="xs:string" use="optional">
|
|
36 |
<xs:annotation>
|
|
37 |
<xs:documentation>
|
|
38 |
Specifies the encoding of the output file, defaults to UTF-8.
|
|
39 |
ConfML setting references can be used with the ${} notation.
|
|
40 |
</xs:documentation>
|
|
41 |
</xs:annotation>
|
|
42 |
</xs:attribute>
|
|
43 |
</xs:complexType>
|
|
44 |
</xs:element>
|
|
45 |
</xs:choice>
|
|
46 |
</xs:complexType>
|
|
47 |
|
|
48 |
</xs:element>
|
|
49 |
|
|
50 |
</xs:schema> |