That's the best you're going to get for in-memory constructed XML. -jh-
On Oct 9, 2012, at 2:42 PM, Vedavalli Radhika wrote: > 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 _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
