Parse filters from XML.