web stats
Mirth Community - View Single Post - Mirth XML Transformer
View Single Post
  #1  
Old 03-11-2013, 08:51 AM
rutzelt rutzelt is offline
What's HL7?
 
Join Date: Feb 2012
Posts: 4
rutzelt is on a distinguished road
Default Mirth XML Transformer

I currently have an XML source that I simply want to interrogate and print out a debug statement. I find that the moment I introduce a transformer to my XML channel, it modifies the output. I use a Javascript step for my transformer. Here are my findings:

No XML transformer:
XML IN -> XML OUT (identical)

Introduce transformer:
XML IN
<log the XML in the transformer> (i.e. logger.info(message.toString());
XML OUT (smaller in size than the original without the original stylesheet).

I need to preserve my XML payload from input through output. If it gets modified, my consumer cannot process it correctly.

Any ideas?

Thanks in advance,
Tom
Reply With Quote