So I tried the inline option but pdf:attachment tag always asks for src attribute.. If I leave it empty:
<pd4ml:attachment description="attached.txt" src=""><br />
I see just an icon and not the attachment. Do I do something wrong?