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

Re: Dynamic column in table

Subject: Re: Dynamic column in table
From: Mike Brown <mike@xxxxxxxx>
Date: Sun, 25 Aug 2002 11:59:27 -0600 (MDT)
dynamic column
Shabbir Rahman wrote:
> [see original message for XML]
>
> I have to create a table like spreadsheet for each ostl.
> Can anyone help me with a example of xsl-fo file or xsl file.
> Output will be like this
> 
> Color\Size         S        M        XL       L        XXL      Total

> Green              5000     5000     4000     7000        0     21000

> Baown/             3000     6000     7000     5000     3000     24000
> Beige Melange
> 
> Total              8000    11000    11000    12000     3000     45000

When you say "dynamic column", do you mean you want the columns to be
determined by the sizes in that ostl, as opposed to being hard-coded as
S,M,XL,L,XXL? If so, then this is a grouping problem.

Techniques for table generation and grouping are discussed
http://www.dpawson.co.uk/ and http://www.jenitennison.com/ .
You should review the examples there and experiment.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 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.