In this blog I want to show you the way of getting user-defined parameters within XSL transformation without using any custom java classes and Dynamic Configuration.
But first, I would like to thank Nikolay Yasinskiy very much, whos valuable suggestion threw the light on how the Operation mapping input parameters can be accessed directly using java extensions mechanism.
Described approach is based on using poorly documented input parameter "TransformationInput", which is passed to XSL transformation among the other parameters.
So, in order to use this parameter we should add the line to our XSL stylesheet:
At next step we just get parameter value using java extensions mechanism and types casting possibilities.
Here is an example stylesheet demonstating the approach described above: