Ignoring empty element attributes