Massaging the xml in markdown