title: Implementing XSLT view in Spring MVC
body: <p>I'm new to Spring Tools Suite 3 and I'm trying to implement XSLT view. So far I've only made this changes:</p>
  
  <p><strong>servlet-context.xml</strong></p>
  
  <pre><code>&lt;bean class="org.springframework.web.servlet.view.xslt.XsltViewResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/views/" /&gt;
      &lt;property name="suffix" value=".xsl" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p><strong>Controller.java</strong></p>
  
  <pre><code>@Controller
  public class HomeController
  {
  @RequestMapping(value = "/", method = RequestMethod.GET)
  public String home(HttpSession session, Model model)
  {
      return "home";
  }
  }
  </code></pre>
  
  <p>My question is how to create XML data source and pass it to XSLT? I would like to see code example.</p>