I’m using Knime 4.5.1 and currently have specific requirement of converting a knime table or .xlsx file to a .xml file(taking one existing .xml file as reference for correct header, syntax and footer data, have tried all the knime nodes and used xml python libraries xml.etree and minidom but the format is coming wrong everytime.
Hi @charabor1 , and welcome to the KNIME community,
Perhaps you could share some sample data (your xlsx simply shows us that xml you have created, rather than the source data).
Also if you are able to share a workflow demonstrating what you have tried so far, we might be able to give pointers on adjustments you could make, or alternative approaches.
Currently it is difficult to give you any guidance without those things. thanks.
Hi @charabor1 , unfortunately your workflow cannot be executed because it relies on access to your files which of course we do not have. Without being able to see some data there is no easy way to work this out.
Can you provide a simple example data that you are attempting to build the xml from? This should be test data or data with anything sensitive replaced/removed
I’m sharing a sampl expected output.
I’m also sharing the tabular data I’ve in excel & csv files.
Hope this would be adequate(if not knime, I can us python source nodes too) Stage3.xlsx (10.2 KB) Stage3.csv (2.9 KB) Reference.xml (2.4 KB)