I have an html file that has the following structure.

<ul id="crumbs">
<li>Home>></li>
<li>about</li>
</ul>

I'd like to remove the entire block elements and data alike I have the following:

$body = $this->qp->find('#crumbs')->remove()->text();
$body = $this->qp->top('#content')->text();

But all that seems to do is remove the elements, so that what i have now is:

Home>>About

Some help with chaining this together would be appreciated.