M
Mike King
How can I process nodes at the same time? In other words, in the example
below I want to process the "t-r" elements and it's child nodes in groups of
two. These groups are going to end up being MS Excel Worksheets.
<?xml version="1.0"?>
<root>
<t-r date-time="11-14-2005 12:29:38" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:29:38" temperature="25C" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" />
</root>
group 1:
<t-r date-time="11-14-2005 12:29:38" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:29:38" temperature="25C" />
group 2:
<t-r date-time="11-14-2005 12:44:21" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" />
group 3:
<t-r date-time="11-14-2005 12:46:02" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" />
below I want to process the "t-r" elements and it's child nodes in groups of
two. These groups are going to end up being MS Excel Worksheets.
<?xml version="1.0"?>
<root>
<t-r date-time="11-14-2005 12:29:38" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:29:38" temperature="25C" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" />
</root>
group 1:
<t-r date-time="11-14-2005 12:29:38" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:29:38" temperature="25C" />
group 2:
<t-r date-time="11-14-2005 12:44:21" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:44:21" temperature="25C" />
group 3:
<t-r date-time="11-14-2005 12:46:02" temperature="25C" path="X2-X3" />
<t-r date-time="11-14-2005 12:46:02" temperature="25C" />