If I have two NodeLists where one list is a subset of the other, is there a way I can compare the lists to determine the position within the full NodeList of all the nodes in the subset NodeList? For example, given the following XML:
<Bill domain="QBO" sparse="false"> <Line> <AccountBasedExpenseLineDetail> 1 </AccountBasedExpenseLineDetail> </Line> </Bill> <Bill domain="QBO" sparse="false"> <Id>148</Id> <Line> <AccountBasedExpenseLineDetail> 1 </AccountBasedExpenseLineDetail> </Line> </Bill> Evaluating Bill/Line would return a NodeList with two nodes. Bill[Id]/Linewould return a NodeList with one node. How can I find the position of the single Node from the second NodeListwithin the first NodeList?