resources now parsed from xml.