XMLファイルの読み込み
13 views (last 30 days)
Show older comments
下記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>
Answers (0)
See Also
Categories
Find more on 構造化データと XML ドキュメント in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!