When i put in script task : var myXml = new XML(resource.getContentAsMimeAttachment().content);
I got an error ReferenceError : "resource" is not defined and i try to search in google e4X and i found this :
01.var mimeAttachment = new MimeAttachment();
02.mimeAttachment.content = xmlString;
03.mimeAttachment.mimeType = "text/xml";
04.mimeAttachment.name = resource.name;
And i got an another error "xmlString" is not defined.
For information, i use vCo appliance 5.1.1.