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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tExtractXMLField Xpath Query value

Below is the XML I am receiving from a webservice.
<root>
<success>true</success>
<message></message>
<access_token>1234567</access_token>
<profile/></root>

I want to extract access_token.  I tried few different options but I am not getting the right result. Here is how it looks currently:

Loop Xpath Query : /       
Xpath Query: /root/access_token
XML field: body  

Given the above XML structure, what is the right Xpath Query should I use in order to get the value of access_id?

Thank you for your help.

Arvind.

Labels (2)
1 Reply
Anonymous
Not applicable
Author

resolved it myself. I used //root as the Loop Xpath Query and access_token as the field mapping which took care of it.