XML initial implementation