Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>XML CDATA XSLT HighlightingNew to Visual Studio Code? Get it now.
XML CDATA XSLT Highlighting

XML CDATA XSLT Highlighting

Christina Rauscher

|
140 installs
| (0) | Free
Adds XSLT syntax highlighting to CDATA sections in XML files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XML CDATA XSLT Highlighting

XML CDATA XSLT Highlighting is a Visual Studio Code extension that enables XSLT syntax highlighting within CDATA sections of XML files.


Features

  • Automatically detects CDATA sections in XML files.
  • Applies XSLT syntax highlighting within the CDATA blocks.
  • Improves readability and debugging of XSLT code embedded in XML.

Example

With this extension, the following XML code will render the XSLT code inside the block with proper syntax highlighting:

<root>
  <data>
    <![CDATA[
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:template match="/">
            <html>
                <body>
                    <h1>XSLT Inside CDATA</h1>
                </body>
            </html>
        </xsl:template>
    </xsl:stylesheet>
    ]]>
  </data>
</root>

Usage

Open any XML file with CDATA sections containing XSLT code. The extension will automatically highlight XSLT code inside CDATA sections.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft