Liquid Studio 2020
XSD Editor / Graphical Notation Overview / Attribute Group Definition
In This Topic
    Attribute Group Definition
    In This Topic
     Graphical Representation
     Summary
    The xs:attributeGroup allows you to create groups of attributes that can be used as components inside other elements.
    A group can only be defined at the root level (i.e. as a parent of the xs:schema).
     Creating
    A xs:attributeGroup can be added to a xs:schema by right click context menu on the xs:schema item and selecting Add Child -> Attribute Group.
     Properties

     

    Name  The name the group will be referred to as. This must be unique, and it's a good standard to postfix it with 'Group').
    Id  A user defined ID to uniquely identify the entity within the schema.

     

     Sample

     Will be represented like this

    XSD Sample Code
    Copy Code
    <xs:attributeGroup name="FullNameGroup">
     <xs:attribute name="Forename" type="xs:string" />
     <xs:attribute name="Middlename" type="xs:string" use="optional" />
     <xs:attribute name="Surname" type="xs:string" />
    </xs:attributeGroup>
    

    Will be represented like this  

     

     Inline 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.