This documentation is archived and is not being maintained.

Working with XML Data 

XML and its related technologies play a large role in the way data is handled in Microsoft Visual Studio. The Visual Studio 2005 release includes new tools and features, which make it easier to work with XML, XSLT, and schemas.

XML Editor

The XML Editor is the new code editor used to edit XML documents. It provides full XML 1.0 syntax checking, schema validation while you type, color-coding, and IntelliSense. If a schema or document type definition is provided, it is used by IntelliSense to list allowable elements and attributes.

Additional features include:

  • XML snippets support, including schema generated snippets.

  • Document outlining so that elements can be expanded and collapsed.

  • Ability to execute XSLT transformations, and to view the results as text, XML, or HTML.

  • Ability to generate XML Schema definition language (XSD) schemas from the XML instance document.

  • Support for editing XSLT style sheets, including IntelliSense support.

XSLT Debugging

Visual Studio now supports debugging XSLT style sheets. Using the debugger, you can set break points in an XSLT style sheet, step into an XSLT style sheet from code, and so on.


XSLT debugging is available in the Professional and Team Editions.

In This Section

XML Editor

Introduces the XML Editor.

Security Considerations When Working with XML Data

Discusses security issues that you need to know about when working with the XML Editor or the XSLT debugger.

Related Sections

Debugging XSLT

Discusses how to debug style sheets using the Visual Studio debugger.

XML Standards Reference

Provides information about XML technologies, including XML, Document Type Definition (DTD), XML Schema definition language (XSD), and XSLT.

Dataset Designer Overview

Provides an explanation of the design-time tools for creating datasets.

XML Designer Topics

Discusses how to use the XML Designer to create and edit XML schema files.

XML Web Services in Managed Code

Discusses how to create and deploy XML Web services and how to access XML Web services.

See Also

Other Resources

XML in Visual Studio