How to combine two XML files into one XML file using MATLAB?
1 回表示 (過去 30 日間)
古いコメントを表示
XML 1:
<? xml version = "1.0" encoding = "utf-8" ?>
<AllNodes>
<NodeA>
<NodeB> test1 </NodeB>
<NodeB> test2 </NodeB>
</NodeA>
</AllNodes>
XML 2:
<? xml version = "1.0" encoding = "utf-8" ?>
<AllNodes>
<NodeA>
<NodeB> test6 </NodeB>
<NodeB> test7 </NodeB>
</NodeA>
<NodeA>
<NodeB> test99 </NodeB>
<NodeB> test23 </NodeB>
</NodeA>
</AllNodes>
Output expected:
<? xml version = "1.0" encoding = "utf-8" ?>
<AllNodes>
<NodeA>
<NodeB> test1 </NodeB>
<NodeB> test2 </NodeB>
</NodeA>
<NodeA>
<NodeB> test6 </NodeB>
<NodeB> test7 </NodeB>
</NodeA>
<NodeA>
<NodeB> test99 </NodeB>
<NodeB> test23 </NodeB>
</NodeA>
</AllNodes>
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Database Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!