Hi, Can anyone send me a knime example that can do this:
data read , a select query from table and generate some result–done.
put in XML, this XML need to be exact format that my customer need. So basically, the customer send me the XML format, and I need to fill in with my order data .
Can Knime do that?
I tried with data reader–Table to Json–Json to XML–XML writer. It does generated XML file, but not in the format the customer need .
Is there a way in Knime that can read the customer xml, then put value in, then generate same format XML?
Thanks for the response.
So far I didn’t make too much progress. I can only find column to XML in knime and that didn’t help much.
The whole purpose is read data from Sql serve table, like a sales invoice infor, and fill in the XML like below.
Yes the Column To XML node is a good starting point. There is also the XML Row Combiner Node which allows you to do combine XML elements under a parent element.
Have a look at this example workflow from the KNIME Hub. It shows how create XML elements, combine them and also insert attributes. This should cover the basics.