I want to extract all text in xml document, and I am having a problem for the following case:
...
<a>
hello
<B>
there
</B>
How was your day.
.....
</a>
In this snippet, I can get the text "hello" and "there" because I can get them using the following tags:
a.text
b.text
but I don't know how to access the "How was your day." part.
You are looking for the
.tail
attribute of an element: