xpath: how to select all text nodes that precedes or follows <br> tags ? possible for \n? -
text<br> text2<br> text3<br/>
br
tags may self closing or not.
would possible regular text:
text\n text2\n text3\n
you can give:
//br/preceding-sibling::*/text()
where //br
select breaks in document
Comments
Post a Comment