Formatting XML documents with XSLT


The typical way that a Struts application supports applying a style sheet to XML data is to implement a Struts Action that writes directly to the response object. The IStrutsPrepareRender interface allows implementing a Struts action that will be executed in the render phase of portal, and therefore will have a response object that can be written to. The SPFStandardTransformation.war and SPFLegacyTransformation.war are examples of how to implement a Struts action in the Struts Portlet Framework that can apply a style sheet to an XML document.

 

See also

Home |