i have this string variable res.text
that has XML content inside it, is there a way in python to format such data?
>> res.text
'<config> <header>'abc'</header'></config>'
the actual data i have is about 2000 lines, wanted to better view the data like below:
<config>
<header>
'abc'
</header>
</config>