Definition Type: Element
Name: group
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
MinOccurs (1)
MaxOccurs unbounded
Abstract
Documentation:
A mixed set of group references and references to items or Web resources
Collapse XSD Schema Diagram:
Drilldown into conceptRef in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into itemRef in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into groupRef in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into modeuri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into mode in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into roleuri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into role in schema newsml-g2_2_23-spec-all-core_xsdXSD Diagram of group in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
groupRef nsB:groupRef (1) (1)
itemRef nsB:itemRef (1) (1)
conceptRef nsB:conceptRef (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
role nsB:role (Optional)
roleuri nsB:roleuri (Optional)
mode nsB:mode Optional
modeuri nsB:modeuri Optional
<anyAttribute> Allowed namespace: '##other'