Mercurial > hg > ltpda
comparison m-toolbox/classes/+utils/@xml/attachEmptyObjectNode.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 attachEmptyObjectNode(objs, dom, parent) | |
3 | |
4 emptyNode = dom.createElement(class(objs)); | |
5 emptyNode.setAttribute('shape', sprintf('%dx%d', size(objs))); | |
6 % Add to parent node | |
7 parent.appendChild(emptyNode); | |
8 | |
9 end |