view m-toolbox/classes/+utils/@xml/getString.m @ 46:ca0b8d4dcdb6
database-connection-manager
Fix
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Tue, 06 Dec 2011 19:07:27 +0100 (2011-12-06)
parents
f0afece42f48
children
line source
+ −
+ − function str = getString(node)
+ −
+ − % Get node content
+ − str = utils.xml.recoverString(node.getTextContent());
+ − % Get the shape from the attribute
+ − shape = utils.xml.getShape(node);
+ −
+ − str = reshape(str, shape);
+ −
+ − end
+ −