Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3584 sourcerer 1
2
13
 
14
15
16
elementInUseAttributeErr
17
NIST
18
19
    The "setAttributeNode(newAttr)" method raises an
20
   "INUSE_ATTRIBUTE_ERR DOMException if the "newAttr"
21
   is already an attribute of another element.
22
 
23
   Retrieve the last child of the second employee and append
24
   a newly created element.  The "createAttribute(name)"
25
   and "setAttributeNode(newAttr)" methods are invoked
26
   to create and add a new attribute to the newly created
27
   Element.  The "setAttributeNode(newAttr)" method is
28
   once again called to add the new attribute causing an
29
   exception to be raised since the attribute is already
30
   an attribute of another element.
31
32
Mary Brady
33
2001-08-17
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    
55
        
56
    
57
58