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><redirects><r from="Main Page" to="World Cruising and Sailing Wiki" /></redirects><pages><page pageid="1" ns="0" title="World Cruising and Sailing Wiki" /></pages></query></api>