[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How Schema Validation works

Subject: How Schema Validation works
From: karl@xxxxxxxxxxxxxxxxxxxx
Date: Tue, 14 Sep 2004 14:46:57 -0600 (CST)
xsd validation how it works
I'm trying to understand the basic premiss to something like this:

[cut out from schema]
<xsd:element name="LevelCode" type="sd:LevelCodeType" minOccurs="0" />

[cut out from schema]
<xsd:simpleType name="LevelCodeType">
 <xsd:restriction base="xsd:string">
 <xsd:pattern
value="[Ii][Ee][Pp]|[Uu][EeSs]|[Pp][Ss]|[Kk][Gg]|[1-9]|[1][0-2]" />
 </xsd:restriction>
</xsd:simpleType>


Is the xsd:pattern a regular expression?  What causes the validation to
occur?  How can the above be written in plain Enlish?

Thanks,
Karl

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.