//a[not(img)]
Try and avoid the // if you can, though. Also note this will only exclude as that directly contain imgs.
//a[not(img)]
Try and avoid the // if you can, though. Also note this will only exclude as that directly contain imgs.