vincentnl Posted May 9, 2003 Posted May 9, 2003 I am new to XML and had some trouble making a database based on xml. (xml file for simple records) I created an xsd containing a simple element.The problem that occurred was that I only could fill the structure once. It can only contain one root element. I can not add multiple instances. solution i found was to create a dataset. Now a xsd and vb file is generated. What xml-tags allow multiple instances ( so i can make a table, in stead of single element) Quote
*Experts* Nerseus Posted May 9, 2003 *Experts* Posted May 9, 2003 XML can only have one root node. You normally stick your tables and/or rows under that. If you create a DataSet, you can see it's XML representation by using: myDataSet.GetXml() or write it to a file with myDataSet.WriteXml() -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.