jslt icon indicating copy to clipboard operation
jslt copied to clipboard

How to read java constant or property file from jslt file

Open joel19913 opened this issue 2 years ago • 2 comments

Is there a way to read java constant or property file from jslt file. To avoid hardcoding in jslt file.

joel19913 avatar Jun 21 '23 08:06 joel19913

You don't have direct access to any Java concepts from JSLT, but the processor API allows you to pass parameters in to the transform. Those are available as variables inside the transform. So that's probably the easiest way for you to do this.

larsga avatar Jun 21 '23 08:06 larsga

Thank you

joel19913 avatar Jun 22 '23 06:06 joel19913