<p>Does anybody know if there is a way to create an SQLite database based on an XSD <code>DataSet</code>? In the past, I've just used a basic SQLite manager, but I want to fuse things a bit more with my <code>.NET</code> development if possible.</p>

[{'answer_id': 1420, 'author': 'Shawn', 'author_id': 26, 'author_profile': 'https://Stackoverflow.com/users/26', 'pm_score': 2, 'selected': False, 'text': "<p>I'm sure you could write a small app that takes an XSD file and parses it into a SQL script. I've never seen code out there to do it though, but that's not saying it doesn't exist.</p>\n"}, {'answer_id': 35807, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': "<p>Perhaps you could use an XSL transformation to convert the XSD into SQL table definitions. Likewise, I can't find any prior examples of this, but I'd have thought it would be possible.</p>\n\n<p>I'd imagine a generic XSLT for XSD->SQL, once written, could be applied to any such scenario (and would be cross-platform too). Perhaps somebody has done this before...</p>\n"}, {'answer_id': 176741, 'author': 'Oliver Hallam', 'author_id': 19995, 'author_profile': 'https://Stackoverflow.com/users/19995', 'pm_score': 5, 'selected': True, 'text': "<p>I suspect in the general case this is hard; XML Schema allows for some quite bizarre type constructions.  I'm not sure how you would do substitution groups, or extensions to restrictions of types for example.</p>\n\n<p>However it should be possible to knock something together quite quickly (especially mapping from the classes in System.Xml.Schema) that works for 90% of schemas (i.e. sequence and choice elements with a few simple data types).</p>\n"}]
['https://Stackoverflow.com/questions/246', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/71/']