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:
Component Diagram
XML Representation Summary
<xs:selector
   
 = 
 = 
   
   
>
   
Content: 
</xs:selector>
Included in content model of elements (3):
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 FlexDoc/XML 1.13 using FlexDoc/XML XSDDoc 2.9.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.