W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

RE: content= and model=

From: Hewko, Doug <Doug.Hewko@ccra-adrc.gc.ca>
Date: Thu, 6 Sep 2001 09:02:05 -0400
Message-ID: <6B3877B8D238D511852700B0D068CA9D906035@SH24X693>
To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Thanks for the reply.

Do you recommend I just skim the chapters on schemas just so I get some
background, or should I still use it as learning foundation, or should I
skip those chapters all-together? I'm surprised that the standands have
changed so quickly; the book was published in 2000 and I'm the first person
at my work library to borrow the book. 

Is Roger Costello's schema tutorials at www.xfront.com still the best, or is
there another tutorial site you would recommend? 

> -----Original Message-----
> From: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk]
> Sent: September 6, 2001 4:36 AM
> To: Hewko, Doug
> Cc: 'www-xml-schema-comments@w3.org'
> Subject: Re: content= and model=
> 
> 
> "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 09:14:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:51 GMT