code: @Deprecated
      public static Node toNode(Object o) throws PageException {
  	if (o instanceof XMLStruct) return ((XMLStruct) o).toNode();
  	if (o instanceof Node) return (Node) o;
  	throw new CasterException(o, "node");
      }
docs: casts a value to a XML Node
  
  @param doc XML Document
  @param o Object to cast
  @return XML Element Object
  @throws PageException
  @deprecated replaced with toRawNode