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: 
Anonymous
Not applicable

namespace as website in xpath

Hello Talend-Community,

 

I have a question to chapter 09 in talend cookbook.

 

I want to add a child at xpath using a namespace as a website.

 

XMLUtils.addChildAtPath(customerXML, "/test:customer", row3.orderXML);

This code works fine! The namespace is test and the prefix is tns.

 

 

XMLUtils.addChildAtPath(customerXML, "/https://community.talend.com/:customer", row3.orderXML);

This code doesn't work. The namespace is  

https://community.talend.com/

and the prefix is tns.

 

 

 

Do you have ideas how to refer to websites (as namespace) in xpath?

 

regards,

 

Talenduser 2018.

 

P.S. The website is just used as an example.

Labels (4)
0 Replies