-
Notifications
You must be signed in to change notification settings - Fork 6
Draft Simplification Proposal Documentation
shrey13 edited this page Sep 26, 2014
·
2 revisions
The schema reflecting the simplification proposal looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://law.mit.edu/Schema">
<!-- definition of simple elements -->
<!-- definition of attributes -->
<xs:attribute name="Num" type="xs:string"/>
<xs:attribute name="Heading" type="xs:boolean"/>
<xs:attribute name="Text" type="xs:boolean"/>
<xs:attribute name="ID" type="xs:string"/>
<!-- definition of complex elements -->
<xs:element name="level">
<xs:complexType>
<xs:sequence>
<xs:element ref="level" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="Num" use="required"/>
<xs:attribute ref="Heading" use="required"/>
<xs:attribute ref="Text" use="required"/>
<xs:attribute ref="ID" use="required"/>
</xs:complexType>
</xs:element>
</schema>