Docs
Formats
XML

XML

Learn how Vale handles XML content.

XML is supported through the external program xsltproc. To install, see:

  • Chocolatey (Windows): choco install xsltproc.
  • Homebrew (macOS): brew install libxslt.
  • Debian/Ubuntu/apt-based systems: apt-get install xsltproc.

You’ll need to ensure that the xsltproc executable is available in your $PATH.

The supported extension is .xml.

You also need to provide a version 1.0 XSL Transformation (XSLT) for converting to HTML:

ini
[*.xml] Transform = docbook-xsl-snapshot/html/docbook.xsl

Once converted, Vale will follow the same rules as it does for HTML.