I have a xml node object as an input to my service. I can convert node to document using xmlNodeToDocument and then convert it to xml strng. But, my string is not encoded (I have value with eg, “Dun & Bradstreet”). So when I try to convert node to document it will fail. Instead, is there a way to directly convert the node to string so that I do not have to worry about the encoding? Any input will be great or an alternative solution will be good too!