XMLファイルの読み込み
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
下記XMLファイルの <ChNameJp>~</ChNameJp>だけを読み込んでリストを作りたいです。
下記URLを参考にしたのですが、うまく、読み込むことができませんでした。
ご教授いただけると幸いです。
<?xml version="1.0" ?>
<Setting Version="1.0.0">
<Voltage Min="112">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>AAAA</ChNameJp>
<Comment></Comment>
</Ch>
<Ch No="2">
<No>2</No>
<Protect>False</Protect>
<ChNameJp>BBBB</ChNameJp>
<Comment></Comment>
</Ch>
</Voltage>
<Frequency Min="4">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>CCCC</ChNameJp>
<Comment></Comment>
</Ch>
</Frequency>
<TTT1 Min="0" Use="False" Boudrate="0">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>1=A1_0</ChNameJp>
<Comment>コント</Comment>
</Ch>
<Ch No="2">
<No>2</No>
<Protect>False</Protect>
<ChNameJp></ChNameJp>
<Comment></Comment>
</Ch>
</TTT1>
</Setting>
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu 構造化データと XML ドキュメント finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!