wolffd@0: %XML_LOAD Loads XML file and return contents as Matlab structure or variable wolffd@0: % wolffd@0: % SYNTAX V = xml_load( filename ) wolffd@0: % V = xml_load( filename, attswitch ) wolffd@0: % wolffd@0: % INPUT wolffd@0: % filename filename of xml file to load (if extension .xml is omitted, wolffd@0: % xml_load tries to append it if the file cannot be found). wolffd@0: % This file should have been saved with xml_save(). wolffd@0: % If it's a non-Matlab XML file, please use e.g. wolffd@0: % xmlstr = fileread(filename); V = xml_parseany(xmlstr); wolffd@0: % attswitch optional, default='on': wolffd@0: % 'on' takes attributes idx,size,type into account for wolffd@0: % creating corresponding Matlab data types wolffd@0: % 'off' ignores attributes in XML element headers wolffd@0: % wolffd@0: % OUTPUT wolffd@0: % V Matlab structure or variable wolffd@0: % wolffd@0: % SEE ALSO wolffd@0: % xml_save, xml_format, xml_formatany, xml_parse, xml_parseany, xml_help, (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: