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>
<query>
<userinfo id="0" name="10.50.142.251" anon="" />
</query>
</api>