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 "setAttributeNS(namespaceURI,qualifiedName,value)" method adds a new attribute. |
||
24 | If an attribute with the same local name and namespace URI is already present |
||
25 | on the element, its prefix is changed to be the prefix part of the "qualifiedName", |
||
26 | and its vale is changed to be the "value" paramter. |
||
27 | null value if no previously existing Attr node with the |
||
28 | same name was replaced. |
||
29 | |||
30 | Add a new attribute to the "emp:address" element. |
||
31 | Check to see if the new attribute has been successfully added to the document. |
||
32 | The new attribute "<newValue>" contains markup and therefore is escaped |
||
33 | by the implementation. |
||
34 | |||
35 |
|
||
36 |
|
||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | !DOCTYPE>!-- |