expanding annot recognition + improved XMLish output