<div dir="ltr">Hello,<br><div class="gmail_quote"><div dir="ltr"><div><br></div>I am using the web-server/servlet library to deploy an html:<br><br>(let ((start (lambda (req) <br> (response/xexpr <br> (string->xexpr (include-template "ui/page.html"))))))<br>
<br><br clear="all"><div><div>Page.html includes Javascript code and everything works well until I try to use a comparison operator. So for example, when read-xml tries to read the javascript for loop<br><br>for (var i=0;i<nodeList.length;i++) {<br>
alert("hello");<br> }<br><br></div><div>It gives the following error:<br><br>read-xml: lex-error: at position 42.59/1747: expected / or > to close tag `nodeList.length'<br>
<br></div><div>It turns out it believes the operator '<' is an opening xml tag.<br><br></div><div>Has anyone found a way to fix/circumvent this problem?<br><br></div><div>Thanks a lot.<br></div><div><br></div>
</div>
</div>
</div><br></div>