XML Renaming document name.

Hello,
I have an already existing XML file but MATLAB is importing (importing the file as struct first to edit it then export it as xml again) the document name as "Struct". So i'd like to rename it back to the original name but I couldn't find any way to do so. I found the renameNode function but that seems to only work for element nodes and not for the main document name.
Thanks,

1 件のコメント

Maadhav Akula
Maadhav Akula 2021 年 4 月 22 日
Hi,
It would be helpful if you can mention how you are importing and exporting the XML file from MATLAB.
If you are looking for renaming the files, the following post might help:

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

質問済み:

2021 年 4 月 8 日

コメント済み:

2021 年 4 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by