Add a node to an xml-file

Post Reply
LasseThid
Advanced member
Posts: 346
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Add a node to an xml-file

Post by LasseThid » 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.

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>
Any ideas as to how I can do this?
Enfocus Switch 2020 Fall Edition, Enfocus PitStop Server 2020, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.

jan_suhr
Advanced member
Posts: 422
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Add a node to an xml-file

Post by jan_suhr » Tue Mar 23, 2021 1:10 pm

Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

Post Reply