stxx - 1.0.0
By Jeff Pennal, OpenRoad Communications (www.openroad.ca)

What's new in 1.0.0
- Full support for handling validation errors in ActionForms has been
   added
- The transformation code has been abstracted out into an extendable
   BaseRenderFactory class so you can now create your own rendering
   engines to do the XSL transformation.
- There is a new CachedXSLRenderFactory class which supports caching of
   XSL for increased performance. (Thanks for Don Brown for the code)
- Localization works!
- You can set the directory where your debug output files are written to
   for the rest, see the CHANGES.TXT file for details
       http://www.openroad.ca/opencode/stxx/changes.txt

--------------------------------------------------------------------------------

Struts for transforming XML with XSL (stxx) is an extension of the 
struts framework to support XML and XSL without changing the 
functionality of struts .

stxx sit's on top of struts, extending it's existing functionality to 
allow Action classes to return XML that will be transformed by an XSL file.

The idea of stxx is to remove the need to be use JSP and TagLibs for the 
presentation layer of this framework. However, stxx does not force you 
to go the XML/XSL route, both technologies will work side by side.

Adding XML/XSL support to struts is ALMOST as simple as adding the 
following tags to your struts-config.xml file:
                                                
     <action    scope="request"
         type="com.oroad.stxx.example.ExampleWelcomeAction"
         path="/welcome">
         <forward name="success">
             <!--
                 the transform tags take the XML returned by the Action
                 and transform them. The transform tag used is determined
                 by matching the user agent against the name attribute
                 (or default if nothing matches)
             -->
             <transform path="/login.xsl" name="default"/>              
             <transform path="/login_netscape.xsl"  name="Mozilla" />
             <transform path="/login_msie.xsl" name="MSIE"
                        render="client" />
         </forward>
     </action>



stxx features:
- Enhances the <forward> tag in the struts-config.xml file to allow
   one-many <transform> tags. These <transform> tags represent the XSL
   file to be used depending on the user-agent of the browser accessing
   struts
- stxx automatically appends the ApplicationResources file as XML to the
   Document object returned by the new Actionclass.
- stxx also automatically appends the request parameters and attributes,
   as well as ActionErrors as XML to the Document object.
- stxx will allow you to push the job of transforming the XML to the
   browser
- You can convert the XML output of your Action class to PDF or SVG via
   xsl:fo

Resources:
http://groups.yahoo.com/group/struts-xsl/, the official stxx mailing list

-- 
Jeff Pennal                         p:604-694-0554(x107)
Senior Software Developer           f:604-694-0558
Openroad Communications             e:[EMAIL PROTECTED]
Vancouver, BC


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to