|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
xml generate with compute |
« View previous topic :: View next topic » |
Author |
Message
|
earrieta |
Posted: Mon Oct 13, 2008 7:10 am Post subject: xml generate with compute |
|
|
Newbie
Joined: 20 Jun 2008 Posts: 9
|
I want to know which function can be used to generate the xml with the correct format
code:
------
DECLARE p01,p02,p03,p04,p05,p06,p07,p08,p09,p10 CHAR;
SET p01 = InputRoot.MRM.LB_CRM01.GDC_CIU_LGY_CD;
SET p02 = InputRoot.MRM.LB_CRM01.GDC_COD_ISP_CD;
SET OutputRoot.MRM.sigres:ServiceFulfillment.sigres:ReserveResourceCreate.sigres:InputParameters.sigres:ResourceInformation.sigres:PssbaDataList.sigres:value[] = LIST{p01,p02}
currently format:
------------------
<sigres:PssbaDataList>
<sigres:value>00990</sigres:value>
<sigres:value>001</sigres:value>
</sigres:PssbaDataList>
correct format:
----------------
<sigres:PssbaDataList>
<sigres:value name="">00990</sigres:value>
<sigres:value name="">001</sigres:value>
</sigres:PssbaDataList> |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 13, 2008 9:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I seem to remember that in MRM the attributes were treated as elements and the message set knew how to make the difference.
Guess what, you want to show name="", but nowhere in your tree did you create the name element.... Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
earrieta |
Posted: Mon Oct 13, 2008 12:27 pm Post subject: xml generate with compute |
|
|
Newbie
Joined: 20 Jun 2008 Posts: 9
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|