> Yes, searching for Grouping and XSLT using Google should help. I can't
work out from your example what the pattern for grouping should be, so
I can't provide example code...
I have searched an haven't found the solution yet. Maybe it would help if I
provide more information. I'm trying to produce a PDF document. I have
written an application that will take a XML document as an input and produce
a PDF document based on that document. The problem I'm having is the XML
structure that I have chosen requires that each sheet be represented as an
<sheet> element. So here's a sample document that represents that PDF
document:
<sheets>
<sheet>
<table>
<column>
<cell>some text</cell>
</column>
</table>
</sheet>
</sheets>
The problem is I want to take ten or some other number of test-results
elements and group them together on one sheet and then another ten or so on
the next sheet and so on. Here's an example of a XML document where I'm
trying to group the Test Results on a sheet.
::: Source document:::
<root>
<test-results title="some title" date-time="2004-01-01 01:01:00">
<start-up-time passed="true">
<spec min="1" max="4" />
<results>2.31</results>
</start-up-time>
<!-- many other tests -->
</test-results>
<test-results>
<start-up-time passed="true">
<spec min="1" max="4" />
<results>2.64</results>
</start-up-time>
<!-- many other tests -->
</test-results>
<!-- many other test results -->
</root>
:::Resultant document:::
<sheets>
<sheet>
<table>
<column>
<cell>Start Up Time</cell>
</column>
<column>
<cell>2.31</cell>
</column>
<column>
<cell>2.64</cell>
</column>
</table>
</sheet>
</sheets>