Use FilterType strings in XML