Edit online

XPath Preferences

To configure the XPath Formatting options, open the Preferences dialog box (Options > Preferences) and go to Editor > Format > XPath.

The following option is available:

Format XPath code embedded in XSLT, XSD and Schematron files
If selected, the Format and Indent action applied on an XSD, XSLT, or Schematron document will perform an XPath-specific formatting on the values of the attributes that accept XPath expressions.
Note: For XSLT documents, the formatting is not applied to attribute value templates.