Alexandr Molochnikov wrote:
> SpaceGirl, you lost me.
>
> Your first response: XML is your friend
> Your next response: And... "no"
>
> I suppose these are the responses to different parts of my post, but which
> ones? (Esp. the "no" response).
>
> Alex.
Okay, XML for handling the stuff when it comes out of your database, or
even store it natively in XML. Makes life SOOOOOOOO much easier if
you're groing to translate it into other stuff. Especially reports.
Using XSLT you could turn your XML report into a PDF, an XHTML web page,
a CSV that'll load happily in Excel... whatever just using a little
XSLT. As for the images, leave them as they are, spit them out as jpegs
as and when needed. We do this for one project; we have scriptlets that
generate reports in XML, and using XSLT and CSS they get turned into web
pages. In turn we use XSLT to let the user save reports as PDF and CSV.
Also the reports contain graphs generated by CEWOLF, which get spat out
as jpegs, which can easily be sent to the users browser without actually
having to be stored on the server anywhere.
So, a combination of XML, XSLT, JSTL & scriptlets, and a bit of CSS on
the front end. Works really well.
--
x theSpaceGirl (miranda)
# lead designer @
http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #