|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: table: general template
Hi Jan, I would try with Muenchian grouping on a key: <xsl:key name="columns" match="entry/*" use="local-name()"/> Best regards, Anton Jan Limpens wrote: > > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








