Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
3 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 |
|
||
22 |
|
||
23 | |||
24 | The importNode method imports a node from another document to this document. |
||
25 | The returned node has no parent; (parentNode is null). The source node is not |
||
26 | altered or removed from the original document but a new copy of the source node |
||
27 | is created. |
||
28 | |||
29 | Using the method importNode with deep=true, import the first address element node of this |
||
30 | Document. Verify if the node has been imported correctly by checking the length of the |
||
31 | this elements childNode list before and after the import. |
||
32 | |||
33 |
|
||
34 |
|
||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | !DOCTYPE>!-- |