element <xs:selector> (global)
Namespace:
Type:
anonymous complexType (extension of xs:annotated)
Content:
complex, 2 attributes, attr. wildcard, 1 element
Block:
"#all" (blocks all substitutions of this element or its type)
Defined:
globally in XMLSchema.xsd; see XML source
Includes:
definition of 1 attribute
Used:
Content Model Diagram
XML Representation Summary
<xs:selector
   
 = 
xs:ID
 = 
xs:token
    {any attribute with non-schema namespace}
    >
   
Content: 
xs:annotation?
</xs:selector>
Included in content model of elements (3):
xs:key, xs:unique
Known Usage Locations
Annotation
See:  http://www.w3.org/TR/xmlschema-1/#element-selector
Anonymous Type Detail
Type Derivation Tree
xs:anyType (restriction)
  xs:openAttrs (extension)
      xs:annotated (extension)
          complexType
XML Source (w/o annotations (3); see within schema source)
<xs:element id="selector" name="selector">
<xs:complexType>
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:attribute name="xpath" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Attribute Detail (all declarations; defined within this component only; 1/3)
xpath
Type:
anonymous simpleType (restriction of xs:token)
Use:
required
Attribute Value
Pattern:
(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*
Anonymous simpleType
Type Derivation Tree
xs:anySimpleType (restriction)
  xs:string (restriction)
      xs:normalizedString (restriction)
          xs:token (restriction)
              simpleType
Annotation 1 [src]:
A subset of XPath expressions for use
in selectors
Annotation 2 [src]:
A utility type, not for public
use
Derivation:
restriction of xs:token
The following pattern is intended to allow XPath
expressions per the following EBNF:
Selector ::= Path ( '|' Path )*
Path ::= ('.//')? Step ( '/' Step )*
Step ::= '.' | NameTest
NameTest ::= QName | '*' | NCName ':' '*'
child:: is also allowed
Facets:
pattern:
(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*
XML Source (w/o annotations (2); see within schema source)
<xs:attribute name="xpath" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.