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

two columns in a table from one

Subject: two columns in a table from one
From: "Matthew Smith" <msmith@xxxxxxxx>
Date: Mon, 30 Jul 2001 20:30:12 -0400
two columns xslt
How can I turn a list of like named nodes into a two column html table with
xslt?
Here's some sample xml and desired html:

<!-- XML -->
<people>
  <person>John</person>
  <person>Suzy</person>
  <person>Tod</person>
  <person>Mark</person>
  <person>Matt</person>
</people>

<!-- HTML -->
<table>
  <tr><td>John</td><td>Suzy</td></tr>
  <tr><td>Tod</td><td>Mark</td></tr>
  <tr><td>Matt</td><td></td></tr>
</table>

The empty td element in the final row of odd numbered lists isn't
imperative, but would be nice.
Thanks, Matt


 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.