The xpath implementation uses a lot of Vectors for keeping track of node sets. It'd be nice to have an append function that takes another Vector as this it's something that's done commonly in the xpath code
Created attachment 8107 [details]
This function works for me, but I'm not sure how correct it is. It doesn't support appending the vector to itself, but I don't know if we need that
Comment on attachment 8107 [details]
Looks good to me. A more general version that takes start and end iterator might also be handy (and could be used to implement this one.