OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Extract A Subset of a W3C XML Schema?

[ Lists Home | Date Index | Thread Index ]

Hi Tom,

On Thu, 2003-07-31 at 05:29, Thomas B. Passin wrote:
> I have been asked what tools can extract a part of a schema.  The overall
> schema is large, complex, and imports five or six other schemas into several
> target namespaces.  The individual involved wants to create a smaller subset
> that contains everything that one project needs, for the purposes of
> instruction and training.

That's not exactly what you are asking for, but Bob DuCharme's schema
stages may be a partial answer to your problem:

http://www.snee.com/xml/schemaStages.html

Basically, you'll have to edit your schemas and flag (using annotations)
what you don't want to keep. A XSLT transformation would then generate
your smaller subset(s).

Hope this helps.

Eric
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS