source: trunk/src/@xmltree/char.m @ 1148

Last change on this file since 1148 was 925, checked in by sommeria, 9 years ago

xmltree updated

File size: 671 bytes
Line 
1function s = char(tree)
2% XMLTREE/CHAR Converter function from XMLTree to a description string
3% FORMAT s = char(tree)
4%
5% tree - XMLTree object
6% s    - a description string of an XMLTree
7%__________________________________________________________________________
8%
9% Return a string describing the XMLTree:
10%               'XMLTree object (x nodes) [filename]'
11%__________________________________________________________________________
12% Copyright (C) 2002-2011  http://www.artefact.tk/
13
14% Guillaume Flandin
15% $Id: char.m 4460 2011-09-05 14:52:16Z guillaume $
16
17
18s = strcat('XMLTree object (',num2str(length(tree)),' nodes) [',getfilename(tree),']');
Note: See TracBrowser for help on using the repository browser.