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

Problem using tables with grouping in xsl 2.0

Subject: Problem using tables with grouping in xsl 2.0
From: David Brown <david.brown@xxxxxxxxxxx>
Date: Wed, 26 Jan 2005 14:18:22 -0500
xsl using tables
I'm in a situation where I'm creating an html table from groups. I want =
to have my gouping key in one column, and the elements of the group in =
the next column. The elements should appear one per row, and the key =
will span these rows.

The problem I have is that to create the appropritate table, all but the =
first element of the group needs both <tr> and <td> tags, while the =
first does not. However, I can find now way to distinguish the first =
element from the rest. In the 1.1 xsl, I used 'if position()!=3D1', but =
it seems that position returns the element's position within the =
document, not within the group.

If you need me to try to include code I can, but it's pretty confusing =
out of context, so I thought it would be easier to just describe the =
problem.

Thanks for any advice you might have.

-David

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.