Active
Project:
QueryPath
Version:
7.x-2.1
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2013 at 21:02 UTC
Updated:
25 Jan 2013 at 21:02 UTC
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.