XML Lexer with string and node mapping and minimizer