Home > atmlab > arts > xml > xmlWritecomment.m

xmlWritecomment

PURPOSE ^

Writes a comment to an XML file.

SYNOPSIS ^

function result = xmlWritecomment(fid, comment)

DESCRIPTION ^

 Writes a comment to an XML file.

    Internal function that should never be called directly.
    Use *xmlStoreWithComment* instead.

 FORMAT   result = xmlWritecomment(fid, comment)

 IN    fid        File descriptor of XML file
 IN    comment    String

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

xmlWritecomment.m

SOURCE CODE ^

0001 % Writes a comment to an XML file.
0002 %
0003 %    Internal function that should never be called directly.
0004 %    Use *xmlStoreWithComment* instead.
0005 %
0006 % FORMAT   result = xmlWritecomment(fid, comment)
0007 %
0008 % IN    fid        File descriptor of XML file
0009 % IN    comment    String
0010 
0011 % 2005-08-17   Created by Oliver Lemke.
0012 
0013 function result = xmlWritecomment(fid, comment)
0014 
0015 xmlWriteTag (fid, 'comment', []);
0016 fprintf (fid, '%s\n', comment);
0017 xmlWriteCloseTag (fid, 'comment');
0018

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005