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
Post a Comment