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 method getNamespaceURI returns the namespace URI of this node, or null if it is unspecified |
||
24 | For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with |
||
25 | a DOM Level 1 method, such as createElement from the Document interface, this is always null. |
||
26 | |||
27 | Ceate two new element nodes and atribute nodes, with and without namespace prefixes. |
||
28 | Retreive their namespaceURI's using getNamespaceURI and verrify if it is correct. |
||
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 | |||
56 | |||
57 | |||
58 | |||
59 | !DOCTYPE>!-- |