I'm trying to figure out how to use the struts2 XSL ResultType. I just can't figure out how it is supposed to work and aside from the official documentation, I've found maybe two articles online that tried to explain it (unsuccessfully for me).
My understanding of how it works is I create an xsl stylesheet, then I have a struts action setup that somehow returns an xml document. The action applies the assigned xsl stylesheet to the xml document and it outputs the desired xhtml to the browser. Is this correct?
If my understanding is correct, can someone provide a clear, concise explanation of how I set up my action class to return an xml document that can be transformed?
If my understanding is incorrect, can someone please correct me and explain how it is supposed to be used?
Thanks!