<html>
apple
<Br>
orange
<br>
drugs
</html>
can you do something like
//html/text()[2]
it doesn't work.
<html>
apple
<Br>
orange
<br>
drugs
</html>
can you do something like
//html/text()[2]
it doesn't work.
<?xml version="1.0"?>
<html>
apple
<br/>
orange
<br/>
drugs
</html>
//html/text()[2]
returns orange
for me @ http://www.xmlme.com/XpathTool.aspx. What language are you dealing with?