W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2002

xsi:type

From: Joe Forrest <curiousmejf@yahoo.com>
Date: Tue, 29 Oct 2002 05:04:06 -0800 (PST)
Message-ID: <20021029130406.68028.qmail@web41001.mail.yahoo.com>
To: xmlschema-dev@w3.org

Hi All,

Will the uniqueness be enforced on "isbn"?

<?xml version="1.0"?>
<books
  xmlns="store"
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xsi:schemaLocation="store books.xsd">
  <isbn xsi:type="xsd:decimal">1234.0</isbn>
  <isbn xsi:type="xsd:decimal">1234</isbn>
</books>

where, the type of "isbn" is declared as
"anySimpleType" in books.xsd

Thanks,
Joe F.

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
Received on Tuesday, 29 October 2002 08:04:36 GMT

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