You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <infobox>
    <text xml:space="preserve">
&lt;aside class=&quot;portable-infobox pi-background pi-europa pi-theme-wikia pi-layout-default&quot;&gt;
&lt;div class=&quot;pi-item pi-data pi-item-spacing pi-border-color&quot;&gt;
	
	&lt;div class=&quot;pi-data-value pi-font&quot;&gt;Test&lt;/div&gt;
&lt;/div&gt;
&lt;/aside&gt;
</text>
  </infobox>
</api>