osm2gml

Does anyone have a copy of osm2gml.xlt that works for them on a Mac? I’ve tried copying and pasting the code from http://wiki.openstreetmap.org/wiki/Converting_OSM_to_GML, but have not been able to complete(or able to understand) the small fix needed to one of the lines of code. Any one who could share a working copy of this file with me would be a person of distinction.
Regards,
Gord