Daniel@0: %XML_PARSE parses XML string and returns corresponding Matlab structure. Daniel@0: % Daniel@0: % SYNTAX Daniel@0: % V = xml_parse(xmlstr) Daniel@0: % V = xml_parse(xmlstr, attswitch) Daniel@0: % V = xml_parse(xmlstr, attswitch, S) Daniel@0: % Daniel@0: % Parses XML string str and returns matlab variable/structure. Daniel@0: % This is a non-validating parser! Daniel@0: % Daniel@0: % INPUT Daniel@0: % str xml string, possibly from file with function xml_load.m Daniel@0: % att_switch 'on'- reads attributes, 'off'- ignores attributes Daniel@0: % S Optional. Variable which gets extended or whose Daniel@0: % substructure parameters get overridden by entries in Daniel@0: % the string. (may be removed in future versions) Daniel@0: % Daniel@0: % OUTPUT Daniel@0: % V Matlab variable or structure Daniel@0: % Daniel@0: % RELATED Daniel@0: % xml_format, xml_formatany, xml_parseany, xml_load, xml_save, (xmlread, xmlwrite) Daniel@0: Daniel@0: % Copyright (C) 2002-2005, University of Southampton Daniel@0: % Author: Dr Marc Molinari Daniel@0: % $Revision: 1.1 $ $Date: 2005/04/15 17:12:14 $ $Tag$ Daniel@0: