My problem with the elements was the opposite of my earlier problem. I was trying to fetch elements that were not namespaced, or so I thought. I had overlooked the fact that there was a default namespace with no prefix in the document. It took me a while to find the fact that there was…