We are currently using XML with XSLT in JSPs, in the following manner, and we'd like to integrate this approach with Struts:
We use a custom tag (similar to the <x:transform> tag slated for inclusion in the standard JSP taglibs) that applies a stylesheet to XML included in the body of the tag. This way, we can use Java and JSP inside the <transform> tag to generate XML, and have our HTML developers create XSLT stylesheets that create the appropriate look for the data represented by the XML. A further advantage of this approach is that we can start by including static XML in the JSP as a stand-in for the dynamic data, so that the HTML developers can create their stylesheets in parallel with the Java developers doing the work to generate the XML dynamically. Now that we're considering moving to Struts, we'd like to be able to let our HTML developers use the Struts html taglib within their stylesheets to generate HTML form elements. But that would require that after the <transform> tag is interpreted, the results are passed again through the JSP interpreter in order to replace the Struts tags with the appropriate HTML form elements. Is this making sense? Does anyone have a suggestion as to the best way to accomplish this? -- +-------------------------------------------------------------------+ | Dave Makower <[EMAIL PROTECTED]> | | http://www.davemak.com/ | +-------------------------------------------------------------------+ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

