Posted: Tue Jul 22, 2003 10:28 am Post subject: Generic XML to MRM tranformation.
Acolyte
Joined: 20 Jun 2002 Posts: 59
Hi
I have 2 different XML schemas, i am trying to write a generic XML to MRM transformation which handles the multiple number of XML schemas
It is like 1 - Many mapping
eg
SET "OutputRoot"."MRM"."ACT" =
CASE
WHEN Topic = 'SIGNIN' THEN InputRoot.XML.ServiceData.reqInfo.SessionCreateRQ.ActionCode
WHEN Topic = 'CREATERES' THEN InputRoot.XML.ServiceData.reqInfo.RentalModifyRQ.Type.(XML.attr)ActionCode
END;
Instead of using CASE statement is there any way to do just
SET "OutputRoot"."MRM"."ACT" = InputRoot.XML.ActionCode;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum