CleanText(children=False) must use all text nodes, not just the first one
With this sample: <foo>bar<qux/>baz</foo> Element.text only returns "bar". By iterating on xpath "text()", we get "bar" and "baz".
parent
0d677028
Please register or sign in to comment