remove xmlwrite encoding attribute from XML.
Show older comments
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 Comments
Walter Roberson
on 11 Jul 2012
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
on 13 Jul 2012
Edited: Walter Roberson
on 22 Dec 2017
Huifang Lin
on 22 Dec 2017
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!
Answers (0)
Categories
Find more on Structured Data and XML Documents in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!