Convert xmlChar to wstring.