[Home] [By Thread] [By Date] [Recent Entries]
That would say under XML Schema, a document can be rootless in the classical sense. It is more like VRML, which having been designed from the beginning to be object-oriented, has no document root, simply a comment that must be included at the head of the file. XML Schema in that sense has been oriented toward object design. Is this the case, that by having multiple global elements, we can design a schema with multiple document roots, or perhaps simply, multiple trees? Len http://www.mp3.com/LenBullard Ekam sat.h, Vipraah bahudhaa vadanti. Daamyata. Datta. Dayadhvam.h -----Original Message----- From: Eric van der Vlist [mailto:vdv@d...] > In such a case, you > could deduce that <a> is the root element, even if it is not explicitly > marked as such. However, it may be the case that other elements, <x>, > <y> and <z> could also be defined with the same content model as <a>, > and therefore there are 4 possible root elements for a schema valid > document. Is this the case? Yes, all you have to do is to define these 4 elements as global.
|

Cart



