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 -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -