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

From
Thomas B. Passin <>
To
Date
2003-08-01T00:18:09Z
ID
<007f01c357c2$6314b800$6401a8c0@tbp1>
Thread
Re: [xml-dev] Extract A Subset of a W3C XML Schema?
[Paul Brown]
I asked about this a while back, actually:

http://lists.xml.org/archives/xml-dev/200206/msg00905.html

The situation here was a schema that was built from X.12 EDI
(http://www.tranxml.org) but where self-contained, minimal schemae for
different document elements was desired.  (The results are part of the
4.0 release.)

I ended up with a stylesheet combination that first merged the total
includes together into a holder document and then ran multiple passes
that simplified the document by pulling types into a bucket that would
eventually contain the final schema.  Several passes were required but
produced a workable self-contained, minmal schema for the desired type.

[Tom P]

It is starting to look like most of the people who have actually done this
in practice have used multiple passes with xslt.  That's a good start.

Thanks, Paul.

Cheers,

Tom P