Lists Home |
Date Index |
- To: <firstname.lastname@example.org>
- Subject: Re: [xml-dev] Extract A Subset of a W3C XML Schema?
- From: "Thomas B. Passin" <email@example.com>
- Date: Sat, 9 Aug 2003 21:52:30 -0400
- References: <009201c35713$f4d9b790$6401a8c0@tbp1> <E19jJUO-0004xRfirstname.lastname@example.org>
[Anthony B. Coates]
> ** Reply to message from "Thomas B. Passin" <email@example.com> on Wed,
> Jul 2003 23:29:31 -0400
> > I have been asked what tools can extract a part of a schema. The
> > schema is large, complex, and imports five or six other schemas into
> > target namespaces. The individual involved wants to create a smaller
> > 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
> to use redefines, for examples. But the the most common kind of XML
> the "DTD + datatypes" Schemas, this works.
Thanks, Tony. I will pass this on and mull on it myself.