This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL vs. Parsing/Filling and Reading from an Object


hi,

It sounds like you have a good separation of concerns going on already. 
Why do you want to change?

You could benefit from XSL if you need to create mutliple type of output 
documents (pdf, wap, etc).

You might want to look at apache's cocoon. It sounds like you aggregate 
your content before transformation and cocoon is set up nicely for that. 
Cocoon seems to be growing/advancing by leaps and bounds.

best,
-Rob


Katie McNally wrote:

> We are trying to decide which approach to use to create new pages for 
> the site we are building.  The current approach for the existing pages 
> involves a servlet calling a session bean, which sends an XML request 
> to a 3rd party vendor, which returns XML.  The session bean parses the 
> xml into a hashtable and then passes the hashtable back to the 
> servlet.  The servlet puts the data from the hashtable into an object, 
> and the object is placed in the session.  The jsp then retrieves the 
> object from the session to build the page presented to the user.
>
> We are considering an XSL approach (using the Xalan processor) to 
> transform the XML returned by the 3rd party vendor.  The things we are 
> considering for our decision are performance, time-to-build and 
> complexity of page maintenance/creation of future pages (the current 
> pages are read-only, but future pages may be transactional/editable).  
> The pages currently being designed will involve the retrieval of XML 
> about 35 KB in size (although future pages may require the retrieval 
> of XML greater in size).  The logic necessary to create the read-only 
> pages is medium in complexity, but future pages may require greater 
> complexity.
>
> If you have any suggestions/input on either approach, I would 
> appreciate it.  Let me know if I need to provide additional information.
>
> Thanks, Katie
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]