from an xml file there is no problem, but from a String, not how.