Liquid XML Studio
Group Definition
Send Feedback
XSD Editor > Graphical Notation Overview > Group Definition

Glossary Item Box

Graphical Representation

The Group Definition

Summary

The <group> allows you to create groups of elements that can be used as components inside other schema elements.
The group element must contain is a all/choice/sequence.
A group can only be defined at the root level (i.e. as a parent of the <schema>).

Creating

A <group> can be added to a <schema> by right click context menu on the <schema> item and selecting Add Child -> Group.

Group Definition Properties

Id - A user defined ID to uniquely identify the entity within the schema
Name - The name the group is referred to within the schema. You can only have one group with a given name.

Sample Group Definition

The following XSD code

<xs:group name="ProductInformation">

<xs:sequence>

<xs:element name="ProductID" type="xs:int" />

<xs:element name="ProductSerialNumber" type="xs:string" />

</xs:sequence>

</xs:group>

Will be represented like this

ShowInline Properties

Properties that apply to a type are shown inline at the bottom of the items container.

Values that are inherited from the base types are shown in brackets, values specifically set against the item are shown without brackets.

If a facet is not valid for a given type (typically because of its data type), then its value is shown in red.

Inline properties can be disabled in the Options.