[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: Re: Extract A Subset of a W3C XML Schema?
  • From: "Thomas B. Passin" <tpassin@c...>
  • Date: Sat, 9 Aug 2003 21:52:30 -0400
  • References: <009201c35713$f4d9b790$6401a8c0@tbp1> <E19jJUO-0004xR-00@z...>

[Anthony B. Coates]
> ** Reply to message from "Thomas B. Passin" <tpassin@c...> 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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member