Mercurial > hg > ltpda
comparison m-toolbox/classes/+utils/@xml/getString.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 | |
2 function str = getString(node) | |
3 | |
4 % Get node content | |
5 str = utils.xml.recoverString(node.getTextContent()); | |
6 % Get the shape from the attribute | |
7 shape = utils.xml.getShape(node); | |
8 | |
9 str = reshape(str, shape); | |
10 | |
11 end | |
12 |