The System.XML Assembly

.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

    Requires Free Membership to View

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.

This was first published in July 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.