I have attached the code of the method I have written in the ChildForm.cs file but this is not the right code coz I am not able to append nodes to the XML file using this. My problem - I want to add a node with some text to the XML file whenever I open a new child window using normal MDI property. private void Xml_Creation(int count) { XmlWrt = new XmlTextWriter("XMLSample.xml",null); XmlWrt.Formatting=System.Xml.Formatting.Indented; XmlWrt.WriteStartDocument(); //start the first element. XmlWrt.WriteStartElement("FORMS"); //create our first customer element. //this is a child element of the customers element. XmlWrt.WriteStartElement("Form"); XmlWrt.WriteElementString("FormNumber", count.ToString()); XmlWrt.WriteEndElement(); //XmlWrt.WriteEndDocument(); //XmlWrt.Flush(); XmlWrt.Close(); } Cheers KR