I'm trying to load content into jQueryUI tabs via AJAX using the technique described in the documentation here: http://jqueryui.com/tabs/#ajax.
$('#tabs').tabs();
<div id="tabs">
<ul>
<li><a href='/link/to/xml/'>Tab1</li>
<li><a href='/link/to/more/xml/'>Tab2</li>
</ul>
</div>
Since my data source is XML, I need to parse and format it before displaying it in the relevant tab. How do I get access to the data after it's been retrieved, but before it's displayed in the tab?