Hi All
i am java developer and i have a problem with xml document.
here is the xml file code.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

<appender name="appender" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="c:\\abc.txt"/>
<param name="MaxFileSize" value="1KB"/>
<layout class="org.apache.log4j.SimpleLayout"></layout>

<priority value ="debug"/>
<appender-ref ref="appender"/>


Now i want to insert a new node
<param name="MaxBackupIndex" value="3"/>
as appender child at red spot in the above code.

i am using jdom but when i try to append new child then it says that
param child already exists. how chan i do that.
Answer will be highly appriciated.