The XPath expression
//*[starts-with(name(), "answer")]
means
//* => Select any node at any nesting depth...
[starts-with(name(), "answer"] => ...whose node name starts with "answer".
I'm assuming your XML is something like this:
If your XML schema differs from this, change the selecting expression accordingly, and then suffix the starts-with predicate to it.
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Gift giving made easy with the permaculture playing cards