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

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -