adding xml capability support