1

We would like to read information out of an xsd file in order to create a table with the same structure.

Is the way to do it just opening the file as an xml file, then parsing it, or is there a better way to do it?

skaffman
  • 390,936
  • 96
  • 800
  • 764
Shiraz Bhaiji
  • 62,289
  • 31
  • 137
  • 240
  • This question about creating a SQL Table from XSD was already asked here : http://stackoverflow.com/questions/403420/convert-xsd-into-sql-relational-tables and here : http://stackoverflow.com/questions/138575/how-can-i-create-database-tables-from-xsd-files – LaGrandMere Dec 28 '10 at 13:02
  • @Oded, we are planning on using a sharepoint list – Shiraz Bhaiji Dec 28 '10 at 13:21

1 Answers1

2

XmlSchema.Read Method: http://msdn.microsoft.com/en-us/library/system.xml.schema.xmlschema.read.aspx

fejesjoco
  • 11,577
  • 3
  • 32
  • 63