Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Well, it turns out, this works ONLY for nodes that are expanded in the XML editor; if you have thousands of nodes within a parent node which is collapsed in the XML editor, it will not be found, neither by id nor by label. What's even funnier, there is no "expand all nodes" button, and you cannot even use the keyboard to expand the nodes - you HAVE to click the little triangle, one by one, for each of the thousands of nodes! How convenient! :)
Many thanks @KuoHilas - great answer; now I recall I've seen this approach elsewhere years ago - and had promptly forgotten about it; good to have it in writing now!