Convert XML Node directly to XMl String

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!

Thanks,
Bharath.

Email: bharu78@yahoo.com

Bharat,

There is no alternate way of encoding(for a node)and you have to force the initiator to send the data as “Dun & Bradstreet”

Unless you have xml string it would have different matter.

HTH,
RMG.