PMI - Added XMLEncode and XMLDecode of data to and from WFM