Table of Contents
qc_xml_write
Writes an XML document to a file, removing extraneous newlines.
qc_xml_write(filename, doc); % Writes doc to filename with no extraneous newlines xml_string = qc_xml_write(doc); % Returns doc as a string with no extraneous newlines
This function duplicates the functionality of xmlwrite except that it eliminates the extraneous newlines which xmlwrite is known to introduce.
filename
A string containing the filename to which to write. eg. 'myxml.xml'
doc
An XML Document Object Model object.
xml_string
The XML document as a string, without the extraneous newlines.
qc_xml_write('myxml.xml', doc); % write XML doc to file myxml.xml s = qc_xml_write(doc); % get XML doc as a string
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-04-16. Submit feedback to Quanser about this page.
Link to this page.