,ch14.9433 Page 483 Monday, February 14, 2005 12:55 PM
The success forward specifies a path of simple/viewUserList.dox. The forward is pro
cessed by STXX and matched against patterns in the stxx pipelines.xml file. In this
example, the matching pattern defines a simple XML to XHTML transformation
using an XSL stylesheet:
Performs simple XSLT transformations
element specifies the context relative path to the XSL stylesheet. The
value contains a substitution value retrieved from the wildcard matched path.
notation looks familiar, that's because it's the same wild
card matching approach shown in Recipe 7.8. Wildcard mappings, as
well as the STXX pipeline approach, originated in the Apache Cocoon
In this case, the transformation uses the xsl/viewUserList.xsl stylesheet shown in
Example 14 34.
Example 14 34. XSL stylesheet that renders the user list
select="/stxx/applicationResources/key[@name= link.index ]"/>
Integrating Struts and XSLT | 483
This is the Title of the Book, eMatter Edition
Copyright 2005 O'Reilly & Associates, Inc. All rights reserved.