I would like to know how to close xml tags if an error occurs.
I use a try catch block in a method to write a xml file, the method tries to write data to xml , if an error occurs a error text file is written with the error but the remaining tags are not written..and leaves unclosed tags , is there a way to close the remaining tags?
Thank You
InkedGFX
I use a try catch block in a method to write a xml file, the method tries to write data to xml , if an error occurs a error text file is written with the error but the remaining tags are not written..and leaves unclosed tags , is there a way to close the remaining tags?
Thank You
InkedGFX