Check if the resource is a xml file, by looking at the file_extension
true if the resource is an xml.
resource id.