- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 06 Sep 2001 09:36:15 +0100
- To: "Hewko, Doug" <Doug.Hewko@ccra-adrc.gc.ca>
- Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
"Hewko, Doug" <Doug.Hewko@ccra-adrc.gc.ca> writes: > I'm just starting to learn schemas, and the tutorial book I have gives the > following syntax for a container element: > > <ElementType name="containcerelementname" content="eltOnly" model="closed"> > <element type="containedelementname"/> <element > type="containedelementname2"/> <element type="containedelementnamen"/> > </ElementType> > > I checked Roger Costello's schema tutorials at www.xfront.com and the W3 Org > specs and could find no reference to these attributes. Since I got this > example from a book that exclusively uses MSXML, I checked Microsoft's web > site, where I kept on timing out. (I did a search for "eltOnly", "closed", > "content=" and "model=" all without luck.) > > Can someone please point me to where I can find out what those attributes > mean and what other attributes are available? For example, since there is a > 'model="closed"', I can only assume there must be a 'model="open"'. Your tutorial book is for an old XML Schema language called XML-Data Reduced, formerly supported by Microsoft. It is similar in conception, but different in detail, from the W3C XML Schema Recommendation. I'm afraid you'll have to find a new book :-) ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 6 September 2001 04:35:47 UTC