以下の xml データを解析しようとしていますが、dom パーサーを使用してケースのコンテンツを取得できませんでした。これを行う方法を教えてください。前もって感謝します。xml データ
<result>
<options id="1">
<question>who will win</question>
<case text="A" total="23" vote="17" percent="73.91"/>
<case text="B" total="23" vote="3" percent="13.04"/>
<case text="c" total="23" vote="1" percent="4.35"/>
<case text="d" total="23" vote="2" percent="8.7"/>
</options>
</result>