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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use context variable in xpath query mapping?

Hello,

 

I am trying to use context variable in xpath query mapping but unable to extract table. All I get is null values.

 

From the attached screen shot, I want the xpath query to be replaced with context variables.

 

I am new to talend and any help would be greatly appreciated.

 

Thanks!

NY

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Mano,

 

I was able to achieve that a while back but forgot to login back to let you know that it was solved. Thanks for your time.

 

Attached the screen shots on how i worked around it.

 

Thanks!

Nrupan


conexts_config_file.PNG
conexts_xpath_query.PNG

View solution in original post

5 Replies
manodwhb
Champion II
Champion II

@talendsuperuser , if you hard coded the value of xpath query is it working?

Anonymous
Not applicable
Author

Yes, its working

manodwhb
Champion II
Champion II

@talendsuperuser , Ok. before tFileXMLInput print that context variable what are you getting?

Anonymous
Not applicable
Author

Hi Mano,

 

I was able to achieve that a while back but forgot to login back to let you know that it was solved. Thanks for your time.

 

Attached the screen shots on how i worked around it.

 

Thanks!

Nrupan


conexts_config_file.PNG
conexts_xpath_query.PNG
Anonymous
Not applicable
Author

I was able to achieve that a while back but forgot to login back to let you know that it was solved. Thanks for your time.