Connecting Tech Pros Worldwide Help | Site Map

How to retrieve text from xHTML

Newbie
 
Join Date: Oct 2006
Posts: 2
#1: Oct 6 '06
Could someone advise how to retrieve the text from below xHTML example?

An example is:
<html>
<body>
text1
<br />
text2
<br />
</body>
</html>


How may I use XPath to identify "text2" when it is not enclosed by a separate tag like here?

Thanks in advance.
Reply