In configuration.xml file I implemented a flow for publishing out a wsdl, during the way I put a logger that return Client’s IP address. this is my code:
<logger message="#[groovy:message.getInboundProperty('MULE_REMOTE_CLIENT_ADDRESS')]" level="INFO" doc:name="Logger"/>
Now I want to transfer(pass) ip address to my .xslt file? How can I do it?
If you’re using Mule 3.3, you can utilize MEL and simplify logger statement like this:
To pass IP address to XSLT, store it in a variable and pass that.
Display with logger
Pass it to
XSLTas:In your
XSLT, declare a param variableand then use this variable as