Never mind, I figured it out... FYI, portal_catalog doesn't return anything useful, you need to use one of it's 'get useful info' methods, like getUrl(), getPath(), or in my case, I wrapped the stuff I was doing in a <dtml-with "getObject()">