[Home] [By Thread] [By Date] [Recent Entries]


> Yes, If I understand the datatype spec correctly you can do either:
>
> <xs:simpleType name="ISO8859_1">
>   <xs:restriction base="xs:string">
>     <xs:pattern value="\p{BasicLatin}+"/>
>     <xs:pattern value="\p{Latin-1Supplement}+"/>
>   </xs:restriction>
> </xs:simpleType>

Sorry, should be:

<xs:simpleType name="ISO8859_1">
  <xs:restriction base="xs:string">
    <xs:pattern value="[\p{BasicLatin}\p{Latin-1Supplement}]+"/>
  </xs:restriction>
</xs:simpleType>

/Eddie


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member