Before the module came, to convert the above xml to text format, we needed to specify a separate File Content Conversion for "_Customer_" and for "_ContactInfo_ ". But now we can replace our File Content Conversion with the *StrictXml2PlainBean* module. The module provides more conversion options and a check of the structure that is to be converted h3. _Lets see how :_ *Step 1: *In your receiver File Communication channel, select the message protocol as "File" and fill the rest of the information needed for your receiver file CC.
*Step 2:* Go to the_Module tab in your CC_ and insert the module in front of the adapter module as shown in the screen shot. �› Enter the module name _AF_Modules/StrictXml2PlainBean_. �› Select the module type _Local Enterprise Bean._ The default module key is displayed. ( In our case its 1, as highlighted) *Step 3:* In the module configuration, enter the parameter names and parameter values for the module key 1 of the module. Here comes the exciting part. As we can see that in our example we have same number of fields in the "Customer" as well as in the "ContactInfo", we can use the parameter Name "*singleRecordType*" and avoid defining the parameters twice for the different recordset. _Module Key: 1 _ Parameter Name : *singleRecordType* _Parameter Value : dataRec_ *Step 4:* For the asterisk separator, define the following parameters in your module configuration. As we have defined "*SingleRecordType*" in the above step, all the parameters we will be defined in our module configuration will be applicable to all recordsets. _Module Key: 1_ _Parameter Name : dataRec.fieldSeparator _ Parameter Value : *
