- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 04 Jan 2001 09:52:17 +0000
- To: "Mark Young" <mark@kamiak.com>
- Cc: <xmlschema-dev@w3.org>
"Mark Young" <mark@kamiak.com> writes:
> XML Schema allows me to define many elements at the global level. Which of
> these elements is valid as the root element in aninstance document? Any of
> them? One of them in particular? My uneducated guess is the first
> non-abstract one... Does the Schema spec tell me the answer? I've read it
> through several times, but not found the answer (the validation rules are
> pretty hard to understand though).
Any of them. It's actually similar to DTDs in this regard.
Schema-aware processors may give you a way of requiring a particular
document element, but they don't have to.
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, 4 January 2001 04:52:26 UTC