Definition Type: Element
Name: BasisForChoice
Type: string:http://www.w3.org/2001/XMLSchema
Containing Schema: NewsML_1.2.xsd
Abstract
Documentation:
================================ BasisForChoice ================================ The content of this element is an XPath statement or element-type name identifying information within each NewsComponent or ContentItem that can be used as a basis for choice between equivalent NewsComponents or ContentItems. If the XPath pattern begins with a . character, this represents the 'root' of the XPath and corresponds to the NewsComponent or ContentItem itself. By applying the XPath pattern to each NewsComponent or ContentItem in turn within the set of equivalents, the system can extrac the data on the basis of which a choice between the items can be made. If multiple matches to the XPath pattern are present within the subtree that begins at the 'root', only the first match found in document order is significant. The optional Rank attribute allows providers to place a numerical order on the importance they think should be attached to the different bases for choice. Smaller numbers represent higher importance. ================================================================================
Collapse XSD Schema Diagram:
Drilldown into Rank in schema newsml_1_2_xsd Drilldown into Euid in schema newsml_1_2_xsd Drilldown into Duid in schema newsml_1_2_xsd Drilldown into localid in schema newsml_1_2_xsdXSD Diagram of BasisForChoice in schema newsml_1_2_xsd (News Markup Language (NewsML))
Collapse XSD Schema Code:
<xs:element name="BasisForChoice">
    <xs:annotation>
        <xs:documentation> 
================================ BasisForChoice ================================
The content of this element is an XPath statement or element-type name
identifying information within each NewsComponent or ContentItem that can be
used as a basis for choice between equivalent NewsComponents or ContentItems.
If the XPath pattern begins with a . character, this represents the 'root' of
the XPath and corresponds to the NewsComponent or ContentItem itself. By
applying the XPath pattern to each NewsComponent or ContentItem in turn within
the set of equivalents, the system can extrac the data on the basis of which a
choice between the items can be made. If multiple matches to the XPath pattern
are present within the subtree that begins at the 'root', only the first match
found in document order is significant.  The optional Rank attribute allows
providers to place a numerical order on the
 importance they think should be
attached to the different bases for choice.
 Smaller numbers represent higher
importance.
================================================================================

			</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attributeGroup ref="localid" />
                <xs:attribute name="Rank" type="xs:positiveInteger" />
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
Duid Duid (Optional)
Euid Euid (Optional)
Rank Rank (Optional)