Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.52 KB File ID: #24754

myXMLwrite

by Some One

 

16 Jul 2009

Saves a DOM to a file without adding extra line breaks as does matlab's XMLWRITE function.

| Watch this File

File Information
Description

ST = myXMLwrite(FILENAME, docNode) Saves (properly!) an XML file.
default command XMLWRITE causes addition of extra line breaks in the xml file, this version works around this apparent bug
FILENAME is the file name string to save to (e.g. 'test.xml')
DOCNODE is a Document Object Model (most commonly created by the XMLREAD command, this object will be written to the file specified by FILENAME.
The function returns success status from the FCLOSE function - returns 0 if successful, -1 if not.

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
xmlread Some One 16 Jul 2009 12:12:10
xmlwrite Some One 16 Jul 2009 12:12:10
data export Some One 16 Jul 2009 12:12:10

Contact us at files@mathworks.com