Or (more flexible):$p->findnodes('//h2[4]/following-sibling::p');
$p->findnodes('//h2[last()]/following-sibling::p');
In reply to Re^3: Extracting HTML content between the h tags
by Gangabass
in thread Extracting HTML content between the h tags
by vagabonding electron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |