Refactoring to isolate WKT2GML and XML2String conversions.