Classes to support XML-based representation of queries and their results.