I was trying to insert this as one of the link in the Form Library but it is a little convoluted. Tried it with the dataview (and it works) which was easier to understand. The full cut and paste is:
<a href="{@Link}" onclick="var b = StsOpenEnsureEx2('SharePoint.OpenXMLDocuments'); b.EditDocument2(window, '{@Link}', ...