This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
How can I do a rowspan in XSL, so that if a field in a table has two values, those values can be separated into two sub-fields? I think the best way to ask is to show what I want something to look like and what I have in my XSL right now. Here's what I would want a row to look like:
Basically a task can have a spacecraft, ground station, or both, and each one of those will have a resource field associated with it. So rowspan is going to be variable. Right now, my XSL looks like:
This works fine, and displays the appropriate data, but it would be nice to have some sort of separator within the SC_GS and Resource fields for easier viewing. Programmatically it was easy to this when I was building the HTML page with a servelt. However, doing the same with XML and XSL is proving a bit trickier. Any help would be appreciated. Thanks! Jason
It's not a huge issue, more a nice-to-have. Our XSL displays the table with borders around each field. Somtimes a single row will have a field that will contain two data instead of one, so splitting that field into two smaller fields, but still on the same row, would be ideal. Basically two boxes within one box.