Hello,
I am facing a problem in MQSI ver 2.0.2 on AIX 4.3.3.
I am using a message with CDATA tag present in it. i.e something like <A><![CDATA[Hello]]></A>
and When I copy my this tag to the DestinationList Structure it gives me a null value for the tag.
For eg
Set OutputDestinationList.Scratch.A=InputRoot.XML.A;
and when I see the Output it shows me the null.
Since I need to store all the thing in the Destination List structure with the CDATA tag present can you suggest me the way out.
My flow is simple MQInput->Compute->MQOutput
I am attaching the compute Node code
SET OutputRoot = InputRoot;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
--- ADDING A new tag with CDATA...
SET OutputRoot.XML.ERROR.NEWTAG1=InputRoot.XML.ERROR.TAG;
---- copying a CDATA value tag into the OutputRoot using braces
------ Till the above Esqls everything is fine and I am getting the expected results
---- aDDING USING THE DESTINATION LIST
SET OutputDestinationList.Scratch.ORGXML=InputRoot.XML;
SET OutputDestinationList.Scratch.NEWTAG3=InputRoot.XML.ERROR.TAG;
SET OutputDestinationList.Scratch.NEWTAG4[]=InputRoot.XML.ERROR.TAG[];
---- The above three things just inserts a null tag... These doesnot takes the value of tag
SET OutputRoot.XML.ERROR.DESTINATIONLIST=OutputDestinationList.Scratch;
I am attaching u the input and output message.
Input message:
<ERROR><TAG><![CDATA[OLDTAG]]></TAG></ERROR>
Output Message
<ERROR><TAG><![CDATA[OLDTAG]]></TAG><NEWTAG1><![CDATA[OLDTAG]]></NEWTAG1><DESTINATIONLIST><TAG1/><NEWTAG3/><NEWTAG4/></DESTINATIONLIST></ERROR>
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