xml. Click Add.
XMLFile1.xml opens in the IDE and contains a single header line. Delete the XML that is there, and paste
the XML that you copied from Orders.xml to the Clipboard. Save the new XMLFile.xml file.
Next, return to Solution Explorer and add a new item, this time selecting an XML Schema template
from the Add New Item dialog. When the schema opens, delete the default contents of the file, add the
following XML, and save it:
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.AdventureWorks.com/Orders"
xmlns="http://www.AdventureWorks.com/Orders"
elementFormDefault="qualified">
minOccurs="0" maxOccurs="unbounded"/>
minOccurs="0" maxOccurs="unbounded"/>
350
Appendix C: LINQ to XSD
You??™re not quite done yet.
Pages:
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542