XMLファイルの読み込み
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
下記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 commentaire
Réponses (0)
Voir également
Catégories
En savoir plus sur 構造化データと XML ドキュメント dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!