Is there a way to get '&' and '<' '>' values into element (innertext) in xml? .....I keep getting an xml parser error
Posted on 2007-10-16
I have some xml that is processed in my app. And whenever, I submit values that contain ">", "<", or "&", I get a parser error. I have a need to somehow get these characters into the database after the app processes the xml.
I could probably just replace these with some unique strings (">" - to "lessthansign09876" or something.., etc.) and then just replace them with the original charecters on the SQL end in the stored proc.
But isn't there any easier way? Isn't there some way I can make these characters "safe" for xml parsing?
Thanks a bunch all!