domdocument - Nested Xpath Query for itemprop -


I want to get all the nested elements that have itemprop = "review" in which itemprop = "review-container ".

I am using xpath and was thinking something like this:

  $ xpath-> Query ('// div [@ itemprop = "review-container"   
text "itemprop =" text ">

Try it instead:

  '// div [@ itemprop = "review-container"] / div [@ itemprop = "review"]' ^^ recurring  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -