How to access the Xopus API using HTML events

It is possible to save the xmldocuments to a server with WebDav support.