Liquid Studio Documentation
XSD Editor / Graphical Notation Overview / All
In This Topic
    All
    In This Topic
     Graphical Representation
     Summary

    The xs:all element is a container for other elements, groups and any's.
    An Element for all the child items must appear within the XML document, but they can appear in any order.
    In essence this is an unordered container.

     Creating

    An <all> can be added to an element, group or schema object. This can be done using the right click context menu on any of these entities.

     Properties

    Min Occurs the minimum number of times the elements described in the <all> must appear in the XML Document (default 1).
    Max Occurs The maximum number of times the elements described in the <all> can appear in the XML Document (default 1).
    Id A user defined ID to uniquely identify the entity within the schema

     Sample

    The following XSD code

    <xs:element name="MyAllElm">

    <xs:complexType>

    <xs:all>

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

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

    </xs:all>

    </xs:complexType>

    </xs:element>

    Will be represented like this

    Sample XML would look like this

    <?xml version="1.0" encoding="utf-16"?>

    <AllElm>

    <ZipCode>765755</ZipCode>

    <AddressLine1>12 SomePlace St</AddressLine1>

    </AllElm>

     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.

     

     

     

     

    See Also