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.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to use an API-First Approach to Modernize your Applications
Pick up some tips and tricks with Context Variables
Take a look at this technical overview video of Talend API Designer