A good brief discussion of the issues: http://www.xfront.com/GlobalVersusLocal.pdf --- A. Soroka Digital Research and Scholarship R & D the University of Virginia Library On Jul 27, 2009, at 11:51 AM, Houghton,Andrew wrote: >> -----Original Message----- >> From: On Behalf Of Jonathan Rochkind >> Subject: [CODE4LIB] XML schemas question >> >> Anyone familiar with XML schemas (.xsd)? >> >> Can you help me figure something out. Is there something in the >> schema >> that specifies what elements can serve as the 'root node'... or is >> any >> element described in the schema available for use as a 'root node', >> and it'll still validate? > > Any global element is available as a document element in an instance > document. Typically, you can use global types, specify one global > element and use the Russian Doll approach to limit which elements > can be used for the document element in an instance document. The > upside is that you can control what elements are used for instance > documents. The downside is that schema reuse drops because inner > elements cannot be reused in other contexts. > > Andy.