Check out Stxx - http://www.oroad.com/opencode/stxx/

| -----Original Message-----
| From: Wendy Smoak [mailto:Wendy.Smoak@;asu.edu]
| Sent: Wednesday, October 23, 2002 11:18 AM
| To: 'Struts Users Mailing List'
| Subject: Struts & XML
| 
| 
| Currently I'm calling a database subroutine (in an Action) that
returns a
| list of keys, and then using a DAO in a loop to build up a List of
Java
| objects that contain the data I need to display.  That List gets put
in
| session scope and then it's off to the resolution.jsp to display it
with a
| <logic:iterate> tag.
| 
| *IF* I changed the database subroutine to return XML, what would I do
with
| it?  I'd have something like this coming back:
| 
| <content>
|  <person>
|   <name>John Smith</name>
|   <birthdate>05/25/1965</birthdate>
|   <status>PP</status>
|   <address>
|       123 State Street
|       City, ST, 12345
|   </address>
|   <source>ALUM</source>
|   <reunion_class>ML1999</reunion_class>
|   <reunion_class>ME2002</reunion_class>
|  </person
| </content>
| 
| (I'm unclear on how to format the address which has multiple lines.)
| 
| Anyway, would I put that String in session scope?  And then... I'm
just
| reading about XSLT now.  Can someone point me in the general direction
of
| which Struts (or other) taglibs I might need?  I'm on Tomcat 4.1.12 &
a
| recent Struts nightly build with the -el tags.
| 
| Thanks in advance,
| 
| --
| Wendy Smoak
| http://sourceforge.net/projects/unidbtags


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to