String openXML = "" + "" + "" + "" + "" + "" +"" +"" + "" + "" + "" + "" +"" + "Underlined and centred" +"" +"" P p = (P)XmlUtils.unmarshalString(openXML);