XCool is a XQL (XML Query Language) implementation in Java. It consists of an engine which executes queries upon a XML file and can be accessed both programatically and in command line mode.

XCool 0.1 has been released.
It's still under development, some things are working, some aren't, the API may change in the near future, but it's a quite stable release.