Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
AbiJeev
Creator
Creator

Extracting xml fields

Hi,

I​ have a requirement , from xml I need to fetch data and load to table.

My table has column name "Insert_Rows​". For that I need to fetch data from below xml,

<PARAMETERS>

<PARAMETER>

​ <NAME>INSERT_ROWS</NAME>

<VALUE>1</VALUE>

<PARAMETER/>

<PARAMETER>

​ <NAME>UPDATE_ROWS</NAME>

<VALUE>5</VALUE>

<PARAMETER/>

</PARAMETERS>

I need to fetch only insert rows count 1 not update rows count 5. Based on name I have to fetch . Please let me know which component to use and how. THANK YOU

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

To extract data from a XML string, we usually use tExtractXMLFields.

 

Regards

Shong

View solution in original post

2 Replies
AbiJeev
Creator
Creator
Author

Hi Found a solution with tXMLMap by giving parameter as loop element and sending to tAggregaterow , but is there any other option available​

Anonymous
Not applicable

To extract data from a XML string, we usually use tExtractXMLFields.

 

Regards

Shong