RE: Model 2 with a half-order of X

2003-03-12 Thread Robert Taylor
Jeff, I haven't tried this before, but it seems like one solution would be to generate your XML doc in the Action (or some delegate) and place it in the appropriate scope and then use XTags (http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html) to transform the doc. Another solution, would

RE: Model 2 with a half-order of X

2003-03-12 Thread James CE Johnson
Jeff, I haven't tried this before, but it seems like one solution would be to generate your XML doc in the Action (or some delegate) and place it in the appropriate scope and then use XTags (http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html) to transform the doc. Another

RE: Model 2 with a half-order of X

2003-03-12 Thread Kris Schneider
If you're able to use JSTL, it makes it pretty easy to leverage a JSP for both the creation of the XML document and the application of a transformation: x:transform xslt=${style} !-- body specifies XML document and transform params -- /x:transform You can also capture the result of the

Re: Model 2 with a half-order of X

2003-03-12 Thread Jeff Smith
Thanks to all who responded. After reading those suggestions and wading through the billion or so pages on XML technologies, I'm going to tackle it this way: 1) I'm already using header/footer/body tiles to construct the pages, so I can isolate my problem to just generating the doc itself in the

Re: Model 2 with a half-order of X

2003-03-12 Thread Robert McIntosh
If you go with JAXP, you can plug in your parser of choice, such as Xerces/Xalan. You can also plugin Dom4J (www.dom4j.org), if you want a lighter weight DOM model. I haven't used it yet personally, but they have some nice features, support JAXP (among others), built on the Collections API and

RE: Model 2 with a half-order of X

2003-03-12 Thread Patrick Peak
avoids Action chaining. Patrick For more info on controllers see http://blogs.browsermedia.com/patrick/index.do?date=20030211. -Original Message- From: Jeff Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 12:03 PM To: Struts Users Mailing List Subject: Re: Model 2