Added some simple XML processing support