I was integrating a custom theme on to my project and i got stuck with this.The variable $left prints the navigation links on the sidebar.Actually when i print $left i get this auto-generated code shown below...But i need only the < ul> content...could some one please help me with it.....
< div>< class="clear-block block block-user" id="block-user-1">
< div>< class="content">
< ul class="menu">
< li class="leaf first">< a href="/?q=Test">My Account< /a>< /li>
< li class="leaf">< a href="/?q=Test2">My Books< /a>< /li>
</ul>
< /div>