The combination of maps with the "?" lookup operator and XML with XPath provides a powerful programming environment. The use of annotation driven plug-in modules provides a clean separation of concerns between the driving code and task at hand.

I hope that this paper may be of value for those working with XQuery code and perhaps inspire some new uses for annotations.

For code and issues, see