Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "setAttributeNode(newAttr)" method returns the |
||
20 | null value if no previously existing Attr node with the |
||
21 | same name was replaced. |
||
22 | |||
23 | Retrieve the last child of the third employee and add a |
||
24 | new attribute to it. The new attribute node added is |
||
25 | "district", which is not part of this Element. The |
||
26 | method should return the null value. |
||
27 | This test uses the "createAttribute(name)" |
||
28 | method from the Document interface. |
||
29 | |||
30 |
|
||
31 |
|
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | !DOCTYPE>!-- |