Re: Extract A Subset of a W3C XML Schema?
Here's a crude suggestion. You put the various schemas into editor windows. You make new schemas in other editor windows, one corresponding to each namespace in question, which are empty. The overall schema imports all the other namespaces. Now you copy the known-to-be required elements and/or types from the overall schema to the new schema and validate it (perhaps using the smallest possible document that references any one of these). You fix the errors reported by copying to the new files the bits from the various namespaces that are pronounced missing by the validator and validate again. Eventually, everything needed winds up in the various new files. Jeff ----- Original Message ----- From: "Thomas B. Passin" <tpassin@c...> To: <xml-dev@l...> Sent: Wednesday, July 30, 2003 8:29 PM Subject: Extract A Subset of a W3C XML Schema? > 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. >
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