J
Joe Abou Jaoude
Hi,
in my code, i need to load a string in an xml document.
However this string contains special characters like &,>,<," ...
I need to replace these characters by & < ...
however this is not as easy as it seems, because I have to check for
example if the > is actually a closing tag or an attribute value or
description, or if the double quote is a double quote to enclose an
attribute or a double quote in a description...
I want to know if there's any article or example that addresses this
issue, or if someone has any idea about how to solve it.
Thank you
in my code, i need to load a string in an xml document.
However this string contains special characters like &,>,<," ...
I need to replace these characters by & < ...
however this is not as easy as it seems, because I have to check for
example if the > is actually a closing tag or an attribute value or
description, or if the double quote is a double quote to enclose an
attribute or a double quote in a description...
I want to know if there's any article or example that addresses this
issue, or if someone has any idea about how to solve it.
Thank you