Thank you for reply. But My query is specific to custom action block development using java code for MII . I know we can generate XML in MII .
I am developing custom action block for reading word file. My java output is string which is separated by delimiter. Instead of string i want to generate XML output for better performance.
@Outputs(names = { PARAM_OUTPUT_STRING }, types = { com.sap.lhcommon.common.VariantDataTypes.XML })
instance.setActionResult(PARAM_OUTPUT_STRING, sampleXml).
In this code , what should be sampleXml??
In java there is no data type called xml. So what input is expected for sampleXml variable????