I have the below XML input file.
<?xml version="1.0" encoding="UTF-8"?>
<ns3:Bonger xmlns:ns3="http://NEXSTEP.Schemas.Bonger" xmlns:ns2="http://NEXSTEP.Schemas.NexstepTypes">
<ROUTE_RECORD>
<ns2:SENDER Sender_code="BO_SERVER"/>
<ns2:RECEIPIENT Receipient_code="MASTER"/>
<ns2:OverAllStatus>NY</ns2:OverAllStatus>
</ROUTE_RECORD>
<MESSAGE_RECORD>
<InsertChange>
<Message>
<ns2:OpprettetEndretSlettet>
<ns2:OpprettetTidspunkt>2021-08-09+02:00</ns2:OpprettetTidspunkt>
<ns2:OpprettetKl>15:13:14.636+02:00</ns2:OpprettetKl>
<ns2:EndretAv>ADMIN</ns2:EndretAv>
</ns2:OpprettetEndretSlettet>
</Message>
</InsertChange>
</MESSAGE_RECORD>
</ns3:Bonger>
Using a transformer I need to use both OpprettetTidspunkt and OpprettetKl (both date and time) and need to output something like <MSG_DATE>2021-08-09T10:48:15.057<MSG_DATE>
Please note that I need to output the MSG_DATE as ISOString format
Any ideas??
+02:00offset.