I see that a new draft of the XQuery API for Java (XQJ) has been published at http://jcp.org/en/jsr/detail?id=225 Michael Kay http://www.saxonica.com/