To turn a path into an object, try--
<dtml-var "REQUEST.resolve_url(path)">
Note that path must be the fully qualified URL of the object. If you
only have an absolute path (for example, '/Members/MikeP/some_object') use
this:
<dtml-var "REQUEST.resolve_url(SCRIPT_NAME + path)">
Mike.