This test suite is written in Python and uses hooks into internal implementation, but it's the closest I could find - other XPath test suites work from XSLT.
Created attachment 13516 [details] convert the rest of the suite
Comment on attachment 13516 [details] convert the rest of the suite r=me
Committed revision 20022.