I'm having problems figuring out how to construct an xpath that will select a given node based on selecting nodes based on their "child" index. For example what would be the xpath to select 4th grandchild of the 2nd child from the root of an XML document?
None of these work:
root/*[2]/*[4]
/child::*[position() = 2]/child::*[position() = 4]
Developer Frog Haven Enterprises