Skip to Content
Feb 29, 2008 at 11:30 AM

** How to get Source File Name thru XSLT Mapping


Hi friends,

We require source file name after message processing (SXMB_MONI) in the output structure. We understad from Forums and blog 2664, this is possible thru UDF - DynamicConfiguration class. This UDF will work if we use message mapping. But, in our case we are using XSLT mapping. So, how do we call the same from Java Pacakage ? (Imported Archives). For writing java class separately, what are the changes to be made in the program?


DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("","FileName");

String ourSourceFileName = conf.get(key);

return ourSourceFileName;


Kindly reply, friends.

Kind Regards,

Jeg P.