element selector
diagram index_p1134.png
namespace http://www.w3.org/2001/XMLSchema
type extension of xs:annotated
properties
content complex
id selector
children xs:annotation
used by
complexType keybase
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
xpathderived by: xs:tokenrequired      
source <xs:element name="selector" id="selector">
 
<xs:annotation>
   
<xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="xs:annotated">
       
<xs:attribute name="xpath" use="required">
         
<xs:simpleType>
           
<xs:annotation>
             
<xs:documentation>A subset of XPath expressions for use
in selectors
</xs:documentation>
             
<xs:documentation>A utility type, not for public
use
</xs:documentation>
           
</xs:annotation>
           
<xs:restriction base="xs:token">
             
<xs:annotation>
               
<xs:documentation>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
        
</xs:documentation>
             
</xs:annotation>
             
<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 selector/@xpath
type restriction of xs:token
properties
isRef 0
use required
facets
Kind Value annotation 
pattern (\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)* 
source <xs:attribute name="xpath" use="required">
 
<xs:simpleType>
   
<xs:annotation>
     
<xs:documentation>A subset of XPath expressions for use
in selectors
</xs:documentation>
     
<xs:documentation>A utility type, not for public
use
</xs:documentation>
   
</xs:annotation>
   
<xs:restriction base="xs:token">
     
<xs:annotation>
       
<xs:documentation>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
        
</xs:documentation>
     
</xs:annotation>
     
<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 by
XMLSpy Schema Editor http://www.altova.com/xmlspy