Il giorno 26/nov/04, alle 13:45, Derek Hohls ha scritto:

is valid, but a call like:
    var keyNode = document.firstChild.firstChild;
    if (keyNode != null) {
      document.insertBefore(keyNode,keyNode);
    }

gives an error for the insert operation.
org.w3c.dom.DOMException: NOT_FOUND_ERR:
An attempt is made to reference a node in a context where it does not
exist.

I think the DOM does not like inserting a node before itself. It does not make a lot of sense to me either ;). Anyway, this is a problem with the DOM API, not with flowscript or Cocoon.

        Ugo

--
Ugo Cei - http://beblogging.com/

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to