Hello Debalina,
Welcome to forums, please use the code tags for codes/commands/inputs provided by you in your posts as per forum rules.
Also could you please explain here you want to give a argument while running the script and create a xml file, I have few
questions here for same.
1st: Is there a list of arguments that you need to pass and create a seprate xml for each ?
2nd: Or is it same file you need to EDIT by replacing the CALENDER's value in current xml?
Kindly let us know the answers so that we can help you better, welcome again in forum and happy learning
Thanks,
R. Singh