Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Creating a XML segment from Differnt XML segments


anbu bose

Recommended Posts

I want to convert below 'from' xml structure to 'to' xml structure.

From:

 

 

James

 

 

 

 

 

Bond

 

 

 

 

 

45

 

 

To:

 

 

James

Bond

45

 

 

I am using Tibco BW 5.13 version. Could youprovide your ideas to achive this structure.

 

Thanks

Bose

Link to comment
Share on other sites

Hi ,

Create a parser to parse the xml first , then create a iterative loop over a mapper to iterate over the ouput xml from parser , for each iteration get the value of the fieldfrom the output of the mapper and assign it to a process variable.

create a new mapper outside the loop and then use the values from the process variable to write it into a xml of desired format.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...