Hi, is there some open source Java API (ideally not GPL) for creating an object model from an XQuery string?
thanks
Hi, is there some open source Java API (ideally not GPL) for creating an object model from an XQuery string?
thanks
http://code.google.com/p/xqpretty/ is an ANTLR based implementation with Apache 2.0 license
It's not quite an object model, but produces a full AST.
There's an extremely fast and powerful implementation in Saxon: http://www.saxonica.com/index.html
I've used it a number of times in production code and it is very good.