The anyURI data type represents a URI reference : anyURI « XML Schema « XML Tutorial






<!-- schema -->
<xsd:element name="address">
  <xsd:simpleType>
   <xsd:restriction base="xsd:anyURI">
    <xsd:enumeration value=
    "http://www.w3.org/TR/2000/PR-xlink-20001220/"/>
    <xsd:enumeration value=
    "http://www.w3.org/TR/xmlschema-2/"/>
   </xsd:restriction>
  </xsd:simpleType>
</xsd:element>

<!-- instance document -->
<address>http://www.w3.org/TR/xmlschema-2/</address>








3.2.anyURI
3.2.1.The anyURI data type represents a URI reference
3.2.2.To limit the accepted URI schemes