writeProperty (node.get(key,false));
writeProperty (prop, elementName, propName);
	private void writeProperties (INode node, int level) throws IOException {		Enumeration e = null;		if ( dbmode==true && node instanceof helma.objectmodel.db.Node ) {			// a newly constructed db.Node doesn't have a propMap,			// but returns an enumeration of all it's db-mapped properties			Hashtable props = ((Node)node).getPropMap();			if (props==null)				return;			e = props.keys();		} else {			e = node.properties();		}		while ( e.hasMoreElements() ) {			String key = (String)e.nextElement();			IProperty prop = node.get(key,false);			if ( prop!=null ) {				int type = prop.getType();				if( type==IProperty.NODE ) {					write (node.getNode(key,false), key, level);				} else {					writeProperty (node.get(key,false));				}			}		}	}