Add a node to an xml-file

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

Add a node to an xml-file

Post by LasseThid »

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, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
jan_suhr
Advanced member
Posts: 586
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Add a node to an xml-file

Post by jan_suhr »

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