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

table: general template

Subject: table: general template
From: Jan Limpens <jan.limpens@xxxxxxxxx>
Date: Fri, 24 Sep 2004 18:27:41 -0300
general template
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

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.