Basic XML loading, load resource defs from XML.