xml_resource library