Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "getAttributes()" method(Node Interface) may |
||
20 | be used to retrieve the set of all attributes of an |
||
21 | element. |
||
22 | |||
23 | Create a list of all the attributes of the last child |
||
24 | of the first employee by using the "getAttributes()" |
||
25 | method. Examine the length of the attribute list. |
||
26 | This test uses the "getLength()" method from the |
||
27 | NameNodeMap interface. |
||
28 | |||
29 |
|
||
30 |
|
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | !-->!--attributes>!DOCTYPE>!-- |