In order to display attachments in a transformation from the Document attachments field of a document, you can take advantage of the Text/XML transformation type and the following macro:
{% foreach (attachment in Documents[NodeALiasPath].AllAttachments) {
"<a href='~/getattachment/" + attachment.AttachmentGUID + "/attachment.aspx'>" + attachment.AttachmentName + "</a><hr />";
} |(identity)GlobalAdministrator%}
-jh-