Possible Duplicates:
Xpath not behaving for me in parsing basic html
I know how to get content from a div with static name (i.e. always the same in the whole page). However, my case is "post_id_xxxxx", something like this:
<div id="post_id_12345">abc</div>
<div id="post_id_67890">abc</div>
<div id="post_id_31234">abc</div>
I would like to extract the "abc" string, but seems difficult to me since every div has different ID.
Thanks.