Element - attachment

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.
Default. Name of attachment file.

file-description

value

 

file-exist

boolean

Default. false.

file-mandatory

boolean

Default. false.

file-date

value

File modification date.
YYYY-MM-DD HH:MM:SS
Default: Current datetime.

file-compression

boolean

Default: true.

 

Example

 

<attachment file="CORD443.jpg" file-display="drill.jpg" file-description="Power Drill"/>