XML core functionality implemented