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