ZVON > References > XML Schema 2001 Reference |
Intro / Search / ZVON |
index | >> Schema << | DTD |
Annotation | |
---|---|
Documentation | |
Source | http://www.w3.org/TR/xmlschema-1/#element-selector |
Schema |
---|
<xs:element name="selector" id="selector"> <xs:complexType mixed="false"> <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:pattern> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
Occurs in Schema Tutorial examples:
Uniqueness
Key
Uniqueness - comparison of numbers
Unique and nillable
Keyref