web stats
Mirth Community - View Single Post - Building XML with attributes only
View Single Post
Old 08-27-2014, 09:43 AM
seaston seaston is offline
OBX.3 Kenobi
Join Date: Feb 2010
Location: London, UK
Posts: 168
seaston is on a distinguished road
Default Building XML with attributes only

Hi there.

Does anyone know why this produces nothing in the channelMap?

var ecvi = <ecvi/>;
ecvi.@studyCode = "30";
ecvi.@ptTitle = "Mr";
ecvi.@ptFirstNames = "TEST";
ecvi.@ptLastName = "PATIENT";
It is ok as soon as I add an element, but I cannot seem to build ecvi with attributes only as required.

Reply With Quote