'Return the text that links to a child of the requested resource.'

def childLink(self, name):

    lpp = len(self.postpath)
    if (lpp > 1):
        return (((lpp - 1) * '../') + name)
    elif (lpp == 1):
        return name
    elif (len(self.prepath) and self.prepath[(-1)]):
        return ((self.prepath[(-1)] + '/') + name)
    else:
        return name
