1+ <?xml version =" 1.0" ?>
2+
3+ <xs : schema
4+ targetNamespace =" http://graphml.graphdrawing.org/xmlns"
5+
6+ xmlns =" http://graphml.graphdrawing.org/xmlns"
7+ xmlns : xs =" http://www.w3.org/2001/XMLSchema"
8+
9+ elementFormDefault =" qualified"
10+ attributeFormDefault =" unqualified"
11+ >
12+ <xs : annotation >
13+ <xs : documentation
14+ source =" http://graphml.graphdrawing.org/"
15+ xml : lang =" en" >
16+ This document defines the attributes extension of the GraphML language.
17+ It redefines the attribut list of < key> by adding two new
18+ attributes:
19+ - attr.name (gives a name for the data function) and
20+ - attr.type (declares the range of values for the data function).
21+ The data values are defined in #PCDATA children of the corresponding
22+ < data> element.
23+ </xs : documentation >
24+ </xs : annotation >
25+
26+
27+ <xs : redefine schemaLocation =" http://graphml.graphdrawing.org/xmlns/1.1/graphml-structure.xsd" >
28+
29+ <xs : annotation >
30+ <xs : documentation
31+ source =" http://graphml.graphdrawing.org/"
32+ xml : lang =" en" >
33+ Redefinition of file graphml-structure.xsd.
34+ Extends the attribute group key.extra.attrib (which takes
35+ part in the attribute list of < key>) by adding the
36+ attribute group key.attributes.attrib which is defined below.
37+ </xs : documentation >
38+ </xs : annotation >
39+
40+ <xs : attributeGroup name =" key.extra.attrib" >
41+ <xs : attributeGroup ref =" key.extra.attrib" />
42+ <xs : attributeGroup ref =" key.attributes.attrib" />
43+ </xs : attributeGroup >
44+
45+ </xs : redefine >
46+
47+ <xs : simpleType name =" key.name.type" final =" #all" >
48+
49+ <xs : annotation >
50+ <xs : documentation
51+ source =" http://graphml.graphdrawing.org/(Dokumentation der Attributes Erweiterung; entsprechende Stelle.html)"
52+ xml : lang =" en" >
53+ Simple type for the attr.name attribute of < key>.
54+ key.name.type is final, that is, it may not be extended
55+ or restricted.
56+ key.name.type is a restriction of xs:NMTOKEN
57+ Allowed values: (no restriction)
58+ </xs : documentation >
59+ </xs : annotation >
60+
61+ <xs : restriction base =" xs:NMTOKEN" />
62+
63+ </xs : simpleType >
64+
65+
66+
67+ <xs : simpleType name =" key.type.type" final =" #all" >
68+
69+ <xs : annotation >
70+ <xs : documentation
71+ source =" http://graphml.graphdrawing.org/(Dokumentation der Attributes Erweiterung; entsprechende Stelle.html)"
72+ xml : lang =" en" >
73+ Simple type for the attr.type attribute of < key>.
74+ key.type.type is final, that is, it may not be extended
75+ or restricted.
76+ key.type.type is a restriction of xs:NMTOKEN
77+ Allowed values: boolean, int, long, float, double, string.
78+ </xs : documentation >
79+ </xs : annotation >
80+
81+ <xs : restriction base =" xs:NMTOKEN" >
82+ <xs : enumeration value =" boolean" />
83+ <xs : enumeration value =" int" />
84+ <xs : enumeration value =" long" />
85+ <xs : enumeration value =" float" />
86+ <xs : enumeration value =" double" />
87+ <xs : enumeration value =" string" />
88+ </xs : restriction >
89+
90+ </xs : simpleType >
91+
92+
93+ <xs : attributeGroup name =" key.attributes.attrib" >
94+
95+ <xs : annotation >
96+ <xs : documentation
97+ source =" http://graphml.graphdrawing.org/"
98+ xml : lang =" en" >
99+ Definition of the attribute group key.attributes.attrib.
100+ This group consists of the two optional attributes
101+ - attr.name (gives the name for the data function)
102+ - attr.type ((declares the range of values for the data function)
103+ </xs : documentation >
104+ </xs : annotation >
105+
106+ <xs : attribute name =" attr.name" type =" key.name.type" use =" optional" />
107+ <xs : attribute name =" attr.type" type =" key.type.type" use =" optional" />
108+ </xs : attributeGroup >
109+
110+ </xs : schema >
0 commit comments