Ticket #773: PostprocessingMapping.xsd

File PostprocessingMapping.xsd, 771 bytes (added by davor.ostojic@oeaw.ac.at, 9 years ago)

Schema proposal for postprocessor mappings

Line 
1<?xml version="1.0"?>
2<xs:schema
3        xmlns:xs="http://www.w3.org/2001/XMLSchema"
4>
5  <xs:element name="mappings">
6    <xs:complexType>
7      <xs:sequence>
8        <xs:element name="mapping" maxOccurs="unbounded" minOccurs="0">
9          <xs:complexType>
10            <xs:sequence>
11              <xs:element name="value" type="xs:string"/>
12              <xs:element name="variant" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
13            </xs:sequence>
14                        <!-- left for patterns in nationalProjectMappings.xml -->
15            <xs:attribute name="isRegExp" type="xs:boolean" use="optional"/>
16          </xs:complexType>
17        </xs:element>
18      </xs:sequence>
19      <xs:attribute name="field" type="xs:string"/>
20    </xs:complexType>
21  </xs:element>
22</xs:schema>