added support for querying multiple xml documents