so for simplicities sake:
<tree>
<name>the name</name>
<desc>the desc</desc>
<img>the img</img>
<id>1</id>
</tree>
now I know I can retrieve the entire node by:
$results = $doc->xpath("//tree[contains(id,'1')]");
but, what if I wanted to get a restrictive set of elements, i.e "name" and "desc".. is that possible?