W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2001

simpleType in restriction

From: Kevin <zhangyongjiang@yahoo.com>
Date: Tue, 29 May 2001 23:11:49 -0700
To: <xmlschema-dev@w3.org>
Message-ID: <BBEBJKCDKGDAFKDCHMFMKEBHCAAA.zhangyongjiang@yahoo.com>
Hey, experts,
I'm a newbie of schema. pls help.

In the definition of restriction:
<restriction
  base = QName
  id = ID
  {any attributes with non-schema namespace . . .}>
  Content: (annotation?, (simpleType?, (minExclusive | minInclusive |
maxExclusive | maxInclusive | totalDigits | fractionDigits | length |
minLength | maxLength | enumeration | whiteSpace | pattern)*))
</restriction>

how to use simpleType in the Content? pls give an example. thanks a lot.

Kevin


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Wednesday, 30 May 2001 02:19:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT