Python要素ツリーを使用してxmlファイルを解析しています
このようなxmlファイルがあるとしましょう..
<html>
<head>
<title>Example page</title>
</head>
<body>
<p>hello this is first paragraph </p>
<p> hello this is second paragraph</p>
</body>
</html>
pタグがそのままの状態でボディを抽出できる方法はありますか
desired= "<p>hello this is first paragraph </p> <p> hello this is second paragraph</p>"