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
and the prefix is tns.
Do you have ideas how to refer to websites (as namespace) in xpath?
P.S. The website is just used as an example.