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