Chapter 20 Quick Reference


To

Do this

Parse XML without validation.

Create an XmlTextReader, and pass it the name of a file. Then use the Read method to read nodes from the file.

Parse XML with validation.

Create an XmlTextReader, and then use it to initialize an XmlValidatingReader. Create a handler function for validation events, and attach it to the ValidationEventHandler event of the XmlValidatingReader.

Work with XML in memory.

Create an XmlDocument, and use its Load or LoadXml function to parse XML into a DOM tree in memory.




Microsoft Visual C++  .NET(c) Step by Step
Microsoft Visual C++ .NET(c) Step by Step
ISBN: 735615675
EAN: N/A
Year: 2003
Pages: 208

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net