Parse all required variables from XML