+

Search Tips   |   Advanced Search


Formatting XML documents with XSLT

Learn how a Struts application supports applying a style sheet to XML data.

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.

You can locate legacy portlets, such as SPFLegacyTransformation.war, from the WebSphere Portal Catalog.


Related information


Parent topic:

Struts Portlet Framework