annotate toolboxes/xml_toolbox/xml_parse.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 %XML_PARSE parses XML string and returns corresponding Matlab structure.
wolffd@0 2 %
wolffd@0 3 % SYNTAX
wolffd@0 4 % V = xml_parse(xmlstr)
wolffd@0 5 % V = xml_parse(xmlstr, attswitch)
wolffd@0 6 % V = xml_parse(xmlstr, attswitch, S)
wolffd@0 7 %
wolffd@0 8 % Parses XML string str and returns matlab variable/structure.
wolffd@0 9 % This is a non-validating parser!
wolffd@0 10 %
wolffd@0 11 % INPUT
wolffd@0 12 % str xml string, possibly from file with function xml_load.m
wolffd@0 13 % att_switch 'on'- reads attributes, 'off'- ignores attributes
wolffd@0 14 % S Optional. Variable which gets extended or whose
wolffd@0 15 % substructure parameters get overridden by entries in
wolffd@0 16 % the string. (may be removed in future versions)
wolffd@0 17 %
wolffd@0 18 % OUTPUT
wolffd@0 19 % V Matlab variable or structure
wolffd@0 20 %
wolffd@0 21 % RELATED
wolffd@0 22 % xml_format, xml_formatany, xml_parseany, xml_load, xml_save, (xmlread, xmlwrite)
wolffd@0 23
wolffd@0 24 % Copyright (C) 2002-2005, University of Southampton
wolffd@0 25 % Author: Dr Marc Molinari <m.molinari@soton.ac.uk>
wolffd@0 26 % $Revision: 1.1 $ $Date: 2005/04/15 17:12:14 $ $Tag$
wolffd@0 27