Skip to Content
0
Former Member
Feb 24, 2009 at 05:51 PM

Use Message Mapping to repeat top node and split Message

494 Views

I am currently using XSLT Messaging to do majority of the mapping. I have two issues that remain, I need to repeat the top node for each or its child elements and split the message.

<Sensor xmlns="namespace">

<Observation>

<XML>Some Data</XML>

</Observation

</Sensor>

1. Can it be done in XSLT? I posted a thread asking for help on this. Where I would need to repeat the Sensor tag for each observation. If this is possible then I will able to split the messages at the HTTP adapter used for the target system.

2. Can Message Mapping be used. Using the same xsd on both source and target systems, Will sensor repeat if set to 1:n and observation set to 1:1. In source it is Sensor 1:1, Observation 1:n. If this works then I can use a BPM to shoot out individual messages using a for each.

Any help is greatly appreciated. I am fairly new to XI as this is my first major project. Thanks