Hi All , I written a python script which opens a logfile and searches for error and based or error found it prints a solution to screen , instead I want to print the output of the script in a xml file so that I can add some tags . How can it be done ? Thanks, -- Asad Hasan +91 9582111698