내부의 모든 텍스트를 가져 오는 코드 스 니펫을 작성하고 싶습니다. 코드 태그를 포함하여 아래 세 가지 인스턴스 모두에서 lxml의 태그. tostring (getchildren ()) 시도했지만 태그 사이의 텍스트를 놓칠 것입니다. API에서 관련 기능을 검색하는 데 큰 행운이 없었습니다. 좀 도와 주 시겠어요? Text inside tag #should return "Text inside tag Text with no tag #should return "Text with no tag" Text outside tag Text inside tag #should return "Text outside tag Text inside tag" 시험: def stringify_children(node): from ..