Hi Kyle, you don't need the macro in the transformation, you can use the Relationships properties in the repeater webpart.
More detail are described here : Displaying related documents
Hopefully this will help you, and if not please let us known.
If this answer helped you, please vote for my answer :-)