spring-framework / org.springframework.web.servlet.view.xslt / XsltView / setIndent

setIndent

open fun setIndent(indent: Boolean): Unit

Set whether the XSLT transformer may add additional whitespace when outputting the result tree.

Default is true (on); set this to false (off) to not specify an "indent" key, leaving the choice up to the stylesheet.

See Also
javax.xml.transform.OutputKeys#INDENT