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

appropriate use of xsl?

Subject: appropriate use of xsl?
From: rhodespc@xxxxxxxxxxxx
Date: Thu, 22 Aug 2002 14:41:55 -0400 (EDT)
 appropriate use of xsl?
Hi all,

I am struggling with how to solve this problem. I am wondering if I am
using xsl as my one and only hammer.

I have n number of tables, that are all very similar, but in some way
different.  Column names may mismatch.  The date in one table me be in
mm/dd/yyyy, while another may be in yyyy/mm/dd.

I need to display the union of these tables in a homogenous way.  That is,
if I have a column called "order date", i need to display
table1.order_date and table2.orderdate, and in a consistent date format.

One idea I had was to define one standard dtd that would be the format I 
would pass to my application.  I would create an xml file for each
different format, and to define how each attribute would map to the
standard defined in a dtd.  I would use xsl to do the transformation to
the standard format, and to do the data conversion...

Summary:
1) convert the jdbc resultset to an xml file
2) create dtd for the common xml file format
3) create a xsl file for each of the distinct formats that I encounter to
transform them to the common format

I would be interested in hearing any thoughts on this.
Thank you,
Phillip


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


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.