for (int i =0; i < childNodes.getLength(); i++)
{
Node node = childNodes.item(i);
AssetPrim linkset = new AssetPrim(nodeToString(node));
if (linkset != null)
objectCallback.execute(new SceneObjectLoadedCallbackArgs(linkset, bytesRead, totalBytes));
}
}
else
{
// AssetPrim linkset = new AssetPrim(rootNode.OuterXml);
AssetPrim linkset = new AssetPrim(nodeToString(root));
if (linkset != null)
objectCallback.execute(new SceneObjectLoadedCallbackArgs(linkset, bytesRead, totalBytes));
}
}