First version of simple XML parser (does not work yet)