What XIDDocument.addAttachment takes.
XIDDocument.addAttachment
The payload, as anything an envelope is made from.
The vendor, a reverse domain name.
Optional
The URI of the format the payload conforms to.
What
XIDDocument.addAttachmenttakes.