code: public static Node toXML(Object value, Node defaultValue) {
  	try {
  	    return toXML(value);
  	}
  	catch (PageException e) {
  	    return defaultValue;
  	}
      }
docs: cast Object to a XML Node
  
  @param value
  @param defaultValue
  @return XML Node