Chapter 5. Writing XQuery API Adapters

Table of Contents

XML and XQuery are both very new standards and therefore XQuery API's are heavily under development and often new API's emerge. To be able to keep up-to-date we needed a system that would make it easy for other people to plug their API of choice in the XQuery plugin. All a user has to do is write or update an interface that conforms to some well specified rules. We call this complete interface an adapter. The simplest way to write an adapter is to look at one of the already available adapters.