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="Main Page" missing="" />
    </pages>
    <general mainpage="首頁" base="http://history.lib.ntnu.edu.tw/wiki/index.php/%E9%A6%96%E9%A0%81" sitename="師大維基" logo="/wiki/skins/ntnulogo2.png" generator="MediaWiki 1.22.10" phpversion="5.3.3" phpsapi="apache2handler" dbtype="mysql" dbversion="5.1.73" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefix="" linktrail="/^()(.*)$/sD" case="first-letter" rights="" lang="zh-tw" fallback8bitEncoding="windows-950" writeapi="" timezone="Asia/Chongqing" timeoffset="480" articlepath="/wiki/index.php/$1" scriptpath="/wiki" script="/wiki/index.php" variantarticlepath="" server="http://history.lib.ntnu.edu.tw" wikiid="wiki" time="2019-11-21T05:02:49Z" maxuploadsize="104857600">
      <fallback>
        <lang code="zh-hant" />
        <lang code="zh-hans" />
        <lang code="en" />
      </fallback>
    </general>
  </query>
</api>