Posted: Wed Dec 08, 2004 1:47 pm Post subject: Using references when creating complex message set outputs.
Novice
Joined: 08 Dec 2004 Posts: 12 Location: Portland, OR
Please help! I need advice using namespace references to create output message trees. I have a huge message I need to break out into smaller output messages. The message consists of several fields, then a group of repeating fields. It is the repeating group which needs to be broken.
The following code recreates the entire message. How do I get the just the first non-repeating fields to be created?
DECLARE mastersync NAMESPACE 'http://www.ibm.com/websphere/crossworlds/2002/BOSchema/prgn_ymil_i532_mat_mast_synch';
DECLARE material NAMESPACE 'http://www.ibm.com/websphere/crossworlds/2002/BOSchema/prgn_gt_ymsil_i532_mat';
DECLARE inRef REFERENCE TO InputRoot.MRM.mastersync:prgn_gt_ymsil_i532_mat.material:prgn_gt_ymsil_i532_mat;
DECLARE outRef REFERENCE TO OutputRoot.MRM.mastersync:prgn_gt_ymsil_i532_mat.material:prgn_gt_ymsil_i532_mat;
CREATE LASTCHILD OF OutputRoot.MRM AS outRef FROM inRef;
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