Added XML core implementation