Hi guys :)<br><br>I am trying to make an on-the-fly route display.<br><br>I managed to send the request to the PHP page to generate and XML response and a copy of this response can be found here : <a href="http://yancho.pastebin.com/f41432b0d">
http://yancho.pastebin.com/f41432b0d</a> . The URL which is sending the data is : <a href="http://yancho.no-ip.org/~yancho/routing.php?startpoint=642983.5%20225176.75&amp;finalpoint=641780.375%20224942.375&amp;method=SPA&amp;region=streets&amp;srid=-1&amp;_=">
http://yancho.no-ip.org/~yancho/routing.php?startpoint=642983.5%20225176.75&amp;finalpoint=641780.375%20224942.375&amp;method=SPA&amp;region=streets&amp;srid=-1&amp;_=</a> &nbsp;And these are the headers of the reply according to FireBug : 
<a href="http://yancho.pastebin.com/f18cadf12">http://yancho.pastebin.com/f18cadf12</a><br><br>Small Extract&nbsp;Of&nbsp;the&nbsp;XML&nbsp;Output : <br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot; ?&gt;
<br>&lt;route&gt;<br>        &lt;edge id=&#39;1&#39;&gt;<br>                &lt;id&gt;3612&lt;/id&gt;<br>                &lt;wkt&gt;MULTILINESTRING((642847.022664808 225275.125294559,642901.453947967 225273.479351758))&lt;/wkt&gt;<br>                &lt;length&gt;0.054&lt;/length&gt;
<br>        &lt;/edge&gt;<br><br>But the problem is when I get to display the route. When I click on Compute Route, on my site : <a href="http://yancho.no-ip.org/~yancho/openl.html">http://yancho.no-ip.org/~yancho/openl.html</a>
<br><br>I get this error :<br><br>String contains an invalid character&quot;  code: &quot;5<br><a href="http://yancho.no-ip.org/~yancho/OpenLayers.js">http://yancho.no-ip.org/~yancho/OpenLayers.js</a><br>Line 554<br><br>And further investigations in FireBug shows : 
<br><br>String contains an invalid character&quot; code: &quot;5<br>emptyFunction()OpenLayers.js (line 189)<br>getImagesLocation()OpenLayers.js (line 101)<br>emptyFunction()OpenLayers.js (line 189)<br>dispatch(&quot;routing.php
&quot;, Object method=get)OpenLayers.js (line 191)<br>Class()OpenLayers.js (line 57)<br>nullHandler(&quot;routing.php&quot;, &quot;startpoint=642983.5%20225176.75&amp;finalpoint=641780.375%20224942.375&amp;method=SPA&amp;region=streets&amp;srid=-1
&quot;, null, displayRoute(response), undefined)OpenLayers.js (line 187)<br>compute()openl.html (line 152)<br>onclick(click clientX=0, clientY=0)openl.html (line 1)<br>[Break on this error] if(style.cursor){node.setAttributeNS
(null,&quot;cursor&quot;,style.cursor);}},createNode:f...<br><br>Any idea how I can fix my code please? A copy of the code can be seen highlighted here : <a href="http://yancho.pastebin.com/f335b8727">http://yancho.pastebin.com/f335b8727
</a><br><br>I am following this tutorial : <a href="http://pgrouting.postlbs.org/wiki/WorkshopFOSS4G2007#OpenLayersroutingmap">http://pgrouting.postlbs.org/wiki/WorkshopFOSS4G2007#OpenLayersroutingmap</a><br><br>Thanks for your continous help.&nbsp;Much&nbsp;Appreciated
<br> <br>Matthew<br><br><br> <br><br clear="all"><br>-- <br> Matthew Pulis<br>URL : <a href="http://www.solutions-lab.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.solutions-lab.net
</a><br>MSN : pulis_matthew[@]hotmail.com<br>ICQ : 145951110<br>Skype : <a href="http://solutions-lab.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">solutions-lab.net</a>