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
  • 398,947
  • 96
  • 818
  • 769
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
  • 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,763
  • 3
  • 35
  • 65