I have a xml file with n headers and n payloads <header1> payload1 </header1> <header1> payload2 </header1> How can I remove headers and let only the first one using python or Linux commands? the output will be payload1 payload2 Continue reading...