<div>
<p> text 1 </p>
<p>
<a href="http://www.google.com">text 2</a>
</p>
<p> text 3 </p>
<p> text 4 </p>
</div>
I used this: //p
but this also gives me the <p>
where text 2
is. I want <p>
s without children.
I need: text 1, text 3, text 4