The top navigation template file at /catalogue/navigation/top.phtml contains just this short function:
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
<?php if($_menu): ?>
<div class="nav-container">
<ul id="nav">
<?php echo $_menu ?>
</ul>
</div>
<?php endif ?>
I'm trying to find the renderCategoriesMenuHtml function so that I can get in and edit the structure of the $_menu result that is called in top.phtml.
The purpose is that I want to slightly edit the structure the menu. It currently comes out in a ul > li > a > ul > li > a > span in HTML and I want to edit this slightly.