[Home] [By Thread] [By Date] [Recent Entries]

  • From: ht@c... (Henry S. Thompson)
  • To: XML-Dev Mailing list <xml-dev@x...>
  • Date: 10 Feb 2000 13:29:31 +0000

Stefan Haustein <haustein@k...> writes:

> If that holds not only for Simon, I would like to ask why XML schema
> needs both <element> and <type>. It looks like they both correspond
> to the class concept in OOP. See
> 
> http://lists.w3.org/Archives/Public/www-xml-schema-comments/2000JanMar/0101.html

Because several elements may share a type:  this is illustrated in the 
lengthy example in chapter 2 in the current PWD [1].  If having looked 
at that you still don't understand, please come back with a question
based on that example if possible.

ht

[1] http://www.w3.org/TR/xmlschema-1/#concepts-types
-- 
  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@c...
		     URL: http://www.ltg.ed.ac.uk/~ht/

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member