Posted: Mon Sep 23, 2002 6:37 am Post subject: Do not need class and index values in the output message
Apprentice
Joined: 03 Sep 2002 Posts: 31
Hai,
I am mapping Ariba xml message to peoplesoft xml message . I am getting the tag values , but with more information which Peoplesoft xml message don't need.
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export".HondaComCntlHdrBusUnit;
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export"."HondaComCntlHdrTransNbr";
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export".HondaComCntlHdrBusUnit;
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export"."HondaComCntlHdrTransNbr";
-- After the above mapping you can delete the attribute info.
DECLARE tmp1 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT".(XML.attr)class
DETACH tmp1;
DECLARE tmp2 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR".(XML.attr)class
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export".HondaComCntlHdrBusUnit;
SET "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR" ="InputBody"."EPICHEADER"."EPICBODY"."Honda_Peoplesoft.ExportSchema.dtd"."DATAAREA"."ariba.core.HondaComCntl_Export"."HondaComCntlHdrTransNbr";
-- After the above mapping you can delete the attribute info.
DECLARE tmp1 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT".(XML.attr)class
DETACH tmp1;
DECLARE tmp2 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."BUSINESS_UNIT".(XML.attr)index
DETACH tmp2;
DECLARE tmp3 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR".(XML.attr)class
DETACH tmp3;
DECLARE tmp4 REFERENCE TO "OutputRoot"."XML"."COMMIT_CNTRL_TRAN_CHECK_UPDATE"."MsgData"."Transaction"."COMCNTL_TRN_HDR"."TRANS_NBR".(XML.attr)index
DETACH tmp4;
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