1. In an XML handling system, wherein XML data sets are stored in structured forms, a method of characterizing an XML dataset comprising: examining the XML dataset to find a match against a first query expression based on a query content sequence; and examining the XML dataset to find a match against a second query expression based on a query structure sequence.