I have a dataset with a large number of attributes I want to write to KML. Since most of the fields for any one record will be empty I'd like to check each field of each record and remove the field if it does not contain data. The search criteria for each field are the same so I'd like to loop the attributes from an array of some sort.
I've looked at lists and looping in custom transformers but I can't quite see a path.
Any suggestions would be greatly appreciated,
Alan