.NET and XML (or XML in.NET) Matt Harding David Oguns
Agenda Microsoft Design Goals XML Reading and Writing DOM in.NET
Design Goals W3C Standards Compliant Extensible Pluggable Performance Integration with ADO.NET
XML Namespaces System.Xml System.Xml.Schema System.Xml.XPath System.Xml.Xsl
XML Reading Exposed through a few classes: –XmlReader abstract class –XmlTextReader, XmlValidatingReader, XmlNodeReader implementations Uses pull parsing –Allows for recursive decent approach –*Apple Property List Example
XML Writing XmlWriter abstract class –One implementation => XmlTextWriter Methods are almost parallel to XmlReader class *Apple Property Lists Revisisted
DOM in.NET More or less the same as in Java XmlDocument inherits from XmlNode which implements IXPathNavigable.
More Information We didn’t cover everything: – Microsoft also uses an XML based documenting tool
Closing If you are writing applications that use XML and web services extensively, consider using the.NET platform to take advantage of Microsoft’s elegant solutions.