i've an XML file with the following structure.... <a> <b> <c> . . . . .</c> </b> </a> what i want to do is copy all data(tags and all) between N and N+k appearances of <c>. I am a python newbie. How do I do it? Thanks.