| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XSD 1.1//EN" "http://www.w3.org/2009/XMLSchema/XMLSchema.dtd" > |
| 4 |
|
| 5 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 6 |
xmlns:xml="http://www.w3.org/XML/1998/namespace" |
| 7 |
xml:lang="en"> |
| 8 |
|
| 9 |
<xs:attribute name="NodeType"> |
| 10 |
<xs:simpleType> |
| 11 |
<xs:restriction base="xs:NMTOKEN"> |
| 12 |
<xs:enumeration value="NodeList"/> |
| 13 |
<xs:enumeration value="Empty"/> |
| 14 |
</xs:restriction> |
| 15 |
</xs:simpleType> |
| 16 |
</xs:attribute> |
| 17 |
|
| 18 |
<xs:element name="Comment" type="xs:string"/> |
| 19 |
|
| 20 |
<!-- These are elements which may be omitted from a valid Node --> |
| 21 |
<xs:group name="ActionOptions"> |
| 22 |
<xs:all> |
| 23 |
<xs:element ref="Comment" minOccurs="0"/> |
| 24 |
</xs:all> |
| 25 |
</xs:group> |
| 26 |
|
| 27 |
<xs:element name="NodeId"> |
| 28 |
<xs:complexType> |
| 29 |
<xs:simpleContent> |
| 30 |
<xs:extension base="xs:NCName"> |
| 31 |
<xs:attribute name="generated" type="xs:boolean" /> |
| 32 |
</xs:extension> |
| 33 |
</xs:simpleContent> |
| 34 |
</xs:complexType> |
| 35 |
</xs:element> |
| 36 |
|
| 37 |
<xs:element name="NodeList"> |
| 38 |
<xs:complexType> |
| 39 |
<xs:sequence> |
| 40 |
<xs:group ref="ActionGroup" minOccurs="0" maxOccurs="unbounded"/> |
| 41 |
</xs:sequence> |
| 42 |
</xs:complexType> |
| 43 |
</xs:element> |
| 44 |
|
| 45 |
<xs:element name="NodeBody"> |
| 46 |
<xs:complexType> |
| 47 |
<xs:choice> |
| 48 |
<xs:element ref="NodeList"/> |
| 49 |
</xs:choice> |
| 50 |
</xs:complexType> |
| 51 |
</xs:element> |
| 52 |
|
| 53 |
<xs:complexType name="NodeActionType"> |
| 54 |
<xs:all> |
| 55 |
<xs:group ref="ActionOptions"/> |
| 56 |
<xs:element ref="NodeId"/> |
| 57 |
<xs:element ref="NodeBody" minOccurs="0"/> |
| 58 |
</xs:all> |
| 59 |
<xs:attribute ref="NodeType" use="required"/> |
| 60 |
</xs:complexType> |
| 61 |
|
| 62 |
<xs:element name="Node" type="NodeActionType" /> |
| 63 |
|
| 64 |
<xs:group name="ActionGroup"> |
| 65 |
<xs:choice> |
| 66 |
<xs:element ref="Node"/> |
| 67 |
</xs:choice> |
| 68 |
</xs:group> |
| 69 |
|
| 70 |
<xs:element name="PlexilPlan"> |
| 71 |
<xs:complexType> |
| 72 |
<xs:sequence> |
| 73 |
<xs:group ref="ActionGroup"/> |
| 74 |
</xs:sequence> |
| 75 |
<!-- Attempt to imitate rncfix --> |
| 76 |
<xs:anyAttribute namespace="http://www.w3.org/2001/XMLSchema-instance" |
| 77 |
processContents="skip"/> |
| 78 |
</xs:complexType> |
| 79 |
</xs:element> |
| 80 |
</xs:schema> |