Hi,
I would like to do a relative search on a subtree.
Say I got a NodeCollection doing something like:
$list = $xmlpath->find("/a/b")
Now I iterate about all instances of <b> in the document and for each one
I want to find the c's that have attribute foo.
so I do a foreach my $bar ($list->get_nodelist)
{
...
}
can I do a $bar->find("c[@foo]") or how can I do this relative to the
subtree of each b?
Regards,
Konstantin
--
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet:
elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel
+49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres