[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

(newbie) Advice on using database or XSLT for formatti

Subject: (newbie) Advice on using database or XSLT for formatting?
From: "Glen Mazza" <grm7790@xxxxxxxxx>
Date: Thu, 31 Mar 2005 17:47:31 -0500
formatti
Hello,

I'm using Apache FOP to generate a PDF report from data in an Oracle
database.  Xalan is the XSLT processor I'm using.  This data consists of
many Oracle number and date datatypes, as well as some char/varchar2 fields.

I notice that I have two options with respect to formatting:  I can use
format-number() and extension EXSLT methods for formatting dates.  Or, I can
do the same within the Oracle database while querying the information (i.e.,
use the Oracle TO_CHAR function to get numbers and dates formatted as I
desire.)

Are there any general guidelines, rules-of-thumb in terms of where I should
do element formatting--database or stylesheet?

Thanks,
Glen

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.