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