It would be easiest for you if you used attributes (like id) for each point to uniquely identify them. Otherwise it is not possible to be sure that you process the right nodes. Someone could remove data from one set but not from the other and everything would go out of sync. Of course it is possible to operate on the order of items (first child, second child, etc.) but I would really advise against it.