I have this XML that I want to update:
1<?xml version="1.0" encoding="UTF-8"?>
2<batch name="Simple Batch" default="root">
3 <!-- This is the starting task -->
4 <target name="root">
5
6 <openmodel file="c:\\temp\\test.smc"/>
7
8 <updatemodel file="c:\\temp\\test.ifc" with="c:\\temp\\test.ifc"/>
9
10 <savemodel file="c:\\temp\\test.smc"/>
11
12 <exit/>
13 </target>
14</batch>
I want to read other files, for example, test1.ifc and test2.ifc in FME, and I want to add them to the XML to be like this:
1<?xml version="1.0" encoding="UTF-8"?>
2<batch name="Simple Batch" default="root">
3 <!-- This is the starting task -->
4 <target name="root">
5
6 <openmodel file="c:\\temp\\test.smc"/>
7
8 <updatemodel file="c:\\temp\\test.ifc" with="c:\\temp\\test.ifc"/>
9
10 <updatemodel file="c:\\temp\\test1.ifc" with="c:\\temp\\test1.ifc"/>
11
12 <updatemodel file="c:\\temp\\test2.ifc" with="c:\\temp\\test2.ifc"/>
13
14 <savemodel file="c:\\temp\\test.smc"/>
15
16 <exit/>
17 </target>
18</batch>
Any suggestions?