|
#1
|
|||
|
|||
|
Could someone post a simple example of how to use this channel. Really just curious what I should write into the first two fields if I want to transform the entire message (Assuming for the first field it would be messageObject.getTransformedMessage() or .getRawMessage())
Thanks! |
|
#2
|
|||
|
|||
|
Quote:
Source: msg Result: xsltTransformedMsg XLST Template: <Full XSLT script pasted here> Now in your destination template use: ${xsltTransformedMsg} You also might need to uncheck "Strip namespace from messages" on the summary tab to get the script to process properly.
__________________
Jacob Brauer Mirth Connect Project Lead Sr. Software Engineer - Mirth Corporation Want professional services, support, and enterprise or virtual appliances? It's all available from the Mirth Corporation: Mirth Support | Mirth Training | Mirth Appliances Don't forget, Mirth Support gives you access to all of our online training videos, and silver support gives you access to developer Q&As! |
|
#3
|
|||
|
|||
|
Hi. I've taken over the mantle from treynolds_nms.
Is it possible to completely replace the message kept in the "tmp" variable with the result of the xslt transformer instead of having to use a new variable? It seems like we would want to do it so that subsequent transformer steps would be able to operate properly. Thank you. |
|
#4
|
|||
|
|||
|
You could always try setting tmp equal to another variable in a JavaScript step or using tmp as the result variable.
__________________
Jacob Brauer Mirth Connect Project Lead Sr. Software Engineer - Mirth Corporation Want professional services, support, and enterprise or virtual appliances? It's all available from the Mirth Corporation: Mirth Support | Mirth Training | Mirth Appliances Don't forget, Mirth Support gives you access to all of our online training videos, and silver support gives you access to developer Q&As! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|