Interface and default implementation for the transformation of raw text into XML.