Schema of Example.xsd

Test Schema tempting to produce most of of the valid schema item combinations

An annotation may have multiple documentation paragraphs, or be a link, like below, when it has an URI source. This allows navigation from the generated graph to reach more detailed documentation.

Get XSD2HTMLGraph here


root

Top-level element that can be the main element of the target document. A schema has no mean (as far as I know) to specify whether a specific top-level element must be used as the target XML file root. Therefore XSD2HTMLGraph lists all the top-level elements as potentiental file root.

OptionalAttribute
xs:string0x[0-9a-fA-F]{4}

Hexadecimal type

RequiredAttribute
xs:integer-100≤ . <100

It is also possible to see in the diagram the annotations on the lists

VeryComplexElement

Element defined by a very complex type as it has a recursive definition.

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

E1

UnionList
List of
xs:decimal
xs:string
DirecAttr

Annotation of DirectAttr

AttrGroupAttr1
xs:boolean
SubAttr
xs:integer . ≤100

Annotation of SubAttr

AttrGroupAttr2
List ofxs:double
1..n

E3

E2

E4

E5

E6

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

0..n

E14

xs:boolean
0..n

E14

xs:boolean
1..n

E12

Before the group

Group of particules that is used at several places to avoid repetition of element list

1..n

List at the head of a group have no cardinality defined. The cardinality comes from the referring group.

E110

Element of ExtendedComplexType. As it appears at some point in the definition of this type, it is the element that will be the link of the recursion

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

E1

UnionList
List of
xs:decimal
xs:string
DirecAttr

Annotation of DirectAttr

AttrGroupAttr1
xs:boolean
SubAttr
xs:integer . ≤100

Annotation of SubAttr

AttrGroupAttr2
List ofxs:double
1..n

E3

E2

E4

E5

E6

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

0..n

E14

xs:boolean
0..n

E14

xs:boolean
1..n

E12

Before the group

Group of particules that is used at several places to avoid repetition of element list

1..n

List at the head of a group have no cardinality defined. The cardinality comes from the referring group.

E110

Element of ExtendedComplexType. As it appears at some point in the definition of this type, it is the element that will be the link of the recursion

0..n

E111

But below the list sequence it becomes again possible to specify the cardinality.

E13

After the group

0..n

E111

But below the list sequence it becomes again possible to specify the cardinality.

E13

After the group

0..1

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the global element is used and set optional

E1

UnionList
List of
xs:decimal
xs:string
DirecAttr

Annotation of DirectAttr

AttrGroupAttr1
xs:boolean
SubAttr
xs:integer . ≤100

Annotation of SubAttr

AttrGroupAttr2
List ofxs:double
1..n

E3

E2

E4

E5

E6

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

0..n

E14

xs:boolean

E20

AttrGroupAttr1
xs:boolean
SubAttr
xs:integer . ≤100

Annotation of SubAttr

AttrGroupAttr2
List ofxs:double
1..n

MixedContent

Element with mixed content (attribute, sub element and Text content)

A3

E310

0..1

E32

xs:string
A2

E33

A1

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

E1

UnionList
List of
xs:decimal
xs:string
DirecAttr

Annotation of DirectAttr

AttrGroupAttr1
xs:boolean
SubAttr
xs:integer . ≤100

Annotation of SubAttr

AttrGroupAttr2
List ofxs:double
1..n

E3

E2

E4

E5

E6

E10

xs:string[a-z]{2}-\d{3}
0..1

E11

RestrictedEnumeratedAttribute
xs:string
  • Value1
  • Value3

Restriction of an enumeration. Information on the Global Attribute also displayed.

Restriction of an enumeration on the reference. Comment interesting to display in the presentation, attached to the attribute

Comment on a sequence

1..n

Comment on a choice list after a sequence list

E12

xs:integer

other-top-level

A second global element that can be referred to and that can be an alternate root for the target XML file

Here the second top-level element is referred to as a sub-element. Both annotations (the top-level one and this local one) are merged locally. Nothing in the graph indicates that this element is obtained by a reference instead of a fully definition. This is of no interest when filling the form.

0..n

E14

xs:boolean

Presentation built by XSD2HTMLGraph v0.1 © 2010 Philippe Chevrier