Add a node to an xml-file
Posted: Tue Mar 23, 2021 11:57 am
I need to create a flow which among other things adds a node to an existing xml file.
The xml file starts like this and I need to add a node for the cover (<pdf_filename_cover>) below the <pdf_filename> node.
Any ideas as to how I can do this?
The xml file starts like this and I need to add a node for the cover (<pdf_filename_cover>) below the <pdf_filename> node.
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<order>
<pdf_filename>05469417_1507_20210127_288270__9.pdf</pdf_filename>
<id>288270</id>