Expand my Community achievements bar.

Getting assemblerResult documents map

Avatar

Level 2

Hi,

I"m using the following DDX to extract PDF attachments:

<?xml version="1.0" encoding="UTF-8"?>

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<FileAttachments result="attachmentInfo.xml" nameKeys="*" extract="true">

<PDF source="inDoc"/>

<FilenameEncoding encoding="ISO-8859-1"/>

</FileAttachments>

</DDX>

After DDX execution I'm able to retrieve the attachments one by one using the syntax:  /documents[@id='yan.pdf_attach.0000.0003']

Is there a way to assign to output map of documents variable the whole documents map without looping the attachments ?

My goal is to call the process from .Net and retrieve all the attachments of input doc.

Thanks!

2 Replies

Avatar

Level 8

Yes,  in a setValue assign the /documents node to a map object.


Avatar

Level 2

Thanks Hodmi, it works!

Actually I tried this way but my map was not defined correctly.