Extracting content between two tags with XPath
xpath
Solution
This could work `h3/following-sibling::node()[not(preceding-sibling::br) and not(self::br)]` (returns "Mainstreet 1234" for me).
But I'm affraid your real xml and real needs are more complicated than provided sample so it is possible you will need to further adjust it to fit you requirements.
Problem
I've just started working with XPath recently and run into a problem. Here is the code I want to extract from: ``` <h3>Some Company</h3> Mainstreet 1234 <br> 98776, Country <br> ``` How would I extract the content between the closing h3 and br tag?