Next in thread → Next in month →

RE: [xml-dev] Can i specify more than one root element in the specification?

From
Aaron Skonnard <>
To
, "'Thomas B. Passin'" <>
Date
2002-09-23T16:56:16Z
ID
<012f01c26322$22f2f1a0$0400a8c0@gandalf>
Thread
RE: [xml-dev] Can i specify more than one root element in the specification?
m batsis [mailto:] 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
Next in thread → Next in month →