I'm using below line of code in the vf component,this is a part of repeat tag.

    <td class="center"><a href="https://cs14.salesforce.com/{!o.id}/e?retURL=%2F{!o.id}">Edit</a></td>

This is working fine,but when we move to other sandbox or production then i have to replace the `https://cs14` with corresponding server name.

Is there any way to fetch the values dynamically instead of changing manually.
Something like  "`URL.getSalesforceBaseUrl()`".with in the above tag?