Fixed issue #77.

GenericXmlHandler now outputs empty strings instead of null if no id
attribute is found on record elements