Just in case you were interested, the XMLTV suite of programs is now available through MacPorts:
https://ports.macports.org/port/xmltv/summary
Once MacPorts is installed, you can install XMLTV with
sudo port install xmltv
Sooner or later, the nearly 200 supporting Perl modules will all be downloaded and installed and you too can test out the fun and exciting world of guide data in XML format on your Mac.
If you find any problems with the package, please let me know via the MacPorts bug tracker. Obviously I can't test all the various grabbers around the world.
Craig