I am reading data over a socket and parsing it with LibXML.
The problem that I am currently having is that sometimes there is a web link in the data which breaks the parser.
http://example.com/?key=value&key2=value
Is there any way to convert that to html characters?
Something like the above to
http://example.com/?key=value&key2=value
Example of socket data:
<node link="http://example.com/?key=value&key2=value" />