Print some simple statistics on the extracted results, like the count of extracted instances by each pattern
Output the text of the pattern; If this pattern is a tree, collect the text from its result instance node; otherwise rely on the last_result TODO: throw this away!!!
Output the results as XML
[Validate]