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

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