First draft of an xml protocol