in reply to Re^3: XML parsing and Listsin thread XML parsing and Lists
well, you're not really using xpathcontext for anything, so it isn't required , this works
$dom->find('count(//Article//Sect//LI)' ); [download]