Added ability to create string loc from xml elemtn