Subject: Re: [xsl] creating a dynamic table From: "Ritu" <rkama@xxxxxxxxxxx> Date: Tue, 18 Mar 2003 11:51:18 -0600 |
Hi Calros, Generating the HTML is fairly easy, but what I could not gather is the condition on which you group the elements together. How do you identify the order in which elements are displayed out in HTML table as follows: 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 Ritu Kama Sarvega Inc 745, McLintock Dr Burr Ridge IL - 60527 ----- Original Message ----- From: "Carlos Barroso" <est-c-barroso@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, March 18, 2003 11:30 AM Subject: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] creating a dynamic table, Carlos Barroso | Thread | RE: [xsl] creating a dynamic table, Américo Albuquerque |
[xsl] creating a dynamic table, Carlos Barroso | Date | [xsl] performance of variables in a, florian |
Month |