Hi, I like the idea, although I have one remark. I think you should only support one element, either "path" or "element". An "element" is just a path with one element on it. I wouldn't treat it as a special case.
+1 for me. Also +1 for the JUnit stuff, my projects would really benefit from it. Arnout
