[xsl] Generating XSD Schema files from XML source files

Subject: [xsl] Generating XSD Schema files from XML source files
From: Neil Owens <neil_owens@xxxxxxxxxxx>
Date: Tue, 9 Nov 2010 14:26:57 +0000
I have a need to generate XSD Schema files from source XML files and I've no
idea what would be the current 'best practice' way to go about it?

Just write an XSL transform that does the XML result file to Output and the
schema to a result-document?  Or something else/better? 

I've approx 500 XML source files where parts of each one need placing into a
database.  What I've done so far, with Saxon9 and XSLT2, combined with this -
http://msdn.microsoft.com/en-us/library/ms171806.aspx - does it all, except
generating the Schema file.

TIA!

Current Thread