Elements can have simple typed content:
You can refer to your own simple type:
<xs:element name="uri" type="my:domainURI"/>
Or you can embed the type definition
<xs:element name="uri"> <xs:simpleType> <xs:restriction base="xs:anyURI"> <xs:pattern value="http:.*"/> </xs:resritction> </xs:simpleType> </xs:element>