Removed type alias (xml = Xml.xml).
of_xml function (and intermediate functions for all types) implementation.