.NET Developer Tip
(Receive this column in your inbox,
click Edit your Profile to subscribe.)
The System.XML Assembly
Peter G. Aitken
The .NET Framework is the foundation of Microsoft's next generation of development tools. Given the increasing importance of XML in all areas of programming and data processing, the inclusion of powerful, integrated XML support in .NET is not surprising. The book chapter from which this tip comes, excerpted from InformIT, provides a brief overview of .NET and then details the XML tools that are provided by the Framework and the Visual Studio .NET development environment.
XML support in .NET is provided by the classes in the System.XML namespace, or assembly. An assembly is a collection of related classes. In the case of System.XML, the classes are related by having to do with XML processing. The primary classes are as follows:
- XmlTextReader: Provides forward-only, fast, noncached access to XML data
- XmlValidatingReader: Used in conjunction with the XmlTextReader class to provide the capability for DTD, XDR, and XSD schema validation
- XmlDocument: Implements both level 1 and level 2 of the W3C Document Object Model specification
- XmlTextWriter: Permits generation of XML documents that conform to the W3C XML 1.0 specification
- XmlNavigator: Supports evaluation of XPath expressions
Note that the Simple API for XML (SAX) is not supported in .NET. Similar functionality is provided by the XmlTextReader class, although there are significant differences, which are detailed later in the chapter.
To read the entire article from which this tip is excerpted, click over to InformIT. You have to register there, but the registration is free.
For More Information:
- Looking for free research? Browse our comprehensive White Papers section by topic, author or keyword.
- Are you tired of technospeak? The Web Services Advisor column uses plain talk without the hype.
- For insightful opinion and commentary from today's industry leaders, read our Guest Commentary columns.
- Hey Codeheads! Start benefiting from other time-saving XML Developer Tips and .NET Developer Tips.
- Visit our huge Best Web Links for Web Services collection for the freshest editor-selected resources.
- Choking on the alphabet soup of industry acronyms? Visit our helpful Glossary for the latest lingo.
- Visit Ask the Experts for answers to your Web services, SOAP, WSDL, XML, .NET, Java and EAI questions.
- Discuss this issue, voice your opinion or just talk with your peers in the SearchWebServices Discussion Forums.