The tag string generator (Engineered for making XML or HTML5 soup)