Is there a way to use fn:distinct-nodes or fn:distinct-values to
return a set of distinct node that are part of the results xml ?
Example:
<results>
<item>
<addr>24 Short Rd</addr>
<city>Baltimore</city>
<state>MD</state>
<testVal/>
</item>
<item>
<addr>24 Short Rd</addr>
<city>Baltimore</city>
<state>MD</state>
<testVal/>
</item>
<item>
<addr>24 Short Rd</addr>
<city>Baltimore</city>
<state>MD</state>
<testVal/>
</item>
<item>
<addr>24 Short Rd</addr>
<city>Baltimore</city>
<state>MD</state>
<testVal>TEST1</testVal>
</item>
</results>
The highlighted xml is what I would want returned.
Or if all the items are identical, only return a single item.
This is a query result so I would not know the results in advance.
Tony Mariella
Raytheon Company
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general