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 "feature" parameter in the |
||
24 | isSupported(feature,version)" method is the name |
||
25 | of the feature and the version is the version number of the |
||
26 | feature to test. XML is a legal value for the feature parameter |
||
27 | (Test for XML, upper case). |
||
28 | Legal values for the version parameter are 1.0 and 2.0 |
||
29 | (Test for 1.0). |
||
30 | |||
31 | Retrieve the root node of the DOM document by invoking |
||
32 | the "getDocumentElement()" method. This should create a |
||
33 | node object on which the "isSupported(feature,version)" |
||
34 | method is invoked with "feature" equal to "XML" and the version equal to 1.0. |
||
35 | The method should return a boolean "true". |
||
36 | |||
37 |
|
||
38 |
|
||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | !DOCTYPE>!-- |