sysmodellibs/sysmodelgen/src/old/resources/xsd/Levels.xsd
changeset 6 5b32dc297d05
parent 1 b538b70cbe51
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sysmodellibs/sysmodelgen/src/old/resources/xsd/Levels.xsd	Wed Oct 13 14:00:36 2010 +0100
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="levels">
+    <xs:complexType>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element name="block" maxOccurs="unbounded" minOccurs="0">
+          <xs:complexType>
+          	<xs:simpleContent>
+          		<xs:extension base="xs:string">
+          			<xs:attribute type="xs:string" name="name"
+          				use="required" />
+          			<xs:attribute type="xs:NMTOKEN" name="level"
+          				use="optional" />
+          			<xs:attribute type="xs:NMTOKENS" name="levels"
+          				use="optional" />
+          			<xs:attribute type="xs:int" name="span"
+          				use="optional" />
+          		</xs:extension>
+          	</xs:simpleContent>
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="collection" maxOccurs="unbounded" minOccurs="0">
+          <xs:complexType>
+            <xs:simpleContent>
+              <xs:extension base="xs:string">
+                <xs:attribute type="xs:string" name="name" use="required"/>
+                <xs:attribute type="xs:NMTOKEN" name="level" use="required"/>
+              </xs:extension>
+            </xs:simpleContent>
+          </xs:complexType>
+        </xs:element>
+        <xs:element name="layer" maxOccurs="unbounded" minOccurs="0">
+          <xs:complexType>
+            <xs:simpleContent>
+              <xs:extension base="xs:string">
+                <xs:attribute type="xs:string" name="name" use="required"/>
+                <xs:attribute type="xs:NMTOKENS" name="levels" use="optional"/>
+                <xs:attribute type="xs:int" name="span" use="optional"/>
+              </xs:extension>
+            </xs:simpleContent>
+          </xs:complexType>
+        </xs:element>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
+</xs:schema>
\ No newline at end of file