public String toXML()
throws ManifoldCFException
{
XMLDoc doc = new XMLDoc();
// name of root node in definition
Object top = doc.createElement(null,rootNodeLabel);
// Now, go through all children
int i = 0;
while (i < children.size())
{
ConfigurationNode node = (ConfigurationNode)children.get(i++);