tile set parsing, conversion from XML string to internal enum type