I am trying to generate XSDs for our project. I have XML that comes from a search engine which, depending on the query parameters and other variables, conditions, etc., may not contain certain elements.
Is there a way I can run through a bunch of sample XML documents and come up with a super-set schema? Example: Only when an error occurs will the document contain the 'error' structure. If I use the inst2xsd tool on a good sample XML (one that ran without errors) the structure will not be there. So, I have to assemble the complete structure by hand before I use the inst2xsd tool. Any suggestions would be greatly appreciated. -- View this message in context: http://www.nabble.com/How2-Generate-XSD-from-XML-that-can-have-variable-content-tp16048281p16048281.html Sent from the Xml Beans - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

