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

RE: creating a dynamic table

Subject: RE: creating a dynamic table
From: cknell@xxxxxxxxxx
Date: Tue, 18 Mar 2003 13:03:57 -0500
creating a dynamic table
Do I understand you to say that you want to generate a table with exactly three rows and as many columns as required to display all the LEGENDA elements?
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Carlos Barroso <est-c-barroso@xxxxxxxxxxxxx>
Sent:     Tue, 18 Mar 2003 17:30:15 -0000
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:   creating a dynamic table

Can someone help me on this.
I have a xml file with content like:

<LEGENDAS>
		<GRUPO id="TS" descricao="Tipos de Saldos:">
			<LEGENDA nome="BIN" valor="Bonus Liga Pra Mim"/>
			<LEGENDA nome="INI" valor="Saldo Inicial"/>
			<LEGENDA nome="BRM" valor="Bonus de Recargas Mai$
Mai$"/>
			<LEGENDA nome="BON" valor="Bonus genericos"/>
			<LEGENDA nome="NOR" valor="Saldo normal de
recargas"/>
			<LEGENDA nome="GRP" valor="Saldo do grupo"/>
			<LEGENDA nome="SMS" valor="Saldo de SMS"/>
		</GRUPO>
</LEGENDAS>

And I need to transform it to html so that it stays like:

Tipos de Saldos:

BIN - Bonus Liga Pra Mim	BON - Bonus genericos			SMS
- Saldo de SMS
INI - Saldo Inicial		NOR - Saldo normal de recargas
BRM - Bonus de Recargas		GRP - Saldo do grupo


How can I put the information in a html table, creating columns dynamically
when the number of "LEGENDA" elements is 3?

Can someone please help. It's important.

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




 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.