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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
DataEngineer1978
Contributor
Contributor

tFileInputXML component "Loop XPATH query" issue

Good Morning,

I need an example of how to input the tFileInputXML ---> Loop XPath query --> What goes in here?

Say I have an xml with this structure:

<Customers>

<Customer>

<Customer_name>John Smith</Customer_name>

Customer_Id>123456</Customer_Id>

</Customer>

</Customers>

So what goes in the Loop XPath Query based on the above example structure?

Labels (4)
3 Replies
DataEngineer1978
Contributor
Contributor
Author

Is this the same as the mapping field?

DataEngineer1978
Contributor
Contributor
Author

What would go in the XPathQuery for the "Mapping" section. Is the XPath query in quotes or not in quotes?

 

Anonymous
Not applicable

Hi

We usually create the file metadata before it is used. Go to Repository->Metadata and create a XML metadata under File XML node.

0693p00000BAwZPAA1.pngIn the job, select 'Repository' in Property Type list and select the file metadata from repository.

0693p00000BAwZUAA1.png 

Regards

Shong