XML : How to escape # in XML

I am aware of that # is not a invalid XML character. The product that I am working with, it is part of invalid char due to SQL injection stuff.. Now I need to find a way around that validation to pass the XML with # character. So I had no luck.

Tried many combinations of encoding not sure how to encode # in XML.

PS: Those who are down voting please provide an reason for the same.

No comments:

Post a Comment