Question
Remove NULL character in XML by RegEx??
I have XML being returned that appears to have NULL
characters in it. When I try to use XMLParse() I get the following
error:
An invalid XML character (Unicode: 0x0) was found in the element content of the document.
If I save the XML to .txt file then read it again I can parse it. That's not really the way I want to do it though as it'll be slow. I'm sure this can be done through a regex. Any ideas?
An invalid XML character (Unicode: 0x0) was found in the element content of the document.
If I save the XML to .txt file then read it again I can parse it. That's not really the way I want to do it though as it'll be slow. I'm sure this can be done through a regex. Any ideas?