Philippe Renaud
asked on
XPath question
Hello again EE, I have little questions for vb.net
First,
lets say I have this:
<div class="Main">
<td class="Event">
<a href="abc" title="hello"></a>
<a href="ggg" title="hi"></a>
</td>
</div>
with xpath.. how can i get href and title of all tag <a> that is preceded only by a TD with class names="Event" ? in this example, i would only get the first <a> not the second one..
Question two:
lets say I wan to search for a string in a HTML source that is not in any tag.. its juste a text between tags like: <td><a href="dddd"></a><br />200 items left</td>
is there a way to get it ?
thanks for the help.
First,
lets say I have this:
<div class="Main">
<td class="Event">
<a href="abc" title="hello"></a>
<a href="ggg" title="hi"></a>
</td>
</div>
with xpath.. how can i get href and title of all tag <a> that is preceded only by a TD with class names="Event" ? in this example, i would only get the first <a> not the second one..
Question two:
lets say I wan to search for a string in a HTML source that is not in any tag.. its juste a text between tags like: <td><a href="dddd"></a><br />200 items left</td>
is there a way to get it ?
thanks for the help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ASKER