Re: [xml] Error on parsing HTML with libxml

2018-08-17 Thread Liam R E Quin
On Fri, 2018-08-17 at 14:42 +0200, André Rothe wrote: > > https://3v4l.org/O0iEf Try changing ...writeln(''); to ...writeln('<' + '/td>'); and see if that helps; or use a CDATA section, to escape the markup from the HTML parser. Although it may depend on what the

Re: [xml] Error on parsing HTML with libxml

2018-08-17 Thread Eric S Eberhard
I could be way off base -- don't you have to encode the portions in the js? Otherwise I can see it being confused. The js looks like data and it can't have < or > in it. https://stackoverflow.com/questions/1398571/html-inside-xml-should-i-use-cdata-or-encode-the-html Eric Eric S Eberhard