Next in thread → Next in month →

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

From
Thomas B. Passin <>
To
Date
2003-08-10T01:52:30Z
ID
<01e601c35ee2$23548f70$6501a8c0@tbp1>
Thread
Re: [xml-dev] Extract A Subset of a W3C XML Schema?
[Anthony B. Coates]
> ** Reply to message from "Thomas B. Passin" <> 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
Next in thread → Next in month →