Hi All,
I have a request regarding Conversion Agent, we are working on Serializer to convert XML file to Text format as an output. We have issue in incoming input XML file where some of the tags are missing.When ever a tag is missing, we want to send that perticular Tag through Serializer to produce correct outPut structure. Below is the code I have done but it is giveing me error:
nstance InsiteSerializer = Serializer
{
contains =
[
ContentSerializer<optional, allow_empty_values>
{
data_holder = XPath("/MT_Insite_Req/s/DataConversionArea/s/SapMovementType");
transformers =
[
Resize(StaticInt(3)),
AddEmptyTagsTransformer(XPath("/MT_Insite_Req/s/DataConversionArea/s/SapMovementType"))
];
},
Best Regards,
Joseph