Working with XML Data


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Working with XML Data on XML and its related technologies play a large role in the way data is handled in Windows Server 2008 Visual Studio. Visual Studio includes tools and features that make it easier to work with XML, XSLT, and XML schemas.

The XML Editor is 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 snippet support, including schema-generated snippets.

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

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

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

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

  • XML Schema Explorer

The XML Schema Designer is integrated with Microsoft Visual Studio 2010 and the XML Editor to enable you to work with XML Schema definition language (XSD) schemas.

Visual Studio 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.

System_CAPS_ICON_note.jpg Note

XSLT debugging is available in the Professional and Team Editions.

XML Editor
Introduces the XML Editor.

XML Schema Designer
Discusses the XML Schema Designer and working with XML Schema definition language (XSD) schemas.

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.

Creating and Editing Typed Datasets
Provides an explanation of the design-time tools for creating datasets.

XML Web Services in Managed Code
Discusses how to create and deploy XML Web services and how to access XML Web services.

XML Tools in Visual Studio