Hi I have a not valid xml "<samplexml> my text with & or < chars </samplexml>"
I want to convert it to a valid XML, replacing the special chars in text. So result will be:
"<samplexml> my text with & ; or < ; chars </samplexml>"
Do anyone knows some lib in Java that already solves this problem?
thx