The attachment element is used to add a file attachment to the current document.
Syntax:
Element | Attributes | Value | Notes for Element/Attribute/Value |
|---|---|---|---|
attachment | file | value | Path of attachment file. |
file-display | value | Attachment name in document. | |
file-description | value | ||
file-exist | boolean | Default is false. | |
file-mandatory | boolean | Default is false. | |
file-date | value | File modification date. | |
file-compression | boolean | Default: true. |
Example
<attachment file="CORD443.jpg" file-display="drill.jpg" file-description="Power Drill"/>