I am using Python element tree to parse xml file
lets say i have an xml file like this ..
<html>
<head>
<title>Example page</title>
</head>
<body>
<p>hello this is first paragraph </p>
<p> hello this is second paragraph</p>
</body>
</html>
is there any way i can extract the body with the p tags intact like
desired= "<p>hello this is first paragraph </p> <p> hello this is second paragraph</p>"