Archive of UserLand's first discussion group, started October 5, 1998.

Re: xml creation feature request

Author:Deke Smith
Posted:12/14/1998; 5:50:38 AM
Topic:Frontier-related announcements
Msg #:1170 (In response to 1142)
Prev/Next:1169 / 1171

This is a feature of the DOM extension (http://www.tallent.com/frontier/dom/). It has verbs that do that (and keeps up with the numbering).

If the variable, origNode, is the address of the Node you wish to duplicate:

local (newNode, nextNode); newNode = DOM.Node.cloneNode (origNode); nextNode = DOM.Node.getNextSibling (origNode); newNode = DOM.Node.insertBefore (nextNode, newNode, nextNode); return newNode;




This page was archived on 6/13/2001; 4:46:31 PM.

© Copyright 1998-2001 UserLand Software, Inc.