Subject: [xsl] table: general template From: Jan Limpens <jan.limpens@xxxxxxxxx> Date: Fri, 24 Sep 2004 18:27:41 -0300 |
hello all, this is a bridge probably thousands have crossed already, so I'd be glad for a direction... i need to make a html table <table> <tr> <th>some header from the local-name()</th> ... </tr> <tr> <td>some data matching the header</td> ... </tr> ... </table> This would be easy, if i knew the elements I will get, but instead of this I have: <log> <entry> <a>foo</a> <b>foo</b> </entry> <entry> <a>foo</a> <b>foo</b> <c>foo</c> </entry> <entry> <x>foo</x> <b>foo</b> </entry> </log> so all a's get into the a column, b's in the b columns, and if there is no c in an entry, it should make a blank <td> any links? ideas? thanks a lot! -- Jan http://www.limpens.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] flat structure to deep st, Jeni Tennison | Thread | Re: [xsl] table: general template, Anton Triest |
Re: [xsl] value-of and param, Oleg Tkachenko | Date | Re: [xsl] table: general template, Anton Triest |
Month |