-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathContents.m
56 lines (54 loc) · 1.88 KB
/
Contents.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
% XMLTree: XML Toolbox for Matlab.
% Version 1.3 21-Apr-2008
%
% XML file I/O.
% xmltree - Constructor (XML parser).
% save - Save an XMLTree in a file.
%
% XML Tree manipulation methods.
% add - Add a node in a tree.
% attributes - Handle attributes of a node.
% branch - Extract a subtree from a tree.
% children - Return children of a node.
% convert - Convert a tree in a Matlab structure.
% copy - Copy nodes within a tree.
% delete - Delete a node in a tree.
% find - Find nodes in a tree.
% flush - Clear a subtree.
% get - get node properties.
% getfilename - Get filename.
% isfield - Return true if a field is present in a node.
% length - Return the length of a tree.
% move - Move a node within a tree.
% parent - Return parents of a node.
% root - Return the root element of a tree.
% set - Set node properties.
% setfilename - Set filename
%
% Graphical user interface methods (work in progress).
% editor - Reimplementation of <view> for Matlab 6+
% view - Graphical display of a tree.
% view_ui - Useful function for view method.
%
% Low level class methods.
% char - Convert a tree into a string (for display).
% display - Display a tree into MATLAB.
%
% Private methods.
% xml_parser - XML parser.
% xml_findstr - Find one string within another (mexfile)
%
% Conversions Matlab <=> XML
% loadxml -
% savexml -
% mat2xml -
% xml2mat -
% struct2xml -
%
% Demos.
% xmldemo1 - Create an XML tree from scratch and save it.
% xmldemo2 - Read an XML file and access fields.
% xmldemo3 - Read an XML file, modify some fields and save it.
% Copyright 2002-2008 http://www.artefact.tk/
% Guillaume Flandin <Guillaume@artefact.tk>
% $Id: Contents.m 1460 2008-04-21 17:43:18Z guillaume $