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 | The "removeNamedItemNS(namespaceURI,localName)" method for a |
||
24 | NamedNodeMap should remove a node specified by localName and namespaceURI. |
||
25 | |||
26 | Retrieve a list of elements with tag name "address". |
||
27 | Access the second element from the list and get its attributes. |
||
28 | Try to remove the attribute node with local name "domestic" |
||
29 | and namespace uri "http://www.usa.com" with |
||
30 | method removeNamedItemNS(namespaceURI,localName). |
||
31 | Check to see if the node has been removed. |
||
32 | |||
33 |
|
||
34 |
|
||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | !DOCTYPE>!-- |