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

Sorting out rowspans

Subject: Sorting out rowspans
From: "Spencer Tickner" <spencertickner@xxxxxxxxx>
Date: Mon, 11 Feb 2008 08:56:57 -0800
 Sorting out rowspans
Hi List,

Thanks in advance for any help. I'm having a hard time figuring a
little bit of XSLT,, Monday maybe. I'm reprocessing some XML from an
Indesign file and trying to figure out how to re-group rowspans.

What I have.

<tr>
  <td>col1</td>
  <td rowspan="2">col2</td>
</tr>
<tr>
  <td>col1</td>
  <td>col1</td>
</tr>
<tr>
  <td>col2</td>
</tr>

Which should be processed to create:

<tr>
  <td>col1</td>
  <td rowspan="2">col2</td>
</tr>
<tr>
  <td>col1</td>
</tr>
<tr>
  <td>col1</td>
  <td>col2</td>
</tr>

Any thoughts on a nice way of doing this.. I'm using XSLT 2.0.

Thanks,

Spencer

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.