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 allows you to auto-complete attribute set names, template modes and names, and parameter names for a specified mode or a specified named template.
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.
The XSLT hierarchy tool allows you to add breakpoints in included style sheets and/or built-in template rules.
Send feedback about: