Thanks for the reply;
I had thought the solution would be altering the XML.
Ensdorf Ken wrote:
>
>> The problem is that the indexed form of this XML is flattened so the
>>
>> entity has 2 garage names, 2 min values and 2 max values, but the
>> grouping
>> between the garage name and it's min
> The problem is that the indexed form of this XML is flattened so the
>
> entity has 2 garage names, 2 min values and 2 max values, but the
> grouping
> between the garage name and it's min and max values is lost. The
> danger is
> that we end up doing a comparison of the min-of-the-mins and the