ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Can i specify more than one root element in the specification?
by Aaron Skonnard other posts by this author
Sep 23 2002 4:56PM messages near this date
Re: [xml-dev] Can i specify more than one root element in the specification? | Re: [xml-dev] Can i specify more than one root element in the specification?
m batsis [mailto:mbatsis@[...].gr] wrote:
>  
>  I remember this was confusing for me in my first attempts with 
>  W3C XML Schema. My initial impression was that such a spec would 
>  allow me to define all my types us global components, while giving 
>  me the ability to explicitly choose which ones can possibly play 
>  the role of the documentElement...

You could deal with this by factoring your schema so that each document
element is in a file of its own that imports the global types.

--
Aaron Skonnard <http://skonnard.com> , DevelopMentor <http://develop.com>
   Essential XML Quick Reference available online in PDF format...
      <http://develop.com/books> 


Man will occasionally stumble over the truth, but most times he will
pick himself up and carry on. - Winston Churchill


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Vinod Kharade
James Fuller
m batsis
Aaron Skonnard
Thomas B. Passin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved