Support for the worldcup.xml
Hi!
I've added support for the worldcup.xml
.
Some important remarks:
- The
worldcup.xml
allows for 2 different views: matches and groups. The contents of the file are considerably different for the 2 views. Because of this, I've decided to create 2 different classes (one for each view) and consequently added 2 methods to theCHPP
class. I think this makes it much simpler to handle and use. - The
viewMatches
option returns objects with empty values. Because of this, I've changed one of the datetime methods inht_xml.py
to returnNone
accordingly. Let me know if you agree with those changes.