Xpath getting node without node child contents -


hey guys coudln't around this. have html structured follow:

<div class="review-text"> <div id="reviewerprofile"> <div id="revimg"></div> <div id="reviewr">marc</div> <div id="revdate">2011-07-06</div> </div> awesome review  </div> 

what trying text "this awesome review" everytyme query node other content in childs. using ".//div[@class='review-text']" how text only? tank much

you're there! add /text() @ end of xpath text node.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -