add grouping in xmltokenizer directly