When I have enabled webdav in the client config xml I still have an issue opening a document for online editing. When I open from Windows Internet Explorer I get the following error from Word (as I'm opening a docx file):
By opening you mean which link you are clicking? One link will just open the document in browser. One for inline editing. For microsoft word I do not think there is OOTB support for inline editing.