Download these-mathieu-mangeo..
Transcript
254 Annexe A : schéma XML pour DML <!-- DML element to represent a node --> <element name="node"> <complexType mixed="true"> <attribute ref="xlink:type" fixed="locator"/> <attribute ref="xlink:label"/> <attribute name="xlink:title"> <simpleType> <restriction base="xlink:titleType"> <!-- to note the starting node of an automaton --> <enumeration value="starting-node"/> <!-- to note an ending node of an automaton --> <enumeration value="ending-node"/> </restriction> </simpleType> </attribute> </complexType> </element> <!-- DML element to represent a list of arcs --> <element name="arcs"> <complexType> <sequence> <element ref="d:arcType" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> </element> <!-- DML element to represent an arc --> <element name="arc" type="d:arcType"/> <!-- DML type to represent an arc --> <complexType name="arcType" mixed="true"> <attribute ref="xlink:type" fixed="arc"/> <attribute ref="xlink:from"/> <attribute ref="xlink:to"/> <!-- an oriented arc has the attribute oriented=’true’ --> <attribute name="oriented" type="boolean"/> </complexType> <!--== Automaton structure ==--> <!-- DML element to represent a graph --> <element name="automaton"> <complexType> <sequence> <element ref="d:nodes" minOccurs="1" maxOccurs="1"/> <element ref="d:arcs" minOccurs="1" maxOccurs="1"/> </sequence> <attribute ref="xlink:type" fixed="locator"/> </complexType> </element> <!--== Function structure ==-->