0
votes

Is it possible to get text between two
nodes in html. Code look like:

<div @class='article'>
    <br/>
    <br/> Art. 25a, Sec. 1 WpHG 
    <br/> 
    <br/> thereof held indirectly: 0.00% (equals 0 voting rights) 
    <br/> 
    <br/> Art. 25 WpHG: 0.00% (equals 0 voting rights) 
    <br/> 
    <br/> 0.00% (equals 0 voting rights) 
    <br/> 
    <br/> Art. 21, 22 WpHG 
    <br/> 
    <br/> 8. ISIN continous 
    <br/>
</div>

I want to have xpath which will select text 8. ISIN...

Can somebody help to write xpath? Thank you very much!

1

1 Answers

-1
votes

Could be used if the text always is placed second:

//div[@class='article']/text()[2]