Dear All, I would like to be able to find the element associated with an @xml:id quickly, without knowing the element path or name. Can this be done with MarkLogic?
The id() function is meant to do this but it is horribly slow when faced with masses of documents. For example, collection()//*...@xml:id eq 'something'] takes thirty seconds and I need it to work in hundredths of seconds instead. (If I put in the element name, the above query runs in about a hundredth of a second.) Best, Tim Finney University of Virginia Press _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
