well, you're not really using xpathcontext for anything, so it isn't required , this works
$dom->find('count(//Article//Sect//LI)' );
In reply to Re^4: XML parsing and Lists (xpathcontext)
by Anonymous Monk
in thread XML parsing and Lists
by madbee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |