Learning XMLSchema
This commit is contained in:
parent
ae296cdcf9
commit
d3f52853d5
|
@ -9,14 +9,14 @@
|
|||
</identity>
|
||||
<parameters id="0" date="0" author="Gaston Lagaffe">
|
||||
<modelization>
|
||||
<max_thread>0</max_thread>
|
||||
<max_cycles>13</max_cycles>
|
||||
<max_thread value="0"/>
|
||||
<max_cycles value="13"/>
|
||||
</modelization>
|
||||
<space>
|
||||
<dimension>1</dimension>
|
||||
<size>1</size>
|
||||
<site_multiplicity>2</site_multiplicity>
|
||||
<boundaries>0</boundaries>
|
||||
<dimension value="1"/>
|
||||
<size value="39"/>
|
||||
<site_multiplicity value="2"/>
|
||||
<boundaries/>
|
||||
</space>
|
||||
</parameters>
|
||||
<objects>aaa</objects>
|
||||
|
@ -26,5 +26,3 @@
|
|||
<ref>aaa</ref>
|
||||
<quote>aaa</quote>
|
||||
</gem-graph-model>
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="gem-graph-model">
|
||||
|
@ -22,23 +21,46 @@
|
|||
<xs:element name="parameters">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="modelization">
|
||||
<xs:element name="modelization">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="max_thread" type="xs:integer"/>
|
||||
<xs:element name="max_cycles" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
<xs:element name="max_thread">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="value" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="max_cycles">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="value" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="space">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dimension" type="xs:integer"/>
|
||||
<xs:element name="size" type="xs:integer"/>
|
||||
<xs:element name="site_multiplicity" type="xs:integer"/>
|
||||
<xs:element name="boundaries" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
<xs:element name="dimension">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="value" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="size">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="value" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="site_multiplicity">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="value" type="xs:integer"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="boundaries">
|
||||
<xs:complexType>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
|
|
Loading…
Reference in New Issue