Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "appendChild(newChild)" method raises a |
||
20 | HIERARCHY_REQUEST_ERR DOMException if this node is of |
||
21 | a type that does not allow children of the type "newChild" |
||
22 | to be inserted. |
||
23 | |||
24 | Retrieve the root node and attempt to append a newly |
||
25 | created Attr node. An Element node cannot have children |
||
26 | of the "Attr" type, therefore the desired exception |
||
27 | should be raised. |
||
28 | |||
29 |
|
||
30 |
|
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | !DOCTYPE>!-- |