Women in Technology

Hear us Roar



Article:
  XML Document Validation with an XML Schema
Subject:   Better validation : xs:restriction & xs:pattern
Date:   2004-09-23 01:31:00
From:   http://www.r0main.com
This is mainly a structural view of the document...
For a deeper level of validation, one may use xs:restriction & xs:pattern to validate content of xml files !
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Better validation : xs:restriction & xs:pattern
    2004-09-23 06:03:59  Deepak Vohra | [View]

    The <xs:restriction/> element in a <xs:simpleType/> may be used to constrain the value space of data types.

    <xs:restriction/> sub-element <xs:pattern/> is used to constrain the value space of data types to literals which match a regular expression.