XML parsing

No - like kraken said, you need to use getAllSubText.

It’s a bit confusing, but an element with text inside it has one or more text sub-nodes, and it’s only those that you can call getText on. getAllSubText looks for all the text sub-nodes and finds their content.