Changing the generation of XML a bit to keep OpenBSD happy
Changed 'defined-or' operators to 'or' operators to suport perl 5.8.X