ADD Xml Decoder and Encoder

Change-Id: I79f986d1d66183053641ad84efb0e15cd1b13c8d