问题:
You create a Web application to process XML docume
选项
Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.
Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.√
Read the XML file into a DataSet object and set the EnforceConstraints property to True.
Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
答案:
B.Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.