omit node handling
omit tests
added elseif  and else attribute
spaces between ifs removed