Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
sonalijagtap
Contributor III
Contributor III

tfileXMLInput

Hi Team,

 

I am reading the complex XML file. I am getting one field in multiple node. How to read it.

 

In one node, StoreID is coming at  Event/Node/StoreID

in another node its like Event/Node/Tender/StoreId

like wise I am getting StoreId at different level.

 

How to write the XPath query to read StoreID?

Labels (3)
1 Reply
Anonymous
Not applicable

Hello,

 

You can do it in two steps with tExtractXMLField component :

- 1st component : loop = Event/Node/Tender/StoreId

- 2nd component : loop = Event/Node/StoreID

 

Then you can merge the results tables with tUnite.

 

Regards,

Aurélien.