def _gen_linked_resources(self):
    output = io.StringIO()
    for dep in self.project.linked_resources:
        dep_path = self.project.linked_resources[dep]
        output.write('<link>\n')
        output.write(('\t<name>%s</name>\n' % dep))
        output.write('\t<type>2</type>\n')
        output.write(('\t<location>%s</location>\n' % dep_path))
        output.write('</link>\n')
    return output.getvalue()
def _gen_linked_resources(self):
    output = io.StringIO()
    for dep in self.project.linked_resources:
        dep_path = self.project.linked_resources[dep]
        output.write('<link>\n')
        output.write(('\t<name>%s</name>\n' % dep))
        output.write('\t<type>2</type>\n')
        output.write(('\t<location>%s</location>\n' % dep_path))
        output.write('</link>\n')
    return output.getvalue()