XSD Viewer
Search…
Recursiveness
How recursiveness is handled.

Recursiveness

In the XSD-Viewer plugin context recursive means that an element type has children of its own type. The example XSD below is set up this way.
1
<xs:complexType name="nodeType">
2
<xs:sequence minOccurs="0" maxOccurs="unbounded">
3
<xs:element name="node" type="nodeType"/>
4
</xs:sequence>
5
</xs:complexType>
Copied!
The XSD-Viewer plugin is able to draw XSD’s containing recursiveness but only to a certain level, depending on the complexity of the XSD schema itself. When an error occurs rendering the image, concluding possible recursiveness is detected, try to lower your depth level.
A rendered image of the XSD schema above is shown below. The chosen starting element is nodeType and the depth is set at 2 so it is clear this node type is recurring.
Copy link