You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <alllinks alcontinue="Hls.js_viewer" />
  </query-continue>
  <query>
    <alllinks>
      <l ns="0" title="Becoming a Railcam Supporter" />
      <l ns="0" title="Brid.tv viewer" />
      <l ns="0" title="Cameras playback troubleshooting" />
      <l ns="0" title="Chatrooms" />
      <l ns="0" title="Contributing information to Railcam DATA" />
      <l ns="0" title="Dealing with &quot;Video Error&quot;" />
      <l ns="0" title="Diagram troubleshooting" />
      <l ns="0" title="General FAQs" />
      <l ns="0" title="General information about our diagrams" />
      <l ns="0" title="Headcodes and colour-coding" />
    </alllinks>
  </query>
</api>