Library for real-time collaborative editing of structured (XML) data