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

RE: Dynamic columns for xslt

Subject: RE: Dynamic columns for xslt
From: "Rick Roen" <Rick@xxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Jun 2006 16:41:43 -0500
xsl dynamic columns
I'm working on something similar to this right now.

I have a sales document xml that might be output for various purposes, i.e.
order confirmation, packing list, invoice, customs declaration etc.  Each
type of output document will have a different table column assortment.

If you can put the column information into the xml, something like this

<colunmns>
	<col>Title 1</col>
	<col>Title 2</col>
	...
</columns>

Then you can just read all the <col> nodes and insert them into the table
(html-th or fo:table-header?).

In my case, I'm storing the column definitions in the stylesheet and
accessing the appropriate one based on the type of document output.

HTH,

Rick

-----Original Message-----
From: Tham Tinh [mailto:khautinh@xxxxxxxxx] 
Sent: Monday, June 12, 2006 3:25 PM
To: XSL List
Subject:  Dynamic columns for xslt

Hello all,

I have a dump question please.  Is there a way to
create a dynamic XSLT file?  For example:

I have customers who will create xml file and the xml
will have dynamic columns.  I like to build a xslt
file and can be fed the dynamic columns from those xml
files.

Thanks.

"It is essential to know that to be a happy person, a happy family, a happy
society, it is very crucial to have a good heart, that is very crucial,"
Dalai Lama

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.