W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

Re: Defining schema of schema

From: Ian Stuart <Ian.Stuart@ed.ac.uk>
Date: 02 Nov 2001 16:08:39 +0000
To: XML-Schema-dev <xmlschema-dev@w3.org>
Message-Id: <1004717319.11041.45.camel@lucas.ucs.ed.ac.uk>
On Fri, 2001-11-02 at 15:20, Jean-Baptiste GUILLOIS wrote:
> Thanx for your reply !!!
> 
> 
> In another terms, it is easy to instanciate a schema and to produce a
> XML document (that is an instance).
> But is much more tricky to instanciate a schema and to produce another
> schema, which will then be usable to produce the final XML document
OK, I think I know where the confusion is coming from...

You write an Schema to describe the data you want. This schema happens
to be written to be Well-Formed XML

You then produce a piece of Well-Formed XML, which includes references
to the schema document. This reference is a URI (A URL, essentially)

There is no intermediate stage.

If you also want to write a definition for the schema-file, it's just a
piece of XML. Thus you either describe it with a DTD, or you include an
appropriate xsi:schmeaLocation

To blow my own Trumpet, you could look at
http://lucas.ucs.ed.ac.uk/xml-schema/

To promote Eric van der Vlist's work: look at
http://www.xml.com/lpt/a/2000/11/29/schemas/part1.html

hope this helps...

-- 
--==++
Ian Stuart: Edinburgh University Data Library.
I build things: computer programs (with code); or cars (with metal)

 Personal web site: http://lucas.ucs.ed.ac.uk/ 
Received on Friday, 2 November 2001 11:01:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:35 GMT