xml escape for types isInTag