質問編集履歴
1
ソースコード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,9 +5,11 @@
|
|
5
5
|
<text>patients</text>
|
6
6
|
<passage>
|
7
7
|
|
8
|
+
ソースコード
|
9
|
+
import xml.etree.ElementTree as ET
|
10
|
+
tree = ET.parse('result.xml')
|
11
|
+
root=tree.getroot()
|
8
12
|
|
9
13
|
|
10
|
-
|
11
|
-
|
12
14
|
### 試したこと
|
13
15
|
pythonでxmlファイルのannotationのtextの部分を無視してNeurologicの部分のtextの抽出って可能なのでしょうか?
|