Please help me on this.....
i have a file which has following content:
<IPCoreProducerConfig>
<Producer>
<config>
<key>machineId</key>
<value>machine1</value>
</config>
<config>
<key>Producer Type</key>
<value>Breakout</value>
</config>
<config>
<key>Protocol</key>
<value>SIP</value>
</config>
</Producer>
</IPCoreProducerConfig>
i want to append same thing again so that the content of file looks like:
<IPCoreProducerConfig>
<Producer>
<config>
<key>machineId</key>
<value>machine1</value>
</config>
<config>
<key>Producer Type</key>
<value>Breakout</value>
</config>
<config>
<key>Protocol</key>
<value>SIP</value>
</config>
</Producer>
<Producer>
<config>
<key>machineId</key>
<value>machine1</value>
</config>
<config>
<key>Producer Type</key>
<value>Breakout</value>
</config>
<config>
<key>Protocol</key>
<value>SIP</value>
</config>
</Producer>
</IPCoreProducerConfig>