[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Extract A Subset of a W3C XML Schema?
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|