spring-framework / org.springframework.web.servlet.view.xslt / XsltViewResolver / setSourceKey

setSourceKey

open fun setSourceKey(sourceKey: String): Unit

Set the name of the model attribute that represents the XSLT Source. If not specified, the model map will be searched for a matching value type.

The following source types are supported out of the box: javax.xml.transform.Source, org.w3c.dom.Document, org.w3c.dom.Node, java.io.Reader, java.io.InputStream and org.springframework.core.io.Resource.