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>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="321" ns="0" title="Main Page">
        <revisions>
          <rev user="RolandUnger" timestamp="2013-12-08T12:09:18Z" comment="" xml:space="preserve">{{ContentBox
|id= welcome
|style= 1
|heading= Welcome to the Wikivoyage Association
|heading_centered= yes
|heading_link= Hauptseite
|heading_link_image= File:Flag of Germany.svg
|content=
{{:Main Page/Welcome}}
}}
{{Grid2
|
{{ContentBox
|id= wv_news
|style= 1
|heading= Wikivoyage News
|heading_link= News
|heading_link_text= more...
|content= {{:Main Page/Wikivoyage News}}
}}
{{ContentBox
|id= wm_news
|style= 1
|heading= Wikimedia News
|content= {{:Main Page/Wikimedia News}}
}}
|
{{ContentBox
|id= languages
|style= 1
|heading= Wikivoyage language versions
|heading_link= 
|heading_link_text= 
|content= {{:Main Page/Language versions}}
}}
{{ContentBox
|style= 1
|heading= Social Media
|content= {{:Main Page/Social media}}
}}
}}
{{ContentBox
|id= projects
|style= 1
|heading= Wikimedia Projects
|heading_centered= yes
|content= {{SisterProjects}}
}}__NOTOC__ __NOEDITSECTION__ [[Category:Main Page]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>