Definition Type: Element
Name: groupSet
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
Abstract
Documentation:
A hierarchical set of groups
Collapse XSD Schema Diagram:
Drilldown into group in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into root in schema newsml-g2_2_23-spec-all-core_xsdXSD Diagram of groupSet in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<xs:element name="groupSet">
    <xs:annotation>
        <xs:documentation>A hierarchical set of groups</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="group" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A mixed set of group references and references to items or Web resources</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element name="groupRef">
                            <xs:annotation>
                                <xs:documentation>A reference to a group local to the package</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="idref" type="xs:IDREF" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The reference to the id of a local group</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                                <xs:anyAttribute namespace="##other" processContents="lax" />
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="itemRef" type="LinkType">
                            <xs:annotation>
                                <xs:documentation>A reference to a target item or Web resource</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="conceptRef">
                            <xs:annotation>
                                <xs:documentation>A reference to a target concept
</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:complexContent>
                                    <xs:extension base="FlexPropType" />
                                </xs:complexContent>
                            </xs:complexType>
                        </xs:element>
                    </xs:choice>
                    <xs:attribute name="role" type="QCodeType">
                        <xs:annotation>
                            <xs:documentation>The part this group plays within its container - expressed by a QCode / either the role or the roleuri attribute MUST be used</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="roleuri" type="IRIType">
                        <xs:annotation>
                            <xs:documentation>The part this group plays within its container - expressed by a URI / either the role or the roleuri attribute MUST be used</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="mode" type="QCodeType" use="optional">
                        <xs:annotation>
                            <xs:documentation>An indication whether the elements in the group are complementary and unordered, complementary and ordered or a set of alternative elements - expressed by a QCode</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="modeuri" type="IRIType" use="optional">
                        <xs:annotation>
                            <xs:documentation>An indication whether the elements in the group are complementary and unordered, complementary and ordered or a set of alternative elements - expressed by a URI</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:anyAttribute namespace="##other" processContents="lax" />
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="root" type="xs:IDREF" use="required">
            <xs:annotation>
                <xs:documentation>The reference to a local group acting as the root of the hierarchy of groups</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="##other" processContents="lax" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
group nsB:group (1) unbounded
Collapse Child Attributes:
Name Type Default Value Use
root nsB:root Required
<anyAttribute> Allowed namespace: '##other'