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 ]
  • To: <xml-dev@lists.xml.org>
  • Subject: Re: [xml-dev] Extract A Subset of a W3C XML Schema?
  • From: "Thomas B. Passin" <tpassin@comcast.net>
  • Date: Sat, 9 Aug 2003 21:52:30 -0400
  • References: <009201c35713$f4d9b790$6401a8c0@tbp1> <E19jJUO-0004xR-00@zephir.uk.clara.net>

[Anthony B. Coates]
> ** Reply to message from "Thomas B. Passin" <tpassin@comcast.net> on Wed,
30
> Jul 2003 23:29:31 -0400
>
> > 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.
>
> First, you need to flatten any includes.  This can be done using XSLT by
> following the "xsl:include".
>
[snipped a body of interesting material]
> Now, I can't guarantee that this works for all possible Schemas.  I don't
tend
> to use redefines, for examples.  But the the most common kind of XML
Schemas,
> the "DTD + datatypes" Schemas, this works.
>

Thanks, Tony.  I will pass this on and mull on it myself.

Cheers,

Tom P






 

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

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