I have an in-memory constructed xml and it has to be ordered based on the root element's count attribute. This is the current implementation, for $i in $lotsofis order by $i/@count descending return $i
Is there any other better/optimized way of achieving this? If $lotsofis going to holde 1000 records, 1000 iterations will be required. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
