cancel
Showing results for 
Search instead for 
Did you mean: 

Read XML file

Former Member
0 Kudos

Hi people,

I need your help.

My scenario is XML to file and both are using file adapter, but i want to read the xml file.

XML file Example

<?xml version="1.0" encoding="UTF-8" ?>

- <Interface_XXX>

<FIELD1>2023967</FIELD1>

<FIELD2>00000041386</FIELD2>

</Interface_XXX>

How i can to read the tags FIELD1 and FIELD2 ?

thanks,

Sebastian

Accepted Solutions (0)

Answers (2)

Answers (2)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

To Read XML node, you have to Parse XML file. use Java mapping

for parsing node element and seprate.

look this blog for parsing and read XML tag

Former Member
0 Kudos

Hi Sebastian,

You need to start with building the Data Type which corresponds to your Input File.

Refer these blogs for Simple File to File scenarios:

These blogs are the same but also have creation of Software component etc,

Regards,

Balaji.M