*** text.xsd ***
<?xml version=``1.0`` encoding=``EUC-KR``?> <xs:schema xmlns:xs=``http://www.w3.org/2001/XMLSchema``> <xs:element name=``root type=
ootType``/> <xs:simpleType name=``rootType``> <xs:restriction base=``xs:string``> <xs:pattern value=``01[016789]-[1-9]([0-9]{2,3})?-[0-9]{4}``/> <!--xs:pattern value=``01[016789]-[]{3})``/> <xs:pattern value=``(\d{3}-\d{4})|(\d{5})``/> <xs:pattern value=``[a-z]``/> <xs:pattern value=``\w{1,3}``/> <xs:pattern value=``@``/> <xs:pattern value=``\d+``/> <xs:pattern value=``[^a-d]``/> <xs:pattern value=``[a-z]``/> <xs:enumeration value=``»ç°ú``/> <xs:enumeration value=``µþ±â``/> <xs:enumeration value=``3``/--> </xs:restriction> </xs:simpleType> </xs:schema>
*** schematest.xml ***
<?xml version=``1.0`` encoding=``EUC-KR``?>
<root xmlns:xsi=``http://www.w3.org/2001/XMLSchema-instance`` xsi:noNamespaceSchemaLocation= est.xsd>010-3333-1234</root>
xml ½ºÅ͵ð 2005 02 13
|