xml.py: Added first few functions