No, not in general. The XSLT specification does not allow WHIT spaces to be used for indentation.
However, it can be customized for a specific element of the XSLT processor. Check the documentation for the one you are using.
If you really want this, you can use the XSLT script burner at the output, which does everything you want to do on the text () nodes.
source
share