Ok, scratch that...
I can filter it by name (code at end of post), which works, but it does this (obviously not real code but the general gist):
<ul name="tree" id="content1">
<ul>
<ul>
<ul name="tree" id="content4">
<ul>
<ul name="tree" id="content6">
When I want...
<ul name="tree"...