Meta interview question

Given a node from a DOM tree find the node in the same position from an identical DOM tree.