Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.48 KB

xml-editor.md

File metadata and controls

57 lines (36 loc) · 2.48 KB
titledescriptionms.datems.topicauthorms.authormanagerms.subservice
Explore features of the XML editor
Use the XML editor in Visual Studio, which is based on the text editor and supports syntax checking, schema validation, and other features for XML languages.
11/04/2016
overview
dzsquared
drskwier
mijacobs
xml-tools

XML editor

The XML editor in Visual Studio is based on the text editor and includes additional support for the XML languages. When you open an XML file in Visual Studio, it opens in the XML editor.

The XML editor includes the following features:

  • XML 1.0 syntax checking.

  • Schema validation while you type.

  • XML snippets support, including schema-generated snippets.

  • Support for Document Type Definition (DTD).

  • Support for XML Schema definition language (XSD) schema.

  • Creating an XML Schema from an XML instance document.

  • Converting a DTD or XML-Data Reduced (XDR) schema into an XML Schema.

  • XSLT syntax checking.

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

  • Integration with the XML Schema Explorer. This provides a hierarchal view of XML schemas.

The XML editor is invoked for well-known file extensions, such as .xml, .xsd, .xsl, and .config. It is also invoked on any unknown file extension if the file appears to contain XML.

XSLT IntelliSense

XSLT IntelliSense allows you to auto-complete attribute set names, template modes and names, and parameter names for a specified mode or a specified named template.

XSLT profiler

The XSLT profiler creates detailed XSLT performance reports that help you measure, evaluate, and target performance-related problems in XSLT code. The XSLT Profiler also includes useful hints for XSL and XSLT style sheet optimizations.

XSLT hierarchy

The XSLT hierarchy tool allows you to add breakpoints in included style sheets and/or built-in template rules.

See also

close