Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | Retrieve the second "p" element and create a NamedNodeMap |
||
20 | object from the attributes of the last child by |
||
21 | invoking the "getAttributes()" method. Once the |
||
22 | list is created an invocation of the "setNamedItem(arg)" |
||
23 | method is done with arg=newAttr, where newAttr is a |
||
24 | new Attr Node previously created. The "setNamedItem(arg)" |
||
25 | method should add then new node to the NamedNodeItem |
||
26 | object by using its "nodeName" attribute("lang'). |
||
27 | This node is then retrieved using the "getNamedItem(name)" |
||
28 | method. |
||
29 | |||
30 | |||
31 |
|
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | ignoreCase="auto" context="attribute"/> |
||
56 | !DOCTYPE>!-- |