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>
<parse title="API" displaytitle="API">
<text xml:space="preserve"><p>Remember:
You
need
<b>an empty line</b>
to trigger
a
</p><p>new paragraph.
</p><p>hi<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup>
</p>
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#References"><span class="tocnumber">1</span> <span class="toctext">References</span></a></li>
<li class="toclevel-1"><a href="#Some_Examples"><span class="tocnumber">2</span> <span class="toctext">Some Examples</span></a></li>
<li class="toclevel-1"><a href="#2nd_section"><span class="tocnumber">3</span> <span class="toctext">2nd section</span></a>
<ul>
<li class="toclevel-2"><a href="#3rd_section"><span class="tocnumber">3.1</span> <span class="toctext">3rd section</span></a>
<ul>
<li class="toclevel-3"><a href="#4th_section"><span class="tocnumber">3.1.1</span> <span class="toctext">4th section</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2><span class="mw-headline" id="References">References</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Site:Sandbox&amp;action=edit&amp;section=T-1" title="Site:Sandbox">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
<ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text">This is a reference</span>
</li>
</ol>
<h2><span class="mw-headline" id="Some_Examples">Some Examples</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Site:Sandbox&amp;action=edit&amp;section=T-2" title="Site:Sandbox">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
<p>A bulleted list
</p>
<ul>
<li> item 1
</li>
<li> item 2
</li>
</ul>
<p>A numbered list
</p>
<ol>
<li> item 1
</li>
<li> item 2
</li>
</ol>
<p>Links within this wiki
</p>
<ul>
<li> Link to <a href="/1_Ne_1:1" title="1 Ne 1:1" class="mw-redirect">1 Ne 1:1</a>
</li>
<li> Same as above, with <i>alternate</i> text: <a href="/1_Ne_1:1" title="1 Ne 1:1" class="mw-redirect">the first verse in the Book of Mormon</a>
</li>
</ul>
<p>Links external to this wiki
</p>
<ul>
<li> Just type the URL: <a rel="nofollow" class="external free" href="http://www.cnn.com">http://www.cnn.com</a>
</li>
<li> Or you can do it this way: <a rel="nofollow" class="external autonumber" href="http://www.cnn.com">[1]</a>
</li>
<li> Or with alternate text, like this: <a rel="nofollow" class="external text" href="http://www.cnn.com">CNN</a>
</li>
</ul>
<h2><span class="mw-headline" id="2nd_section">2nd section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Site:Sandbox&amp;action=edit&amp;section=T-3" title="Site:Sandbox">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
<p>It takes at least four sections to make a table of contents...
</p>
<h3><span class="mw-headline" id="3rd_section">3rd section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Site:Sandbox&amp;action=edit&amp;section=T-4" title="Site:Sandbox">edit</a><span class="mw-editsection-bracket">]</span></span></h3>
<p>A third-level heading
</p>
<h4><span class="mw-headline" id="4th_section">4th section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Site:Sandbox&amp;action=edit&amp;section=T-5" title="Site:Sandbox">edit</a><span class="mw-editsection-bracket">]</span></span></h4>
<p>A fourth-level heading
test
</p>
<!--
NewPP limit report
CPU time usage: 0.020 seconds
Real time usage: 0.023 seconds
Preprocessor visited node count: 26/1000000
Preprocessor generated node count: 98/1000000
Post‐expand include size: 941/2097152 bytes
Template argument size: 0/2097152 bytes
Highest expansion depth: 3/40
Expensive parser function count: 0/100
-->
</text>
<langlinks />
<categories>
<cl sortkey="" xml:space="preserve">Test</cl>
</categories>
<links>
<pl ns="0" exists="" xml:space="preserve">1 Ne 1:1</pl>
</links>
<templates>
<tl ns="4" exists="" xml:space="preserve">Site:Sandbox</tl>
</templates>
<images />
<externallinks>
<el>http://www.cnn.com</el>
</externallinks>
<sections>
<s toclevel="1" level="2" line="References" number="1" index="T-1" fromtitle="Site:Sandbox" byteoffset="" anchor="References" />
<s toclevel="1" level="2" line="Some Examples" number="2" index="T-2" fromtitle="Site:Sandbox" byteoffset="" anchor="Some_Examples" />
<s toclevel="1" level="2" line="2nd section" number="3" index="T-3" fromtitle="Site:Sandbox" byteoffset="" anchor="2nd_section" />
<s toclevel="2" level="3" line="3rd section" number="3.1" index="T-4" fromtitle="Site:Sandbox" byteoffset="" anchor="3rd_section" />
<s toclevel="3" level="4" line="4th section" number="3.1.1" index="T-5" fromtitle="Site:Sandbox" byteoffset="" anchor="4th_section" />
</sections>
<iwlinks />
<properties />
</parse>
</api>