remove xmlwrite encoding attribute from XML.

Hi,
When using xmlwrite, the genreated xml having :
<?xml version="1.0" encoding="utf-8"?>
but I want to remove this attribute:
Does someone know how to do this?
Thanks, Dipka Parekh

3 件のコメント

Walter Roberson
Walter Roberson 2012 年 7 月 11 日
What benefit do you see in removing the attribute?
Are you asking just to remove that line from the output, or are you asking for a different character encoding to be used?
Dipak
Dipak 2012 年 7 月 13 日
編集済み: Walter Roberson 2017 年 12 月 22 日
I just wanted to remove this <?xml version="1.0" encoding="utf-8"?> attribute.
Huifang Lin
Huifang Lin 2017 年 12 月 22 日
Hi Dipak, Have you figure out a way to do it? I also ran into the same problem. I need to remove this line so that a software can run with the xml. Thanks!

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

回答 (0 件)

カテゴリ

製品

タグ

質問済み:

2012 年 7 月 11 日

編集済み:

2017 年 12 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by