Added a dedicated method to load XML from source strings.