Set up an XML interface