Home > brede > brede_write_xml.m

brede_write_xml

PURPOSE ^

brede_write_xml - Write structure to XML

SYNOPSIS ^

function brede_write_xml(filename, S);

DESCRIPTION ^

 brede_write_xml      - Write structure to XML

       function brede_write_xml(filename, S); 
 
       Input:  filename  Filename for the XML file
               S         Structure to be written, either a single
                         structure, an array of structures or a
                         cell array of structures.

       This function write a 'bib', 'exp' or 'loc' structure to an XML
       file. The format of the XML file is "poor man's XML" (pXML).

       Example:
         fext =  fullfile(fileparts(which('brede')), 'xml', 'woexts.xml');
         T = brede_read_xml(fext, 'output', 'collapsesecond');
         Ts.Ext = T;
         Ts.type = 'exts';
         brede_write_xml('woexts.xml', T);

       See also BREDE, BREDE_EXP, BREDE_BIB, BREDE_LOC,
                BREDE_WRITE_VOL2XML.

 $Id: brede_write_xml.m,v 1.13 2005/10/05 13:26:31 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005