*/
private void marshallTransientState(DataNode node,
ObjectOutputStream out) throws Exception
{
Map attrs;
NodeData nd;
// first handle the current node
attrs=node.getData();
if(attrs == null || attrs.size() == 0)
nd=new NodeData(node.getFqn());
else
nd=new NodeData(node.getFqn(), attrs);
out.writeObject(nd);
// then visit the children
Map children = node.getChildren();
if(children == null)