|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem using tables with grouping in xsl 2.0
I apologize for the original message...it had some formatting errors that resulted in a typo. The if statement should read 'position()!=1'. Thanks, David ----- Original Message ----- From: David Brown <david.brown@xxxxxxxxxxx> Date: Wednesday, January 26, 2005 2:18 pm Subject: Problem using tables with grouping in xsl 2.0 > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








