- From: <keshlam@us.ibm.com>
- Date: Fri, 3 Mar 2000 08:57:41 -0500
- To: Johannes Ewalt Koch <koch@physik.TU-Berlin.DE>
- cc: www-dom@w3.org
importNode copies the other node "by value" -- it extracts all the information and uses it to produce a new node (or nodes) belonging to the target document. The data being copied must already be available via the DOM Node API; you're importing from another Document, not from a URI or file. If all you have is a URI, your application will have to use that URI to retrieve the data, pass it through a parser and find the node it's interested in (or otherwise find that data and express it as a DOM Node). After you have done so, importNode can be used to copy it. ______________________________________ Joe Kesselman / IBM Research
Received on Friday, 3 March 2000 08:58:03 UTC