1<?xml version="1.0" encoding="UTF-8"?>
 2<grammar ns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
 3  <start>
 4    <element name="param1-param2-info">
 5      <attribute name="xsi:noNamespaceSchemaLocation">
 6        <data type="anyURI"/>
 7      </attribute>
 8      <oneOrMore>
 9        <element name="register">
10          <interleave>
11            <element name="service">
12              <data type="integer"/>
13            </element>
14            <element name="subservice">
15              <data type="integer"/>
16            </element>
17            <optional>
18              <element name="apid">
19                <data type="integer"/>
20              </element>
21            </optional>
22            <optional>
23              <interleave>
24                <element name="param1-offset">
25                  <data type="integer"/>
26                </element>
27                <element name="param1-width">
28                  <data type="integer"/>
29                </element>
30              </interleave>
31            </optional>
32            <optional>
33              <interleave>
34                <element name="param2-offset">
35                  <data type="integer"/>
36                </element>
37                <element name="param2-width">
38                  <data type="integer"/>
39                </element>
40              </interleave>
41            </optional>
42          </interleave>
43        </element>
44      </oneOrMore>
45    </element>
46  </start>
47</grammar>