Credits
XVisitor got started as a number of patches to the jaxb-visitor project to make the generated visitors work with mixed content.
After using the code generated by jaxb-visitor on a number of schemas, it seemed a good idea to reduce the amount of application boilerplate code by focusing on depth-first traversal and to provide separate enter and leave callbacks and fast exits.
So all in all, XVisitor is very similar to jaxb-visitor (and was started from the same code base) but takes a slightly different approach. Just choose the solution that best suits your own use cases.