| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.example.org/Rotation/" |
| 3 |
targetNamespace="http://www.example.org/Rotation/"> |
| 4 |
<element name="rotation"> |
| 5 |
<complexType> |
| 6 |
<attribute name="roll" type="tns:degree" /> |
| 7 |
<attribute name="pitch" type="tns:degree" /> |
| 8 |
<attribute name="yaw" type="tns:degree" /> |
| 9 |
</complexType> |
| 10 |
</element> |
| 11 |
|
| 12 |
<simpleType name="degree"> |
| 13 |
<restriction base="float"> |
| 14 |
<minInclusive value="0" /> |
| 15 |
<maxInclusive value="360" /> |
| 16 |
</restriction> |
| 17 |
</simpleType> |
| 18 |
</schema> |