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

Creating Columnar Table format with XML data

Subject: Creating Columnar Table format with XML data
From: "Maria Leggett" <maria@xxxxxxxxxxxxxx>
Date: Sat, 13 Aug 2005 19:30:23 -0400
maria leggett
I have an xml file that I need to create into a columnar table format.  I
can't figure out how to group the data to display in a column when not all
the column rows cells will contain data. I am using XSL 1.0
 
sample xml is:
 
  <column title="Capital Markets">
   <bullet ID="1">
     <tip>This is the first tip for Capital Markets.</tip>
   </bullet>
   <bullet ID="2">
    <tip>This is the second tip for Capital Markets</tip>
   </bullet>
     </column>
  <column title="Environment Industry and Company Markets">
   <bullet ID="3">
   <tip>This is the first tip for Environment, Industry and Company
Markets.</tip>
   </bullet>
  </column>
 
The html output should look something like this:
<table>
<tr>
<td>Capital Markets</td>
<td>Environment, Industry and Company Markets</td>
</tr>
<tr>
<td>This is the first tip for Capital Markets</td>
<td>This is the first tip for Environment, Industry and Company Markets</td>
</tr>
<tr>
<td>This is the second tip for Capital Markets</td>

<td></td>
</tr>
</table>
 
Thank you for any help.

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.