File: laz2_dom.xml

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (8952 lines) | stat: -rw-r--r-- 271,281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
<?xml version="1.0" encoding="UTF-8"?>
<!--

Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus 
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0 
International public license.

https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt

Copyright (c) 1997-2025, by the Lazarus Development Team.

-->
<fpdoc-descriptions>
<package name="lazutils">
<!--
====================================================================
laz2_DOM
====================================================================
-->
<module name="laz2_DOM">
<short>Provides an implementation of DOM interfaces.</short>
<descr>
<p>
<file>laz2_dom.pas</file> provides an Implementation of DOM (Document Object 
Model) interfaces. It is a modified copy of the FCL dom.pp unit (revision 
15251) adapted to use UTF-8 instead of WideString by Mattias Gaertner.
</p>
<p>
Copyright (c) 1999-2000 by Sebastian Guenther, sg@freepascal.org<br/>
Modified in 2006 by Sergei Gorelkin, sergei_gorelkin@mail.ru
</p>
<p>
This unit provides classes which implement the interfaces defined in the
DOM (Document Object Model) specification. The current state is:
</p>
<ul>
<li>DOM Levels 1 and 2 -  Completely implemented</li>
<li>DOM Level 3  -  Partially implemented</li>
</ul>
<p>
Specification used for this implementation:<br/>
<url href="https://www.w3.org/TR/DOM-Level-2-Core/">
Document Object Model (DOM) Level 2 Specification
</url>
</p>
<p>
<file>laz2_dom.pas</file> is part of the <file>lazutils</file> package.
</p>
</descr>

<!-- unresolved external references -->
<element name="SysUtils"/>
<element name="Classes"/>
<element name="laz2_xmlutils"/>

<!-- constant Visibility: default -->
<element name="INDEX_SIZE_ERR">
<short>Represents DOM exception code 1.</short>
<descr>
Index or size is negative, or greater than the allowed value.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="DOMSTRING_SIZE_ERR">
<short>Represents DOM exception code 2.</short>
<descr>
Specified range of text does not fit into a DOMString.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="HIERARCHY_REQUEST_ERR">
<short>Represents DOM exception code 3.</short>
<descr>
Node is inserted somewhere it does not belong.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="WRONG_DOCUMENT_ERR">
<short>Represents DOM exception code 4.</short>
<descr>
Node is used in a different document than the one that created it (that does 
not support it).
</descr>
</element>

<!-- constant Visibility: default -->
<element name="INVALID_CHARACTER_ERR">
<short>Represents DOM exception code 5.</short>
<descr>
An invalid or illegal character is specified, such as in a name.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="NO_DATA_ALLOWED_ERR">
<short>Represents DOM exception code 6.</short>
<descr>
<p>
Data is specified for a node which does not support data.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="NO_MODIFICATION_ALLOWED_ERR">
<short>Represents DOM exception code 7.</short>
<descr>
An attempt was made to modify an object where modifications are not allowed.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="NOT_FOUND_ERR">
<short>Represents DOM exception code 8.</short>
<descr>
<p>
An attempt was made to reference a node in a context where it does not exist.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="NOT_SUPPORTED_ERR">
<short>Represents DOM exception code 9.</short>
<descr>
<p>
Implementation does not support the type of object requested.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="INUSE_ATTRIBUTE_ERR">
<short>Represents DOM exception code 10.</short>
<descr>
<p>
An attempt was made to add an attribute that is already in use elsewhere.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="INVALID_STATE_ERR">
<short>Represents DOM exception code 11.</short>
<descr>
<p>
An attempt was made to use an object that is no longer usable.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="SYNTAX_ERR">
<short>Represents DOM exception code 12.</short>
<descr>
<p>
An invalid or illegal string was specified.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="INVALID_MODIFICATION_ERR">
<short>Represents DOM exception code 13.</short>
<descr>
<p>
An attempt was made to modify the type of the underlying object.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="NAMESPACE_ERR">
<short>Represents DOM exception code 14.</short>
<descr>
<p>
An attempt was made to create or change an object in a way which is incorrect 
for the defined namespaces.
</p>
</descr>
</element>

<!-- constant Visibility: default -->
<element name="INVALID_ACCESS_ERR">
<short>Represents DOM exception code 15.</short>
<descr>
Parameter or operation is not supported by the underlying object.
</descr>
</element>

<!-- constant Visibility: default -->
<element name="ELEMENT_NODE">
<short>Represents the node type for DOM Elements.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="ATTRIBUTE_NODE">
<short>Represents the node type for DOM Attributes.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="TEXT_NODE">
<short>Represents the node type for DOM Text nodes.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="CDATA_SECTION_NODE">
<short>Represents the node type for DOM CDATA nodes.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="ENTITY_REFERENCE_NODE">
<short>Represents the node type for DOM Entity References.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="ENTITY_NODE">
<short>Represents the node type for DOM Entities.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="PROCESSING_INSTRUCTION_NODE">
<short>Represents the node type for DOM Processing Instructions.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="COMMENT_NODE">
<short>Represents the node type for DOM Comments.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="DOCUMENT_NODE">
<short>Represents the node type for DOM Document Elements.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="DOCUMENT_TYPE_NODE">
<short>
Represents the node type for DOM Document Type Declarations (DTD).
</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="DOCUMENT_FRAGMENT_NODE">
<short>Represents the node type for DOM Document Fragments.</short>
<descr></descr>
</element>

<!-- constant Visibility: default -->
<element name="NOTATION_NODE">
<short>Represents the node type for DOM Notation Declarations.</short>
<descr></descr>
</element>

<!-- alias type Visibility: default -->
<element name="DOMString">
<short>Type used for String values in DOM interfaces.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- alias type Visibility: default -->
<element name="DOMPChar">
<short>Type used for Pointers to Char values in DOM interfaces.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- alias type Visibility: default -->
<element name="DOMChar">
<short>Type used for Char values in DOM interfaces.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- pointer type Visibility: default -->
<element name="PDOMString">
<short>Type used for Pointers to DOMString values.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="EDOMError">
<short>Base class for exceptions raised in DOM interface classes.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: public -->
<element name="EDOMError.Code">
<short>Error code constant for the exception.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMError.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is an overloaded variant of the constructor for the class 
instance. It allows an additional <var>ASituation</var> argument which 
describes the circumstance (or the class and method) where the Exception is 
raised. It calls the inherited constructor using the values in the 
<var>ClassName</var> property and the ASituation parameter as arguments.
</p>
<p>
This variant of the constructor is used in the implementation of methods of 
DOM classes like: TXMLDocument, TDOMDocument, TDOMImplementation, 
TDOMNamedNodeMap, TDOMNode, TDOMNode_NS, and TDOMElement.
</p>
</descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMError.Create.ACode">
<short>Error code for the DOM exception.</short>
</element>

<!-- argument Visibility: default -->
<element name="EDOMError.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMIndexSize">
<short>Exception raised for an invalid index size.</short>
<descr>
<p>
<var>EDOMIndexSize</var> is an <var>EDOMError</var> descendant which 
implements an exception raised when an invalid character position or offset 
is specified in <var>TDOMCharacterData</var> or <var>TDOMText</var> methods.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData.SubstringData"/>
<link id="TDOMCharacterData.InsertData"/>
<link id="TDOMCharacterData.DeleteData"/>
<link id="TDOMText.SplitText"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMIndexSize.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. It calls the 
inherited method using the <var>INDEX_SIZE_ERR</var> constant and the 
<var>ASituation</var> parameter as arguments.
</p>
</descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMIndexSize.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMHierarchyRequest">
<short>
Exception raised when an inserted node is not valid for the Document Object 
Model (DOM).
</short>
<descr>
<p>
Used to ensure the pre-insert integrity of the hierarchical structure for the 
DOM node tree. Prevents violation of constraints for the Document Object 
Model (DOM).
</p>
</descr>
<seealso>
<link id="TDOMNode.InsertBefore"/>
<link id="TDOMNode.ReplaceChild"/>
<link id="TDOMNode_WithChildren.InsertBefore"/>
<link id="TDOMDocument.InsertBefore"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMHierarchyRequest.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. It calls the 
inherited method using the <var>HIERARCHY_REQUEST_ERR</var> constant and the 
<var>ASituation</var> parameter as arguments.
</p>
</descr>
<seealso>
<link id="#rtl.sysutils.Exception.Create">Exception.Create</link>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMHierarchyRequest.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMWrongDocument">
<short>
Exception raised when a node is used in a document other than the one that 
created it.
</short>
<descr>
<p>
Raised in methods like <var>TDOMNode_WithChildren.InsertBefore</var> and 
<var>TDOMImplementation.CreateDocument</var>.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.InsertBefore"/>
<link id="TDOMImplementation.CreateDocument"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMWrongDocument.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. It calls the 
inherited method using the <var>WRONG_DOCUMENT_ERR</var> constant and the 
<var>ASituation</var> parameter as arguments.
</p>
</descr>
<seealso/>
</element>

<!-- argument Visibility: default -->
<element name="EDOMWrongDocument.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMNotFound">
<short>
Exception raised when a node is accessed in a context where it does not exist.
</short>
<descr>
<p>
Raised in methods like:
</p>
<ul>
<li>TDOMNode.DetachChild</li>
<li>TDOMNode_WithChildren.InsertBefore</li>
<li>TDOMNode_WithChildren.DetachChild</li>
<li>TDOMNamedNodeMap.RemoveNamedItem</li>
<li>TDOMNamedNodeMap.RemoveNamedItemNS</li>
<li>TDOMElement.RemoveAttributeNode</li>
</ul>
</descr>
<seealso>
<link id="TDOMNode.DetachChild"/>
<link id="TDOMNode_WithChildren.InsertBefore"/>
<link id="TDOMNode_WithChildren.DetachChild"/>
<link id="TDOMNamedNodeMap.RemoveNamedItem"/>
<link id="TDOMNamedNodeMap.RemoveNamedItemNS"/>
<link id="TDOMElement.RemoveAttributeNode"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMNotFound.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMNotFound.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMNotSupported">
<short>
Exception raised when the DOM implementation does not support the requested 
object type or operation.
</short>
<descr>
<p>
Raised in methods like:
</p>
<ul>
<li>TDOMNode.CloneNode</li>
<li>TDOMDocument.CreateCDATASection</li>
<li>TDOMDocument.CreateProcessingInstruction</li>
<li>TDOMDocument.CreateEntityReference</li>
</ul>
</descr>
<seealso>
<link id="TDOMNode.CloneNode"/>
<link id="TDOMDocument.CreateCDATASection"/>
<link id="TDOMDocument.CreateProcessingInstruction"/>
<link id="TDOMDocument.CreateEntityReference"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMNotSupported.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
Calls the inherited method using the <var>NOT_SUPPORTED_ERR</var> error 
constant and the value in <var>ASituation</var> as arguments.
</p>
</descr>
<seealso/>
</element>

<!-- argument Visibility: default -->
<element name="EDOMNotSupported.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMInUseAttribute">
<short>
Exception raised when adding an attribute that is already in use.
</short>
<descr>
<remark>
Not used in the current LazUtils implementation.
</remark>
</descr>
<seealso>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMInUseAttribute.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMInUseAttribute.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMInvalidState">
<short>
Exception raised when accessing an object that is no longer usable.
</short>
<descr>
<remark>
Not used in the current LazUtils implementation.
</remark>
</descr>
<seealso>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMInvalidState.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMInvalidState.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMSyntax">
<short>
Exception raised when an invalid or illegal value is specified for a DOM 
object.
</short>
<descr>
<remark>
Not used in the current LazUtils implementation.
</remark>
</descr>
<seealso>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMSyntax.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMSyntax.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMInvalidModification">
<short>
Exception raised when an attempt was made to modify the type for an object.
</short>
<descr>
<remark>
Not used in the current LazUtils implementation.
</remark>
</descr>
<seealso>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMInvalidModification.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMInvalidModification.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMNamespace">
<short>
Exception raised when an object is changed in a way that is invalid for its 
Namespaces.
</short>
<descr>
<p>
Raised in the TDOMNode_NS.SetPrefix method.
</p>
</descr>
<seealso>
<link id="TDOMNode_NS.SetPrefix"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMNamespace.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMNamespace.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- class Visibility: default -->
<element name="EDOMInvalidAccess">
<short>
Exception raised when a parameter or operation is not supported by the object.
</short>
<descr>
<remark>
Not used in the current implementation.
</remark>
</descr>
<seealso>
<link id="EDOMError"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="EDOMInvalidAccess.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="EDOMInvalidAccess.Create.ASituation">
<short>Provides context information for the exception.</short>
</element>

<!-- enumeration type Visibility: default -->
<element name="TNodeFlagEnum">
<short>Enumeration with flag values for DOM Nodes.</short>
<descr></descr>
<seealso>
<link id="TNodeFlags"/>
<link id="TDOMNode.Flags"/>
</seealso>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfReadonly">
<short>Node is read-only.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfRecycled">
<short>Node is recycled.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfLevel2">
<short>Node is a DOM Level 2-specific type.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfIgnorableWS">
<short>Node contains ignorable whitespace only.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfSpecified">
<short>Node value was specified rather than implied.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TNodeFlagEnum.nfDestroying">
<short>Node is being destroyed.</short>
</element>

<!-- set type Visibility: default -->
<element name="TNodeFlags">
<short>Set type used to store TNodeFlagEnum values.</short>
<descr>
<p>
<var>TNodeFlags</var> is the type used to implement the <var>Flags</var> 
property in <var>TDOMNode</var> and descendants.
</p>
</descr>
<seealso>
<link id="TNodeFlagEnum"/>
<link id="TDOMNode.Flags"/>
</seealso>
</element>

<element name="TDOMNodeEnumerator">
<short>Implements an enumerator for DOM Nodes.</short>
<descr>
<p>
<var>TDOMNodeEnumerator</var> is a class used to implement an enumerator for 
DOM Nodes. The enumerator is created for a specified DOM node, and provides 
access to the top-level children for the DOM node. It does not descend any 
lower than the first child node and its sibling nodes in the DOM sub-tree.
</p>
<p>
Use the <var>MoveNext</var> method to select the next child node in the 
enumerator. Use the <var>Current</var> property to access the current DOM 
node for the enumerator.
</p>
</descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.NextSibling"/>
</seealso>
</element>

<element name="TDOMNodeEnumerator.FNode"/>
<element name="TDOMNodeEnumerator.FCurrent"/>

<element name="TDOMNodeEnumerator.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDOMNodeEnumerator.Create.Node">
<short>DOM node examined in the enumerator.</short>
</element>

<element name="TDOMNodeEnumerator.MoveNext">
<short>
Gets the First child or the next Sibling as the Current value for the 
enumerator.
</short>
<descr></descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.NextSibling"/>
</seealso>
</element>
<element name="TDOMNodeEnumerator.MoveNext.Result">
<short>DOM node to use as the Current value for the enumerator.</short>
</element>

<element name="TDOMNodeEnumerator.Current">
<short>Current DOM node for the enumerator.</short>
<descr></descr>
<seealso>
<link id="TDOMNode"/>
</seealso>
</element>

<element name="TDOMNodeAllChildEnumerator">
<short>
Implements an enumerator that visits all Children in the sub-tree for a DOM 
node.
</short>
<descr>
<p>
<var>TDOMNodeAllChildEnumerator</var> is a class used to implement an 
enumerator for a specified DOM node that visits all child nodes in its 
sub-tree. The enumerator uses the GetNextNode method in TDOMNode to get the 
value in the <var>Current</var> property. This means it will recursively 
descend into <var>ChildNodes</var>, and is halted when the next sibling for 
the specified DOM node is reached.
</p>
<p>
Use the <var>MoveNext</var> method to get the next DOM node for the 
enumerator. Use the <var>Current</var> property to access the currently 
selected DOM node.
</p>
</descr>
<seealso>
<link id="TDOMNode.GetNextNode"/>
</seealso>
</element>

<element name="TDOMNodeAllChildEnumerator.FNode"/>
<element name="TDOMNodeAllChildEnumerator.FCurrent"/>
<element name="TDOMNodeAllChildEnumerator.FEnd"/>

<element name="TDOMNodeAllChildEnumerator.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDOMNodeAllChildEnumerator.Create.Node">
<short>DOM node examined in the enumerator.</short>
</element>

<element name="TDOMNodeAllChildEnumerator.MoveNext">
<short>Gets the next DOM node for the enumerator.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDOMNodeAllChildEnumerator.MoveNext.Result">
<short>DOM node used as the Current value for the enumerator.</short>
</element>

<element name="TDOMNodeAllChildEnumerator.Current">
<short>Current DOM node selected in the enumerator.</short>
<descr></descr>
<seealso></seealso>
</element>

<element name="TDOMNodeAllChildEnumerator.GetEnumerator">
<short>Gets the enumerator class instance.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDOMNodeAllChildEnumerator.GetEnumerator.Result">
<short>Enumerator class instance.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMNode">
<short>Implements the DOM Node interface.</short>
<descr>
<p>
<var>TDOMNode</var> is a class which implements the Node interface in the 
Document Object Model (DOM).
</p>
<p>
TDOMNode represents a single node in a DOM document. It includes NodeName, 
NodeValue, NodeType, and Attributes properties with information common to all 
nodes in a document tree. The ParentNode, ChildNodes, and OwnerDocument 
properties provide access to the tree structure for a DOM document.
</p>
<p>
TDOMNode implements the full DOM Level 2 specification, and provides partial 
support for the DOM Level 3 specification. It also provides extensions to the 
DOM Node interface that allow locating or cloning a node, perform name 
comparisons, or access its node flags.
</p>
<p>
TDOMNode is used as the ancestor for other specialized Node types, as 
specified in the DOM specification. These descendent classes may alter the 
base value and/or behavior as required for the specialized node type.
</p>
</descr>
<seealso>
<link id="laz2_XMLWrite.WriteXML"/>
<link id="laz2_XMLRead.ReadXMLFragment"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNode.FPool"/>
<element name="TDOMNode.FFlags"/>
<element name="TDOMNode.FParentNode"/>
<element name="TDOMNode.FPreviousSibling"/>
<element name="TDOMNode.FNextSibling"/>
<element name="TDOMNode.FOwnerDocument"/>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr>
<p>
<var>GetNodeName</var> is an abstract virtual method <var>DOMString</var> 
function. It is used to get the value for the <var>NodeName</var> property. 
It is overridden in descendent classes to provide the name needed for the DOM 
node specialization.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="DOMString"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetNodeValue">
<short>Gets the value for the NodeValue property.</short>
<descr>
<p>
<var>GetNodeValue</var> is a <var>DOMString</var> function used to get the 
value for the <var>NodeValue</var> property. It is overridden in descendent 
classes to provide the value needed for the DOM node specialization. In 
<var>TDOMNode</var>, the method always returns an empty string ('').
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
<link id="DOMString"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetNodeValue.Result">
<short>Value for the NodeValue property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode.SetNodeValue">
<short>Sets the value for the NodeValue property.</short>
<descr>
<p>
<var>SetNodeValue</var> is a method used to set the <var>NodeValue</var> 
property to the value specified in <var>AValue</var>. It has an empty 
implementation in <var>TDOMNode</var>, and must be re-implemented in a 
descendent class to use the correct content for the DOM node specialization.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
<link id="TDOMNode.GetNodeValue"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.SetNodeValue.AValue">
<short>New value for the NodeValue property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetFirstChild">
<short>Gets the value for the FirstChild property.</short>
<descr>
<p>
<var>GetFirstChild</var> always returns <b>Nil</b> for the property value. 
<var>TDOMNode</var> does not allocate storage for child nodes. The method 
must be re-implemented in a descendent class to which implements a DOM node 
specialization with child nodes.
</p>
</descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetFirstChild.Result">
<short>Value for the FirstChild property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetLastChild">
<short>Gets the value for the LastChild property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.LastChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetLastChild.Result">
<short>Value for the LastChild property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetAttributes">
<short>Gets the value for the Attributes property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.Attributes"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetAttributes.Result">
<short>Value for the Attributes property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetRevision">
<short>Gets the revision number for the node.</short>
<descr>
<p>
The value for the property is retrieved from the revision number in the 
<var>OwnerDocument</var> for the node instance.
</p>
<p>
<var>GetRevision</var> is called from methods in <var>TDOMNodeList</var> 
which compare the revision numbers for a given node and the node list where 
it is stored. When the revision numbers differ, the node list is refreshed by 
calling the <var>BuildList</var> method in the TDOMNodeList instance.
</p>
</descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMNodeList.BuildList"/>
<link id="TDOMNodeList.Count"/>
<link id="TDOMNodeList.Create"/>
<link id="TDOMNodeList.Item"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetRevision.Result">
<short>Revision number for the node.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetTextContent">
<short>Gets the value for the TextContent property.</short>
<descr>
<p>
Returns the value from the <var>NodeValue</var> property in 
<var>TDOMNode</var>.
</p>
</descr>
<seealso>
<link id="TDOMNode.TextContent"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetTextContent.Result">
<short>Value for the TextContent property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode.SetTextContent">
<short>Sets the value in the TextContent property.</short>
<descr>
<p>
Updates the value in <var>NodeValue</var> property in <var>TDOMNode</var>.
</p>
</descr>
<seealso>
<link id="TDOMNode.TextContent"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.SetTextContent.AValue">
<short>Value for the TextContent property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetLocalName">
<short>Gets the value for the LocalName property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.LocalName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetLocalName.Result">
<short>Value for the LocalName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetNamespaceURI">
<short>Gets the value for the NamespaceURI property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NamespaceURI"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetNamespaceURI.Result">
<short>Value for the NamespaceURI property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetPrefix">
<short>Gets the value for the Prefix property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.Prefix"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetPrefix.Result">
<short>Value for the Prefix property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode.SetPrefix">
<short>Sets the value for the Prefix property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.Prefix"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.SetPrefix.Value">
<short>New value for the Prefix property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetOwnerDocument">
<short>Gets the value for the OwnerDocument property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetOwnerDocument.Result">
<short>Value for the OwnerDocument property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode.GetBaseURI">
<short>Gets the value for the BaseURI property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.BaseURI"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetBaseURI.Result">
<short>Value for the BaseURI property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode.SetReadOnly">
<short>
Updates the read-only Node flag for the DOM Node and its children.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.SetReadOnly.Value">
<short>New value for the node flag.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode.Changing">
<short>Determines if the Node and its owner document can be modified.</short>
<descr>
<p>
<var>Changing</var> is a procedure used to determine if the DOM node and its 
Owner document can be modified. Changing uses the Node Flags in the DOM node 
and its OwnerDocument to determine if the Node is marked as read-only and the 
document is not being freed.
</p>
</descr>
<errors>
<p>
Raises an <var>EDOMError</var> with the DOM exception code 
<var>NO_MODIFICATION_ALLOWED_ERR</var> when the Node is marked as read-only.
</p>
</errors>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMNode.Flags"/>
<link id="TNodeFlags"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="TDOMNode.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. Creates stores 
the <var>TDOMDocument</var> instance in <var>AOwner</var> as the 
<var>OwnerDocument</var> for the DOM node. Create calls the inherited 
constructor.
</p>
</descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.Create.AOwner">
<short>Document that is the Owner of the class instance.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMNode.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the destructor for the class instance. Destroy ensures 
that the <var>ParentNode</var> is notified that the node will be removed from 
the tree structure. When ParentNode is assigned, its <var>DetachChild</var> 
method is called to remove the class instance from the <var>ChildNodes</var> 
hierarchy.
</p>
<p>
Destroy calls the inherited destructor prior to exiting from the method.
</p>
</descr>
<seealso>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNode.DetachChild"/>
<link id="TDOMNode.ChildNodes"/>
</seealso>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMNode.FreeInstance">
<short>Performs actions needed to free the class instance.</short>
<descr>
<p>
<var>FreeInstance</var> is an overridden procedure used to perform actions 
needed when the class instance is freed. FreeInstance ensures that 
information in the internal <var>TNodePool</var> custom memory manager is 
updated, and the node is freed from its node pool. If the internal node pool 
has not been assigned, the inherited FreeInstance method is called.
</p>
</descr>
<seealso>
<link id="#rtl.system.TObject.FreeInstance">TObject.FreeInstance</link>
<link id="TNodePool.FreeNode"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.GetChildNodes">
<short>Gets the value for the ChildNodes property.</short>
<descr>
<p>
Calls the <var>GetChildNodeList</var> method in <var>OwnerDocument</var> to 
get the list of child nodes for the current class instance. The property 
value is an empty node list if there are no child nodes in the current node.
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMDocument.GetChildNodeList"/>
<link id="TDOMNodeList"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.GetChildNodes.Result">
<short>Value for the ChildNodes property.</short>
</element>

<element name="TDOMNode.GetChildCount">
<short>Gets the number of Child nodes for the DOM node.</short>
<descr>
<p>
Always returns <b>0</b> (<b>zero</b>) in <var>TDOMNode</var>. Overridden in 
descendent classes (like <var>TDOMNode_WithChildren</var>).
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.GetChildCount"/>
</seealso>
</element>
<element name="TDOMNode.GetChildCount.Result">
<short>Number of Child nodes for the DOM node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.NodeName">
<short>Name for the DOM node.</short>
<descr>
<p>
<var>NodeName</var> is a read-only <var>DOMString</var> property that 
contains the name for the DOM node. The read access specifier for the 
property is an abstract method in TDOMNode, and must be implemented in 
descendent classes to return the correct value for the DOM node 
specializations.
</p>
<p>
The values for NodeName, NodeValue, and Attributes vary according to the node 
type as follows:
</p>
<table>
<tr>
<td><b>DOM Interface</b></td>
<td><b>NodeName</b></td>
<td><b>NodeValue</b></td>
<td><b>Attributes</b></td>
</tr>
<tr>
<td>TDOMAttr</td>
<td>Name of the attribute</td>
<td>Value of the attribute</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMCDATASection</td>
<td><var>#cdata-section</var></td>
<td>Content of the CDATA Section</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMComment</td>
<td><var>#comment</var></td>
<td>Content of the comment</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocument</td>
<td><var>#document</var></td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocumentFragment</td>
<td><var>#document-fragment</var></td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocumentType</td>
<td>Document type name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMElement</td>
<td>Tag name</td>
<td>None</td>
<td>TDOMNamedNodeMap</td>
</tr>
<tr>
<td>TDOMEntity</td>
<td>Entity name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMEntityReference</td>
<td>Name of the entity referenced</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMNotation</td>
<td>Notation name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMProcessingInstruction</td>
<td>Target</td>
<td>Entire content excluding the target</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMText</td>
<td><var>#text</var></td>
<td>Content of the text node</td>
<td>N/A</td>
</tr>
</table>
</descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.NodeValue">
<short>Value for the DOM node.</short>
<descr>
<p>
<var>NodeValue</var> is a <var>DOMString</var> property that contains the 
value for the DOM node. Reading the value in NodeValue always results in an 
empty string (<b>''</b>) in TDOMNode, and writing the value for the property 
is not implemented. The access specifiers must be re-implemented in 
descendent classes to perform the actions required for the DOM node 
specializations.
</p>
<p>
The values for NodeName, NodeValue, and Attributes vary according to the node 
type as follows:
</p>
<table>
<tr>
<td><b>DOM Interface</b></td>
<td><b>NodeName</b></td>
<td><b>NodeValue</b></td>
<td><b>Attributes</b></td>
</tr>
<tr>
<td>TDOMAttr</td>
<td>Name of the attribute</td>
<td>Value of the attribute</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMCDATASection</td>
<td><var>#cdata-section</var></td>
<td>Content of the CDATA Section</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMComment</td>
<td><var>#comment</var></td>
<td>Content of the comment</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocument</td>
<td><var>#document</var></td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocumentFragment</td>
<td><var>#document-fragment</var></td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMDocumentType</td>
<td>Document type name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMElement</td>
<td>Tag name</td>
<td>None</td>
<td>TDOMNamedNodeMap</td>
</tr>
<tr>
<td>TDOMEntity</td>
<td>Entity name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMEntityReference</td>
<td>Name of the entity referenced</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMNotation</td>
<td>Notation name</td>
<td>None</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMProcessingInstruction</td>
<td>Target</td>
<td>Entire content excluding the target</td>
<td>N/A</td>
</tr>
<tr>
<td>TDOMText</td>
<td><var>#text</var></td>
<td>Content of the text node</td>
<td>N/A</td>
</tr>
</table>
</descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.NodeType">
<short>Node type for the DOM Node.</short>
<descr>
<p>
<var>NodeType</var> is a read-only <var>Integer</var> property that 
represents the DOM node type as defined in the DOM specification. The read 
access specifier in TDOMNode is an abstract method, and must be implemented 
in a descendent class to return the correct value for the DOM node 
specializations.
</p>
<p>
DOM node specializations use the following values in the NodeType property:
</p>
<table>
<tr>
<td><b>DOM Interface</b></td>
<td><b>NodeType Constant</b></td>
<td><b>NodeType Value</b></td>
</tr>
<tr>
<td>TDOMElement</td>
<td>ELEMENT_NODE</td>
<td>1</td>
</tr>
<tr>
<td>TDOMAttr</td>
<td>ATTRIBUTE_NODE</td>
<td>2</td>
</tr>
<tr>
<td>TDOMText</td>
<td>TEXT_NODE</td>
<td>3</td>
</tr>
<tr>
<td>TDOMCDATASection</td>
<td>CDATA_SECTION_NODE</td>
<td>4</td>
</tr>
<tr>
<td>TDOMEntityReference</td>
<td>ENTITY_REFERENCE_NODE</td>
<td>5</td>
</tr>
<tr>
<td>TDOMEntity</td>
<td>ENTITY_NODE</td>
<td>6</td>
</tr>
<tr>
<td>TDOMProcessingInstruction</td>
<td>PROCESSING_INSTRUCTION_NODE</td>
<td>7</td>
</tr>
<tr>
<td>TDOMComment</td>
<td>COMMENT_NODE name</td>
<td>8</td>
</tr>
<tr>
<td>TDOMDocument</td>
<td>DOCUMENT_NODE</td>
<td>9</td>
</tr>
<tr>
<td>TDOMDocumentType</td>
<td>DOCUMENT_TYPE_NODE</td>
<td>10</td>
</tr>
<tr>
<td>TDOMDocumentFragment</td>
<td>DOCUMENT_FRAGMENT_NODE</td>
<td>11</td>
</tr>
<tr>
<td>TDOMNotation</td>
<td>NOTATION_NODE</td>
<td>12</td>
</tr>
</table>
</descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.ParentNode">
<short>DOM node that is the immediate ancestor of this node.</short>
<descr>
<p>
<var>ParentNode</var> is a read-only <var>TDOMNode</var> property that 
represents the DOM node that is the immediate ancestor of this node. All 
nodes, except TDOMAttr, TDOMDocument, TDOMDocumentFragment, TDOMEntity, and 
TDOMNotation may have a parent.
</p>
<p>
The value in ParentNode is assigned when TDOMNode methods like InsertBefore, 
InternalAppend, and AppendChild are called. The value in ParentNode is 
cleared when the DetachChild method is called, or when ChildNodes are freed.
</p>
<p>
Use ChildNodes to access the DOM nodes that are the immediate descendants of 
this node. Use PreviousSibling and NextSibling to access the respective DOM 
nodes that exist at the same Level in the DOM tree.
</p>
</descr>
<seealso>
<link id="TDOMNode.InsertBefore"/>
<link id="TDOMNode.AppendChild"/>
<link id="TDOMNode.DetachChild"/>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.PreviousSibling"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode_WithChildren"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.FirstChild">
<short>Gets the first child node for the current node.</short>
<descr>
<p>
<var>FirstChild</var> is a read-only <var>TDOMNode</var> property that 
represents the first child node for this DOM node. In TDOMNode, the value for 
the property is always <b>Nil</b> (not assigned). The read access specifier 
is re-implemented in a descendent class (TDOMNode_WithChildren) to provide 
direct support for child node access.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.LastChild">
<short>Gets the last child node for the current node.</short>
<descr>
<p>
<var>LastChild</var> is a read-only <var>TDOMNode</var> property that 
represents the last child node for this DOM node. In TDOMNode, the value for 
the property is always <b>Nil</b> (not assigned). The read access specifier 
is re-implemented in a descendent class (TDOMNode_WithChildren) to provide 
direct support for child node access.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.ChildNodes">
<short>
Provides access to the list of Child nodes for the current node.
</short>
<descr>
<p>
<var>ChildNodes</var> is a read-only <var>TDOMNodeList</var> property used to 
provide access to the child nodes for the current DOM node. Reading the value 
in ChildNodes causes a TDOMNodeList to be created using the DOM tree in 
OwnerDocument. The list contains any DOM nodes found in OwnerDocument 
immediately below the current DOM node. If there are no child nodes for the 
current node, the list has a Length (or Count - they contain the same data) 
of <var>0</var> (zero). Use HasChildNodes to determine if the ChildNodes 
property contains any DOM nodes.
</p>
<remark>
While ChildNodes is specified in TDOMNode, actually support for the list of 
child nodes is implemented in the TDOMNode_WithChildren descendant.
</remark>
</descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMNode.HasChildNodes"/>
<link id="TDOMNodeList"/>
<link id="TDOMNode_WithChildren"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.PreviousSibling">
<short>Previous DOM Node at the same level in the DOM tree.</short>
<descr>
<p>
<var>PreviousSibling</var> is a read-only <var>TDOMNode</var> property that 
represents the previous DOM node at the same level in the DOM tree. If no 
previous node was found at the same level, the property is unassigned 
(contains <b>Nil</b>).
</p>
<p>
Use NextSibling to access the next node at the same level in the DOM tree.
</p>
</descr>
<seealso>
<link id="TDOMNode.NextSibling"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.NextSibling">
<short>Next DOM Node at the same level in the DOM tree.</short>
<descr>
<p>
<var>NextSibling</var> is a read-only <var>TDOMNode</var> property that 
represents the next DOM node at the same level in the DOM tree. If no 
successor node was found at the same level, the property is unassigned 
(contains <b>Nil</b>).
</p>
<p>
Use PreviousSibling to access the previous node at the same level in the DOM 
tree.
</p>
</descr>
<seealso>
<link id="TDOMNode.PreviousSibling"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.Attributes">
<short>Contains Attribute for the DOM Node.</short>
<descr>
<p>
<var>Attributes</var> is a read-only <var>TDOMNamedNodeMap</var> property 
that contains attributes for the DOM node. Use the properties and methods in 
Attributes to access the DOM nodes by their name or ordinal position. 
Attributes also includes properties and methods that provide support for 
Namespace URIs and QualifiedNames as defined in the DOM specification.
</p>
<p>
While specified in TDOMNode, Attributes are valid only in the TDOMElement 
node type. For all other DOM node types the Attributes property is unassigned 
(contains <b>Nil</b>).
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap"/>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.OwnerDocument">
<short>DOM Document that created the DOM node.</short>
<descr>
<p>
<var>OwnerDocument</var> is a read-only <var>TDOMDocument</var> property that 
represents the DOM document that created the node. OwnerDocument can be used 
to get access to the complete DOM tree for a document, or to access child 
nodes for any DOM node owned by the OwnerDocument.
</p>
<p>
In the TDOMDocument node specialization, the value in OwnerDocument is always 
unassigned (contains <b>Nil</b>).
</p>
</descr>
<seealso>
<link id="TDOMDocument"/>
</seealso>
</element>

<element name="TDOMNode.GetEnumerator">
<short>
Gets an enumerator for DOM Nodes that are top-level children in the node.
</short>
<descr>
<p>
<var>GetEnumerator</var> is a <var>TDOMNodeEnumerator</var> function used to 
get an enumerator for all top-level child nodes for the DOM node. It does not 
include any grandchildren (recursive access to child nodes).
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.GetChildCount"/>
<link id="TDOMNode.GetChildNodes"/>
<link id="TDOMNode.HasChildNodes"/>
</seealso>
</element>
<element name="TDOMNode.GetEnumerator.Result">
<short>Enumerator for immediate child nodes in the DOM node.</short>
</element>

<element name="TDOMNode.GetEnumeratorAllChildren">
<short>
Gets an enumerator for DOM Nodes that are children or grand children for the 
node.
</short>
<descr>
<p>
<var>GetEnumeratorAllChildren</var> is a 
<var>TDOMNodeAllChildEnumerator</var> function used to get an enumerator for 
all nodes which are children or grandchildren for the node. Allows recursion 
into descendent nodes found in a child node.
</p>
</descr>
<seealso>
<link id="TDOMNode.GetEnumerator"/>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.HasChildNodes"/>
<link id="TDOMNode.GetChildNodes"/>
<link id="TDOMNode.GetChildCount"/>
</seealso>
</element>
<element name="TDOMNode.GetEnumeratorAllChildren.Result">
<short>
Enumerator for all child nodes in the sub-tree for the DOM node.
</short>
</element>

<element name="TDOMNode.GetNextNode">
<short>Gets the next Child or Sibling node for the DOM node.</short>
<descr>
<p>
<var>GetNextNode</var> is a <var>TDOMNode</var> function used to get the next 
child or sibling node in the DOM node hierarchy. GetNextNode visits nodes 
starting at the <var>FirstChild</var> node for the class instance. If 
FirstChild is not assigned, the <var>GetNextNodeSkipChildren</var> method is 
called to get the <var>NextSibling</var> node, or the NextSibling node in the 
<var>ParentNode</var>.
</p>
<p>
The return value is the TDOMNode which represents the next child or sibling 
node in the document hierarchy.
</p>
<p>
GetNextNode is called from the <var>TDOMNodeAllChildEnumerator.MoveNext</var> 
method.
</p>
</descr>
<seealso>
<link id="TDOMNodeAllChildEnumerator.MoveNext"/>
<link id="TDOMNode.GetPreviousNode"/>
<link id="TDOMNode.GetNextNodeSkipChildren"/>
</seealso>
</element>
<element name="TDOMNode.GetNextNode.Result">
<short>Next child or sibling node in the DOM hierarchy.</short>
</element>

<element name="TDOMNode.GetNextNodeSkipChildren">
<short>Gets the next sibling for the node in the DOM hierarchy.</short>
<descr>
<p>
<var>GetNextNodeSkipChildren</var> is a <var>TDOMNode</var> function used to 
get the next sibling node, ignoring all child nodes, for the current node.
</p>
<p>
The return value contains the TDOMNode that is the <var>NextSibling</var> for 
the current node, and can actually contain a previous sibling if NextSibling 
is unassigned. The return value is <b>Nil</b> when NextSibling is unassigned 
for both the current node and <var>ParentNode</var>.
</p>
<p>
GetNextNodeSkipChildren is used in the implementation of the 
<var>TDOMNodeAllChildEnumerator.Create</var> method, and called from the 
<var>TDOMNode.GetNextNode</var> method.
</p>
</descr>
<seealso>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNodeAllChildEnumerator.Create"/>
<link id="TDOMNode.GetNextNode"/>
</seealso>
</element>
<element name="TDOMNode.GetNextNodeSkipChildren.Result">
<short>Next sibling node in the DOM hierarchy, or Nil.</short>
</element>

<element name="TDOMNode.GetPreviousNode">
<short>Gets the previous node in the DOM node hierarchy.</short>
<descr>
<p>
<var>GetPreviousNode</var> is a <var>TDOMNode</var> function used to get the 
previous node in the DOM node hierarchy.
</p>
<p>
The return value contains the last node (or leaf) in the node hierarchy for 
the <var>PreviousSibling</var> node as return from the <var>GetLastLeaf</var> 
method for the node. The return value is the <var>ParentNode</var> when 
PreviousSibling is unassigned.
</p>
<p>
GetPreviousNode is the converse of the <var>GetNextNode</var> method.
</p>
</descr>
<seealso>
<link id="TDOMNode.PreviousSibling"/>
<link id="TDOMNode.GetLastLeaf"/>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNode.GetNextNode"/>
</seealso>
</element>
<element name="TDOMNode.GetPreviousNode.Result">
<short>Previous node in the DOM node hierarchy.</short>
</element>

<element name="TDOMNode.GetLastLeaf">
<short>Gets the last node in the DOM sub-tree for the current node.</short>
<descr>
<p>
<var>GetLastLeaf</var> is a <var>TDOMNode</var> function used to the last 
node in the DOM node hierarchy for the current node.
</p>
<p>
The return value is <b>Nil</b> when <var>LastChild</var> has not been 
assigned for the current node. Otherwise, LastChild is called recursively 
until the given descendent node has no child nodes.
</p>
<p>
GetLastLeaf is used to implement the <var>GetPreviousNode</var> method.
</p>
</descr>
<seealso>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.GetPreviousNode"/>
</seealso>
</element>
<element name="TDOMNode.GetLastLeaf.Result">
<short>Last node in the DOM sub-tree for the current node.</short>
</element>

<element name="TDOMNode.GetLevel">
<short>Gets the level in the DOM tree for the DOM node.</short>
<descr>
<p>
<var>GetLevel</var> is a <var>SizeInt</var> function used to get the level 
for the current node in the DOM node hierarchy. The return value is 
determined by counting the number of <var>ParentNode</var> assignments 
starting with the current DOM node. A root-level node in a DOM document is at 
level <b>0</b> (<b>zero</b>).
</p>
</descr>
<seealso>
<link id="TDOMNode.ParentNode"/>
</seealso>
</element>
<element name="TDOMNode.GetLevel.Result">
<short>Number of parent nodes found in the DOM node hierarchy.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.InsertBefore">
<short>
Inserts a new child node immediately before the reference child node.
</short>
<descr>
<p>
<var>InsertBefore</var> is a <var>TDOMNode</var> function used to insert a 
new child node immediately before the referenced child node. In TDOMNode, 
InsertBefore always raises an <var>EDOMHierarchyRequest</var> exception. The 
method must be re-implemented in descendent classes which support child nodes 
in the DOM Node specialization.
</p>
</descr>
<errors>
Raises an <var>EDOMHierarchyRequest</var> exception; must be re-implemented 
in descendent classes.
</errors>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.InsertBefore.Result">
<short>DOM node inserted in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.InsertBefore.NewChild">
<short>New DOM node to insert into the child nodes.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.InsertBefore.RefChild">
<short>Reference node where the new node is inserted.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.ReplaceChild">
<short>Replaces a child node with the specified DOM node.</short>
<descr>
<p>
<var>ReplaceChild</var> is a <var>TDOMNode</var> function which specifies the 
method used to replace a child node in the DOM sub-tree with the specified 
DOM node. <var>NewChild</var> is the DOM node to store in the DOM sub-tree. 
<var>OldChild</var> is the existing DOM node replaced with the new node value.
</p>
<p>
While TDOMNode specifies the method, it does not provide physical storage for 
child nodes. As a result, ReplaceChild always raises an 
<var>EDOMHierarchyRequest</var> exception and the return value is always 
<b>Nil</b>. ReplaceChild must be re-implemented in a descendent class to 
provide the functionality required for other DOM node specializations.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
<link id="TDOMNode_WithChildren"/>
<link id="TDOMDocument"/>
<link id="EDOMHierarchyRequest"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.ReplaceChild.Result">
<short>Old child node replaced in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.ReplaceChild.NewChild">
<short>New node to store in child nodes.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.ReplaceChild.OldChild">
<short>Old node to remove from the child nodes.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.DetachChild">
<short>
Detaches the specified child node from the DOM sub-tree for the node.
</short>
<descr>
<p>
<var>DetachChild</var> is a <var>TDOMNode</var> function used to detach a 
specified child node from the DOM sub-tree for the current node. OldChild is 
the DOM node to remove from the DOM sub-tree. The return value contains the 
detached DOM node.
</p>
<p>
TDOMNode specifies the DetachChild method, but does not provide physical 
storage for child nodes. As a result, it always raises an 
<var>EDOMNotFound</var> exception in the method. DetachChild must be 
re-implemented in a descendent class as required for other DOM Node 
specializations.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.DetachChild"/>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.DetachChild.Result">
<short>The DOM Node detached in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.DetachChild.OldChild">
<short>DOM Node to locate in the DOM sub-tree.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.RemoveChild">
<short>
Removes the specified child from the DOM sub-tree for this node.
</short>
<descr>
<p>
<var>RemoveChild</var> is a <var>TDOMNode</var> function used to remove the 
node specified in <var>OldChild</var> from the <var>ChildNodes</var> 
sub-tree. RemoveChild calls the <var>DetachChild</var> method to detach the 
specified node from the <var>OwnerDocument</var>. The return value is the 
node in OldChild after it has been detached from the OwnerDocument and its 
internal node references have been updated.
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.DetachChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.RemoveChild.Result">
<short>Child Node removed in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.RemoveChild.OldChild">
<short>DOM Node to locate in the DOM sub-tree.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.AppendChild">
<short>Appends the specified node as a child in the current node.</short>
<descr>
<p>
<var>AppendChild</var> is a <var>TDOMNode</var> function used to append the 
node specified in <var>NewChild</var> as a child node in the hierarchy for 
the current class instance. AppendChild calls the <var>InsertBefore</var> 
method to make the specified node the first child node in the DOM hierarchy.
</p>
<p>
The return value contains the TDOMNode instance in NewChild after the node 
relationship in <var>ParentNode</var>, <var>FirstChild</var>, 
<var>PreviousSibling</var>, and <var>NextSibling</var> have been updated.
</p>
<remark>
lnsertBefore always raises an <var>EDOMHierarchyRequest</var> exception in 
TDOMNode. It is overridden in descendent classes to perform actions needed 
for a DOM node specialization when the AppendChild method is called.
</remark>
</descr>
<seealso>
<link id="TDOMNode.InsertBefore"/>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.PreviousSibling"/>
<link id="TDOMNode.NextSibling"/>
<link id="EDOMHierarchyRequest"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.AppendChild.Result">
<short>New DOM Node appended as a child node.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.AppendChild.NewChild">
<short>DOM Node to append in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.HasChildNodes">
<short>Indicates if the DOM node has child nodes.</short>
<descr>
<p>
<var>HasChildNodes</var> is a <var>Boolean</var> function which indicates if 
the DOM node has child nodes. In general, the return value is <b>True</b> 
when a DOM node has been assigned to the <var>FirstChild</var> property.
</p>
<p>
HasChildNodes always returns <b>False</b> in <var>TDOMNode</var>. TDOMNode 
does not allocate storage for child nodes. The method must be overridden in a 
descendent class which allocates storage for child nodes in the DOM node 
specialization.
</p>
</descr>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.HasChildNodes.Result">
<short><b>True</b> when the size of the ChildNodes list is not zero.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.CloneNode">
<short>Makes a copy of the DOM node.</short>
<descr>
<p>
<var>CloneNode</var> is an overloaded <var>TDOMNode</var> function used to 
make a new copy of the current node. <var>Deep</var> indicates that child 
nodes are included in the new TDOMNode instance when set to <b>True</b>. An 
overloaded variant allows the DOM Document which owns the new node to be 
specified.
</p>
<p>
CloneNode always raises an <var>EDOMNotSupported</var> exception in TDOMNode, 
and the return value is always <b>Nil</b>. It must be overridden in a 
descendent class to perform any actions needed for the DOM node 
specialization.
</p>
</descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMDocument"/>
<link id="EDOMNotSupported"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.CloneNode.Result">
<short>DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.CloneNode.deep">
<short>Indicates if child nodes are included in the cloned node.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.CloneNode.ACloneOwner">
<short>DOM Document used to created the new DOM Node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.IsSupported">
<short>
Indicates if the DOM implementation supports a specific feature at a given 
conformance level.
</short>
<descr>
<p>
<var>IsSupported</var> is a <var>Boolean</var> function which indicates 
whether the DOM implementation implements a specific feature and that feature 
is supported in this node. IsSupported implements the DOM Node method defined 
in the DOM Level 2 Specification.
</p>
<p>
<var>Feature</var> contains the name for the feature or module to check in 
the method.
</p>
<p>
<var>Version</var> contains the conformance level for the specified Feature. 
Both values are used as arguments to the 
<var>TDOMImplementation.HasFeature</var> method.
</p>
<p>
Returns <b>True</b> if the specified feature at the given conformance level 
is supported for the node, or <b>False</b> when not implemented.
</p>
</descr>
<seealso>
<link id="TDOMImplementation.HasFeature"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.IsSupported.Result">
<short>
<b>True</b> when the feature and version number are supported in the DOM 
implementation.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.IsSupported.Feature">
<short>Name of the feature or module to check in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.IsSupported.Version">
<short>Version number or conformance level required for the feature.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.HasAttributes">
<short>Indicates if the DOM node has attribute names and values.</short>
<descr>
<p>
<var>HasAttributes</var> is a <var>Boolean</var> function which indicates if 
the DOM node attribute names and/or values. HasAttributes implements the 
method defined for the DOM Node interface in the DOM Level 2 Specification.
</p>
<p>
The return value is <b>True</b> when a <var>TDOMNamedNodeMap</var> has been 
assigned for the node, and it has a non-zero value in its <var>Length</var> 
(or <var>Count</var>) property.
</p>
<remark>
HasAttributes always returns <b>False</b> in <var>TDOMNode</var>, and is 
overridden in descendent classes which implement a DOM node specialization.
</remark>
</descr>
<seealso>
<link id="TDOMElement.HasAttributes"/>
<link id="TDOMElement.AttribStrings"/>
<link id="TDOMElement.GetAttribute"/>
<link id="TDOMElement.SetAttribute"/>
<link id="TDOMNamedNodeMap"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.HasAttributes.Result">
<short><b>True</b> when the Attribute list is not empty.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMNode.Normalize">
<short>Normalizes text nodes and attributes in the Node sub-tree.</short>
<descr>
<p>
<var>Normalize</var> is a method used to convert child text nodes in the 
sub-tree to their normal form where only structure nodes separate the text 
nodes. Adjacent text nodes are combined into a single text node. Adjacent 
text nodes which contain only ignorable whitespace are consolidated into a 
single whitespace value.
</p>
<p>
Normalize implements the method defined for the DOM Node interface in the DOM 
Level 2 Specification.
</p>
</descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.Flags"/>
<link id="TDOMCharacterData.Data"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.NamespaceURI">
<short>URI for the NameSpace assigned to the DOM Node.</short>
<descr>
<p>
<var>NamespaceURI</var> is a read-only <var>DOMString</var> property with the 
Namespace URI (<b>Universal Resource Identifier</b>) for the DOM node, or an 
empty string when it has not been specified. NamespaceURI is determined using 
a namespace lookup for the value declared when the node is created.
</p>
<p>
For nodes other than node type ELEMENT_NODE (TDOMElement) and ATTRIBUTE_NODE 
(TDOMAttr), and nodes created with a DOM Level 1 method, such as 
createElement from the Document interface, this is always an empty DOMString.
</p>
<p>
The property value is always an empty string ('') in <var>TDOMNode</var>. In 
a descendent class (like <var>TDOMNode_NS</var>), it will contain one of the 
Namespace URLs registered in the OwnerDocument for the node.
</p>
<p>
NamespaceURI implements the attribute from the Node interface in the DOM 
Level 2 Specification.
</p>
</descr>
<seealso>
<link id="TDOMNode.LookupNamespaceURI"/>
<link id="TDOMNode.LookupPrefix"/>
<link id="TDOMNode.Prefix"/>
<link id="TDOMNode.IsDefaultNamespace"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.LocalName">
<short>Name without the NameSpace prefix assigned to the DOM Node.</short>
<descr>
<p>
<var>LocalName</var> is a read-only <var>DOMString</var> property with the 
local part of the qualified name for the node. A qualified name consists of a 
delimited namespace <var>Prefix</var> and the name for the element or 
attribute in the node. Local name contains only the element or attribute 
name, without the Prefix for the namespace.
</p>
<p>
For the following Qualified Names:
</p>
<ul>
<li>XML:ID</li>
<li>XLink:href</li>
</ul>
<p>
The Prefix values are:
</p>
<ul>
<li>XML</li>
<li>XLink</li>
</ul>
<p>
The LocalName values are:
</p>
<ul>
<li>ID</li>
<li>href</li>
</ul>
<p>
For nodes other than ELEMENT_NODE (TDOMELement) and ATTRIBUTE_NODE 
(TDOMAttr), and nodes created with a DOM Level 1 method, such as 
createElement from the Document interface, the property value is is always an 
empty DOMString.
</p>
<p>
The property value is always an empty DOMString value in TDOMNode. In a 
descendent class (like TDOMNode_NS), it will contain the actual NodeName for 
an element or attribute.
</p>
</descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.Prefix">
<short>Prefix used for the assigned NameSpace in the DOM Node.</short>
<descr>
<p>
<var>Prefix</var> is a <var>DOMString</var> property which contains the 
prefix part of a qualified name used for the node. Prefix is the identifier 
used for the namespace URI, and is included in the value for the 
<var>NodeName</var> property which includes the qualified name. When a 
qualified name is not used in NodeName, Prefix contains an empty DOMString 
value (''). Use <var>LocalName</var> for the value in NodeName without the 
value in Prefix.
</p>
<p>
Prefix applies to the DOM Element and Attribute node types. For nodes of any 
type other than ELEMENT_NODE (<var>TDOMElement</var>) and ATTRIBUTE_NODE 
(<var>TDOMAttr</var>) and nodes created with a DOM Level 1 method, such as 
createElement from the Document interface, this is always an empty DOMString 
value.
</p>
<p>
Prefix implements the Prefix attribute for the DOM Node interface in the DOM 
Level 2 Specification.
</p>
</descr>
<seealso>
<link id="TDOMNode.LocalName"/>
<link id="TDOMNode.NamespaceURI"/>
<link id="TDOMNode_NS"/>
<link id="TDOMElement"/>
<link id="TDOMAttr"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.TextContent">
<short>Textual representation for the DOM Node.</short>
<descr>
<p>
<var>TextContent</var> is a <var>DOMString</var> property the textual content 
for a DOM node (and its specialized descendants), as specified in the DOM 
Level 3 specification.
</p>
<p>
In <var>TDOMNode</var>, the value in TextContent is redirected to the 
<var>NodeValue</var> property. The read and write access specifiers may be 
overridden in descendent classes to perform actions needed for a particular 
DOM Node specialization, including:
</p>
<ul>
<li>TDOMProcessingInstruction</li>
<li>TDOMCharacterData</li>
<li>TDOMText</li>
<li>TDOMAttr</li>
</ul>
</descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
<link id="TDOMProcessingInstruction.GetNodeValue"/>
<link id="TDOMProcessingInstruction.SetNodeValue"/>
<link id="TDOMCharacterData.GetNodeValue"/>
<link id="TDOMCharacterData.SetNodeValue"/>
<link id="TDOMText.SetNodeValue"/>
<link id="TDOMAttr.GetNodeValue"/>
<link id="TDOMAttr.SetNodeValue"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.LookupPrefix">
<short>Locates the Prefix for the specified NameSpace URI.</short>
<descr>
<p>
<var>LookupPrefix</var> is a <var>DOMString</var> function used to locate the 
<var>Prefix</var> associated with the NameSpace URI specified in the nsURI 
argument. LookupPrefix implements the DOM Node interface specified in the DOM 
Level 3 specification.
</p>
<p>
In <var>TDOMNode</var>, the return value is always an empty DOMString (''). 
Descendent classes which implement a specific DOM Node specialization (like 
<var>TDOMElement</var>) will provide an <var>InternalLookupPrefix</var> 
method used to get the return value. The internal 
<var>GetAncestorElement</var> routine is used to find Prefix / Namespace 
associations in ancestor nodes.
</p>
</descr>
<seealso>
<link id="TDOMNode.NamespaceURI"/>
<link id="TDOMNode.Prefix"/>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.LocalName"/>
<link id="TDOMElement.InternalLookupPrefix"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.LookupPrefix.Result">
<short>Prefix for the Namespace URI, or an empty string.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.LookupPrefix.nsURI">
<short>Namespace URI to locate in the Namespace information.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.LookupNamespaceURI">
<short>Locates the NameSpace URI for the specified Prefix.</short>
<descr>
<p>
<var>LookupNamespaceURI</var> is a <var>DOMString</var> function used to get 
the <var>NamespaceURI</var> associated with the <var>Prefix</var> specified 
in the <var>APrefix</var> argument. LookupNamespaceURI implements the method 
for the DOM Node interface as specified in the DOM Level 3 specification.
</p>
<p>
LookupNamespaceURI ensures that the DOM node uses the <var>ELEMENT_NODE</var> 
node type required for namespace support. If the node is not a DOM Element 
(<var>TDOMElement</var>), the ancestor nodes are checked for a 
<var>TDOMDocument</var> or <var>TDOMAttrib</var> node which can supply the 
namespace information.
</p>
<p>
LookupNamespaceURI compares the value in the <var>Prefix</var> property to 
the argument in <var>APrefix</var>. When a match is found, the 
<var>NamespaceURI</var> for the node is used as the return value. When a 
namespace is not found for the prefix, the return value is an empty DOMString 
('').
</p>
<remark>
This method is not fully compatible with the DOM Level 3 specification which 
allows the APrefix argument to contain a Null value. Lazarus cannot represent 
the DOMString type in that manner, so it uses an empty DOMString ('').
</remark>
</descr>
<seealso>
<link id="TDOMNode_NS"/>
<link id="TDOMElement"/>
<link id="TDOMAttr"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.LookupNamespaceURI.Result">
<short>The Namespace URI for the specified Prefix, or an empty string.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.LookupNamespaceURI.APrefix">
<short>Prefix to locate in the Namespace Information for the DOM Node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.IsDefaultNamespace">
<short>
Indicates if the specified NameSpace URI is the default namespace for the DOM 
node.
</short>
<descr>
<p>
<var>IsDefaultNamespace</var> is a <var>Boolean</var> function which 
indicates if the Namespace URI in the nsURI argument is the default value for 
the DOM node.
</p>
</descr>
<seealso>
<link id="TDOMNode.LookupNamespaceURI"/>
<link id="TDOMNode.LookupPrefix"/>
<link id="TDOMNode.Prefix"/>
<link id="TDOMNode.LocalName"/>
<link id="TDOMNode.NodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.IsDefaultNamespace.Result">
<short>
<b>True</b> when the default Namespace is the specified Namespace URI.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.IsDefaultNamespace.nsURI">
<short>
Namespace URI to examine in the Namespace Information for the DOM Node.
</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.baseURI">
<short>
Provides the BaseURI for the node relative to its Owner document.
</short>
<descr>
<p>
<var>BaseURI</var> is a read-only <var>DOMString</var> property with the Base 
Universal Resource Identifier (URI) for the node relative to its context.
</p>
<p>
BaseURI is specified in the DOM Level 3 Specification. It is not defined in 
the DOM Level 2 APIs. The implementation in TDOMNode is incomplete as per the 
DOM Level 3 specification.
</p>
<p>
In the DOM specification, BaseURI is a dynamically computed value starting 
with the <b>xml:base</b> attribute for a given document. It includes the 
DocumentURI for the owner document, and should also include the node path to 
the current node.
</p>
<p>
In TDOMNode, BaseURI is resolved to the DocumentURI in the OwnerDocument when 
the node type is a document node or a processing instruction. It does not 
include the xml:base attribute that may (or may not ) be present in the owner 
document.
</p>
<p>
For all other node types, the property value is an empty string ('').
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMDocument.DocumentURI"/>
<link id="TDOMProcessingInstruction"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.FindNode">
<short>Finds the Child Node with the specified name.</short>
<descr>
<p>
<var>FindNode</var> is a <var>TDOMNode</var> function used to locate a child 
node in the class instance with the value in <var>ANodeName</var> in its 
<var>NodeName</var> property. The return value contains the TDOMNode instance 
with the specified name, or <b>Nil</b> if a node is not found with the 
specified name.
</p>
<p>
FindNode always returns <b>Nil</b> in TDOMNode since physical storage is not 
allocated in TDOMNode for child node instances. It must be overridden in a 
descendent class to performs actions needed for the DOM node specialization.
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.GetChildNodes"/>
<link id="TDOMNode.NodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.FindNode.Result">
<short>DOM Node located with the specified name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.FindNode.ANodeName">
<short>Node Name to locate in the Child Nodes for the DOM Node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode.CompareName">
<short>Compares the NodeName in the DOM Node to the specified value.</short>
<descr>
<p>
<var>CompareName</var> is an <var>Integer</var> function used to compare the 
value in <var>NodeName</var> to the value specified in the <var>name</var> 
argument. NodeName and name are converted to DOMPChar types and passed as 
arguments an implementation routine used to compare the values.
</p>
<p>
The return value contains the difference between the ordinal character values 
for the first non-matching characters in the compared names. When the return 
value is <b>0</b> (<b>zero</b>), the compared values have the same content.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="DOMPChar"/>
<link id="DOMString"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode.CompareName.Result">
<short>
Difference between the ordinal character values for the first non-matching 
character in the compared names.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode.CompareName.name">
<short>Value compared to the NodeName for the DOM node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode.Flags">
<short>Provides access to the Node Flags for the DOM Node.</short>
<descr>
<p>
<var>Flags</var> is a <var>TNodeFlags</var> property which contains zero or 
more values from the <var>TNodeFlagEnum</var> enumeration that indicate the 
conformance level or state for the node. See TNodeFlagEnum for more 
information about the values in the enumeration and their meanings.
</p>
<p>
Values in Flags are used and updated in various methods like 
<var>Normalize</var> and <var>GetTextContent</var>. It is also updated when 
the <var>SetReadOnly</var> method is called.
</p>
</descr>
<seealso>
<link id="TDOMNode.SetReadOnly"/>
<link id="TDOMNode.Normalize"/>
<link id="TDOMNode.TextContent"/>
<link id="TDOMNode.GetTextContent"/>
<link id="TNodeFlags"/>
<link id="TNodeFlagEnum"/>
</seealso>
</element>

<!-- "class of" type Visibility: default -->
<element name="TDOMNodeClass">
<short>Class type used to create TDOMNode instances.</short>
<descr></descr>
<seealso>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMNode_WithChildren">
<short>Extends TDOMNode to allocate storage for child nodes.</short>
<descr>
<p>
<var>TDOMNode_WithChildren</var> is a <var>TDOMNode</var> descendant which 
allocates storage for child nodes in the class instance. 
TDOMNode_WithChildren is an extension to the Node interface in the DOM 
specification, and is designed to save memory in a large DOM tree.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNode_WithChildren.FFirstChild"/>
<element name="TDOMNode_WithChildren.FLastChild"/>
<element name="TDOMNode_WithChildren.FChildNodes"/>

<!-- function Visibility: protected -->
<element name="TDOMNode_WithChildren.GetFirstChild">
<short>Gets the value for the FirstChild property.</short>
<descr>
<p>
<var>GetFirstChild</var> is an overridden method in 
<var>TDOMNode_WithChildren</var> used to get the value for the 
<var>FirstChild</var> property.
</p>
</descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.GetFirstChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.GetFirstChild.Result">
<short>DOM Node that is the first child node in the DOM sub-tree.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode_WithChildren.GetLastChild">
<short>Gets the value for the LastChild property.</short>
<descr>
<p>
<var>GetLastChild</var> is an overridden method in 
<var>TDOMNode_WithChildren</var> used to get the value for the 
<var>LastChild</var> property.
</p>
</descr>
<seealso>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.GetLastChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.GetLastChild.Result">
<short>Value for the LastChild property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode_WithChildren.CloneChildren">
<short>Makes a copy of child nodes in the specified DOM node.</short>
<descr>
<p>
<var>CloneChildren</var> is a method used to clone child nodes from the 
current class instance to DOM node specified in <var>ACopy</var>.
</p>
<p>
CloneChildren visits each of the child nodes, starting at 
<var>FirstChild</var> and continuing to the value in the 
<var>NextSibling</var> property for the child node. The <var>CloneNode</var> 
method for each child node is called make a new copy (including its children) 
that is owned by the document in <var>ACloneOwner</var>. The cloned node is 
added to ACopy using the <var>InternalAppend</var> method.
</p>
<p>
No actions are performed in the method when the FirstChild property has not 
been assigned in the class instance.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.InternalAppend"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.CloneNode"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.CloneChildren.ACopy">
<short>DOM Node which receives the cloned child nodes.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.CloneChildren.ACloneOwner">
<short>DOM Document used to create the cloned child nodes.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode_WithChildren.FreeChildren">
<short>Frees all Child nodes for the DOM node.</short>
<descr>
<p>
<var>FreeChildren</var> is a method used to free all child nodes in the 
current class instance.
</p>
<p>
FreeChildren visits each of the child nodes, starting at FirstChild and 
continuing to the NextSibling for the child node. The TDOMNode instance that 
is the child is freed before continuing to the next sibling node.
</p>
<p>
FreeChildren sets the value in the FirstChild and LastChild properties to Nil 
prior to exit.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.DetachChild"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.ParentNode"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode_WithChildren.GetTextContent">
<short>Gets the value for the TextContent property.</short>
<descr>
<p>
<var>GetTextContent</var> is an overridden method in 
<var>TDOMNode_WithChildren</var> used to get the value for the 
<var>TextContent</var> property. It re-implements the method to ensure that 
child nodes are represented in the value for the property.
</p>
<p>
Child nodes are processed, start at <var>FirstChild</var> and continuing to 
the
<var>NextSibling</var> for the child node. The <var>NodeType</var> property 
for each child node is used to determine the actions needed for the node 
type. For example:
</p>
<dl>
<dt>TEXT_NODE</dt>
<dd>
Casts the child node to TDOMText and appends its Data to the value for the 
property (when it is not ignorable whitespace).
</dd>
<dt>COMMENT_NODE, PROCESSING_INSTRUCTION_NODE</dt>
<dd>
These child node types are omitted from the property value.
</dd>
<dt>Other NodeTypes</dt>
<dd>
The TextContent property for the child node is appended to the property value.
</dd>
</dl>
</descr>
<seealso>
<link id="TDOMNode.TextContent"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.GetTextContent.Result">
<short>Value for the TextContent property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode_WithChildren.SetTextContent">
<short>Sets the value for the TextContent property.</short>
<descr>
<p>
<var>SetTextContent</var> is a overridden method used to set the 
<var>TextContent</var> property to the value specified in AValue. TextContent 
is the textual representation of the content for the node as a single 
<var>TDOMText</var> child node.
</p>
<p>
SetTextContent calls the <var>Changing</var> method to ensure that the node 
does not have the value <var>nfReadonly</var> in its <var>Flags</var> 
property. An <var>EDOMError</var> exception is raised with the 
<var>NO_MODIFICATION_ALLOWED_ERR</var> constant if the node is marked as 
read-only.
</p>
<p>
SetTextContent removes existing <var>ChildNodes</var> by calling 
<var>DetachChild</var> until <var>FirstChild</var> is no longer assigned.
</p>
<p>
If <var>AValue</var> is not an empty string (''), the 
<var>OwnerDocument</var> is used to create a TDOMText node with the specified 
value. The new text node is added to ChildNodes using the 
<var>AppendChild</var> method.
</p>
</descr>
<seealso>
<link id="TDOMNode.TextContent"/>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.DetachChild"/>
<link id="TDOMNode.Changing"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.SetTextContent.AValue">
<short>New value for the TextContent property.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMNode_WithChildren.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It 
calls <var>FreeChildren</var> to free all of the <var>ChildNodes</var> for 
the class instance, and frees the node list as well. Destroy calls the 
inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode_WithChildren.FreeChildren"/>
<link id="TDOMNodeList"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_WithChildren.InsertBefore">
<short>
Inserts a new child node immediately before the reference child node.
</short>
<descr>
<p>
<var>InsertBefore</var> is a <var>TDOMNode</var> function used to insert a 
new child node immediately before the reference child node. InsertBefore is 
an overridden function that re-implements the method defined in the ancestor 
class.
</p>
<p>
<var>NewChild</var> contains the Node inserted into the DOM sub-tree for the 
current DOM Node. <var>RefChild</var> contains the Node that establishes the 
position where the NewChild Node is inserted in the DOM sub-tree. When 
RefChild is not assigned (contains <b>Nil</b>), the new child node is 
appended as a sibling in the DOM sub-tree. No actions are performed in the 
method when NewChild and RefChild contains the same DOM node.
</p>
<p>
InsertBefore uses the value in the <var>NodeType</var> property for the 
NewChild node to determine the actions needed to add the node to the DOM 
sub-tree. NodeType determines if NewChild requires additional processing 
before it is added to the DOM sub-tree. Some DOM Node types cannot be added 
directly to the sub-tree. Only their child nodes are added. No actions are 
performed for these DOM Node specialization when they do not contain child 
nodes. InsertBefore raises an EDOMHierarchyRequest exception if ChildNode is 
not a valid child node type for the current DOM node.
</p>
<p>
InsertBefore updates the parent, sibling, and child relationships in DOM 
nodes as they are inserted (or appended) to the DOM sub-tree. The return 
value contains the NewChild argument with updated values in its ParentNode, 
PreviousSibling and NextSibling properties.
</p>
<p>
InsertBefore checks the <var>ParentNode</var> for the RefChild argument to 
ensure that it resides in the DOM sub-tree for the current DOM Node. An 
EDOMNotFound exception is raised when it has an assigned value other than the 
current DOM Node.
</p>
<p>
InsertBefore calls the Changing method to ensure that neither the current DOM 
Node nor its ancestor have their read-only Flags set. An exception is raised 
in Changing if Flags contains the value nfReadonly in either DOM Node.
</p>
<p>
When the NodeType is DOCUMENT_TYPE_NODE, the OwnerDocument property is 
examined. An EDOMWrongDocument exception is raised when the NewChild has an 
assigned value in the OwnerDocument property.
</p>
</descr>
<errors>
<dl>
<dt>EDOMWrongDocument</dt>
<dd>
Raised when the OwnerDocument for the current node is not the same as the 
value in NewChild
</dd>
<dt>EDOMNotFound</dt>
<dd>
Raised when the assigned ParentNode in RefChild is not the same as the 
current DOM node
</dd>
<dt>EDOMHierarchyRequest</dt>
<dd>
Raised when NewChild is not a valid child node type for the current DOM node
</dd>
</dl>
</errors>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNode.PreviousSibling"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMNode.InsertBefore"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.InsertBefore.Result">
<short>DOM Node inserted into the DOM sub-tree.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.InsertBefore.NewChild">
<short>Child node inserted in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.InsertBefore.RefChild">
<short>
Reference child node where the new DOM node is inserted as a Sibling.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_WithChildren.ReplaceChild">
<short>Replaces a child DOM node with another DOM node.</short>
<descr/>
<seealso>
<link id="TDOMNode_WithChildren.DetachChild"/>
<link id="TDOMNode_WithChildren.InsertBefore"/>
<link id="TDOMNode.RemoveChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.ReplaceChild.Result">
<short>
DOM node in OldChild after it has been detached from the node sub-tree.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.ReplaceChild.NewChild">
<short>New DOM node to store in the sub-tree.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.ReplaceChild.OldChild">
<short>Old DOM node replaced in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_WithChildren.DetachChild">
<short>Detached the specified DOM node from the sub-tree.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.DetachChild"/>
<link id="TDOMNode.ParentNode"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.DetachChild.Result">
<short>
Returns OldChild after updating the Parent, children, and siblings for the 
node.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.DetachChild.OldChild">
<short>DOM node detached in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_WithChildren.HasChildNodes">
<short>Indicates if the current DOM node has child nodes.</short>
<descr/>
<seealso>
<link id="TDOMNode.HasChildNodes"/>
<link id="TDOMNode.FirstChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.HasChildNodes.Result">
<short><b>True</b> if FirstChild has been assigned for the node.</short>
</element>


<element name="TDOMNode_WithChildren.GetChildCount">
<short>
Gets the number of child nodes for the DOM node instance.
</short>
<descr>
<p>
<var>GetChildCount</var> is an overridden <var>SizeInt</var> function in 
<var>TDOMNode_WithChildren</var>. It is used to get the number of child nodes 
for the class instance. No actions are performed in the method if 
<var>FirstChild</var> has not been assigned, and the return value is set to 0.
</p>
<p>
If a <var>DOMNodeList</var> has been assigned to ChildNodes, its 
<var>Count</var> property is used as the return value. If ChildNodes has not 
been assigned, the child nodes are visited (starting at FirstChild and 
proceeding to its NextSibling) to count the number of child nodes.
</p>
</descr>
<seealso>
<link id="TDomNode.ChildNodes"/>
<link id="TDomNode.FirstChild"/>
</seealso>
</element>
<element name="TDOMNode_WithChildren.GetChildCount.Result">
<short>Number of child nodes in the DOM node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_WithChildren.FindNode">
<short>
Finds a DOM node with the specified value in its NodeName property.
</short>
<descr>
<p>
<var>FindNode</var> is a method used to search the child nodes in class 
instance for the node with the name specified in <var>ANodeName</var>. The 
search is started using the node in <var>FirstChild</var>, and calls the 
<var>CompareName</var> method to compare the value in ANodeNode to the 
<var>NodeName</var> property for each child node.
</p>
<p>
The return value contains the first <var>TDOMNode</var> with a node name that 
matches the requested value. The return value is <b>Nil</b> if a node is not 
found that matches the requested value, or when the class instance does not 
have any child nodes.
</p>
</descr>
<seealso>
<link id="TDOMNode.FindNode"/>
<link id="TDOMNode.CompareName"/>
<link id="TDOMNode.NextSibling"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_WithChildren.FindNode.Result">
<short>DOM node with a name matching the requested value, or Nil.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.FindNode.ANodeName">
<short>Name for the DOM node to locate in the method.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMNode_WithChildren.InternalAppend">
<short>
Performs actions needed to append the specified node to the ChildNodes.
</short>
<descr>
<p>
<var>InternalAppend</var> is a method used to perform actions needed to 
append the DOM node specified in <var>NewChild</var> to the child nodes for 
the class instance.
</p>
<p>
If the node has child nodes, as indicated by a value in 
<var>FirstChild</var>, <var>PreviousSibling</var> and <var>NextSibling</var> 
properties for the nodes are updated to reflect the new relationship in the 
node hierarchy.
</p>
<p>
If the node does not have any existing child nodes, the value in NewChild is 
assigned to the FirstChild property.
</p>
<p>
In both cases, NewChild is used as the <var>LastChild</var> for the class 
instance.
</p>
<p>
InternalAppend ensures that the <var>ParentNode</var> in NewChild is set to 
the current class instance.
</p>
<p>
InternalAppend is used in the implementation of the CloneChildren method.
</p>
</descr>
<seealso>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.LastChild"/>
<link id="TDOMNode.PreviousSibling"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.FParentNode"/>
<link id="TDOMNode_WithChildren.CloneChildren"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_WithChildren.InternalAppend.NewChild">
<short>New DOM Node appended to the DOM sub-tree.</short>
</element>

<!-- enumeration type Visibility: default -->
<element name="TFilterResult">
<short>Determines the Node types included in a DOM node list.</short>
<descr>
<p>
<var>TFilterResult</var> is an enumerated type with values that determine the 
nodes selected in a <var>TDOMNodeList</var> instance.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.NodeFilter"/>
</seealso>
</element>
<element name="TFilterResult.frFalse">
<short>Do not accept any nodes </short>
</element>
<element name="TFilterResult.frNorecurseFalse">
<short>Accept all nodes and allow recursion.</short>
</element>
<element name="TFilterResult.frTrue">
<short>Accept all nodes.</short>
</element>
<element name="TFilterResult.frNorecurseTrue">
<short>Accept all nodes but don't allow recursion.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMNodeList">
<short>Implements an ordered list of DOM Nodes.</short>
<descr>
<p>
<var>TDOMNodeList</var> is a class used to Implement an ordered list of DOM 
nodes, as required in the DOM specification. TDOMNodeList provides internal 
storage for <var>TDOMNode</var> instances that are children of a specified 
DOM node. DOM nodes stored in TDOMNodeList are "live"; changes made to a DOM 
node in the list are automatically propagated to the DOM Document tree.
</p>
</descr>
<seealso>
<link id="TDOMNode.ParentNode"/>
<link id="TDOMNode.ChildNodes"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNodeList.FNode"/>
<element name="TDOMNodeList.FRevision"/>
<element name="TDOMNodeList.FList"/>

<!-- function result Visibility: default -->
<element name="TDOMNodeList.GetCount">
<short>Gets the value for the Count and Length properties.</short>
<descr>
<p>
<var>GetCount</var> is a <var>LongWord</var> function used to the get value 
for the <var>Count</var> and <var>Length</var> properties. Calls the 
<var>BuildList</var> method to refresh the nodes in the list when the 
revision number for the list does not match the revision number for the node 
which owns the list.
</p>
<p>
The property value contains the Count for the internal <var>TFPList</var> 
instance used to store the <var>TDOMNode</var> instances.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.Length"/>
<link id="TDOMNodeList.Count"/>
<link id="TDOMNodeList.Item"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNodeList.GetItem">
<short>Gets the value for the Item property.</short>
<descr>
<p>
<var>GetItem</var> is a <var>TDOMNode</var> function used to get the value 
for the indexed <var>Item</var> property. Index contains the ordinal position 
in the list for the property value.
</p>
<p>
GetItem ensures that items in the internal <var>TFPList</var> instance are 
up-to-date. When the revision number for the list differs from the revision 
number for the node that owns the list, the <var>BuildList</var> method is 
called to refresh its contents and apply the node filtering mechanism for the 
container.
</p>
<p>
The return value contains the TDOMNode instance at the specified position in 
the list. The return value is <b>Nil</b> when Index contains a value not 
present in the internal list.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.Item"/>
<link id="TDOMNodeList.BuildList"/>
<link id="TDOMNodeList.NodeFilter"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNodeList.GetItem.Result">
<short>Value for the Item property.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNodeList.GetItem.index">
<short>Ordinal position for the DOM node in the property value.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNodeList.NodeFilter">
<short>Determines if the node can be used in the DOM node list.</short>
<descr>
<p>
<var>NodeFilter</var> is a <var>TFilterResult</var> function used to 
determine if the DOM node specified in <var>ANode</var> can be included in 
the DOM Node list. The return value indicates whether the node is allowed, 
and also whether its child nodes can be examined as well.
</p>
<p>
NodeFilter always returns <var>frNoRecurseTrue</var> in 
<var>TDOMNodeList</var>, and allows the node but does <b>not</b> allow 
recursion into its child nodes. The method is overridden in descendent 
classes to perform the actions needed for the DOM node specialization.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.BuildList"/>
<link id="TDOMElementList.NodeFilter"/>
<link id="TDOMNode"/>
<link id="TFilterResult"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNodeList.NodeFilter.Result">
<short>Indicates if the node is included in the node list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNodeList.NodeFilter.aNode">
<short>DOM Node to examine in the method.</short>
</element>

<element name="TDOMNodeList.BuildList">
<short>
Fills the node list using the node filter.
</short>
<descr>
<p>
<var>BuildList</var> is a virtual method used to get the <var>TDOMNode</var> 
instances in the node list. BuildList is called when the revision numbers for 
the node list and the node which owns the node list have different values. 
This ensures that the node list always reflects the current content in the 
DOM node hierarchy.
</p>
<p>
BuildList clears the internal TFPList instance where the DOM nodes are 
stored, and updates the internal revision number for the node list to match 
the value in the owner node. Child nodes for the owner node are visited, and 
the <var>NodeFilter</var> method is called to determine if the child node 
should be included in the node list. If the return value from NodeFilter 
indicates that recursion is allowed, the child nodes for each child node are 
also visited and examined.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.NodeFilter"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.ParentNode"/>
<link id="TFilterResult"/>
</seealso>
</element>

<!-- constructor Visibility: public -->
<element name="TDOMNodeList.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance, and calls the 
inherited method on entry.
</p>
<p>
Create stores the DOM node in <var>ANode</var> as the owner for the node 
list, and "touches"  the internal revision number for the list so that it is 
refreshed on its next access. Create also allocates the internal 
<var>TFPList</var> instance used to store the nodes in the node list.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNodeList.Create.ANode">
<short>DOM Node which provides the child nodes for the list.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMNodeList.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It 
ensures that the internal list storage is set to <b>Nil</b> before the class 
instance is freed. Destroy calls the inherited method prior to exit.
</p>
</descr>
<seealso/>
</element>

<!-- property Visibility: public -->
<element name="TDOMNodeList.Item">
<short>Provides indexed access to DOM nodes in the list.</short>
<descr>
<p>
<var>Item</var> is a read-only indexed <var>TDOMNode</var> property used to 
provide access to DOM nodes in the list by their ordinal position. Item is 
the default property for the class instance.
</p>
<p>
Index contains the ordinal position for the requested TDOMNode instance, and 
should be in the range <b>0..<var>Count</var>-1</b>. The property value is 
<b>Nil</b> if Index contains a value which is not a valid position in the 
list.
</p>
<p>
Use Count (or <var>Length</var>) to get the number of DOM nodes available in 
the list.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.Count"/>
<link id="TDOMNodeList.Length"/>
<link id="TDOMNodeList.GetItem"/>
<link id="TDOMNodeList.Length"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNodeList.Item.index">
<short>Ordinal position for the requested DOM Node in the list.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNodeList.Count">
<short>Number of DOM nodes stored in the list.</short>
<descr>
<p>
<var>Count</var> is a read-only <var>LongWord</var> property with the number 
of <var>TDOMNode</var> instances available in the <var>Item</var> property. 
Reading the value for the property causes the <var>BuildList</var> method to 
be called when the internal revision number for the list differs from the 
value in the DOM node that owns the list. The property value is re-directed 
to the Count property for the internal <var>TFPList</var> instance in the 
class.
</p>
<p>
<var>Count</var> and <var>Length</var> are synonymous. Count is the property 
name used in FPC / Lazarus classes. Length is the term used in the 
specification for the DOM interface. Both are provided for completeness.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.GetCount"/>
<link id="TDOMNodeList.Length"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNodeList.Length">
<short>Number of DOM Nodes stored in the list.</short>
<descr>
<p>
<var>Count</var> and <var>Length</var> are synonymous. Count is the property 
name used in FPC / Lazarus classes. Length is the term used in the 
specification for the DOM interface. Both are provided for completeness.
</p>
</descr>
<seealso>
<link id="TDOMNodeList.Count"/>
<link id="TDOMNodeList.GetCount"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMElementList">
<short>Provides a recursive list of DOM Elements.</short>
<descr>
<p>
TDOMElementList is a TDOMNodeList descendant that provides an extension to 
the DOM interface used to build recursive lists of elements. TDOMElementList 
provides optional filtering used to select the DOM Elements that appear in 
the list.
</p>
</descr>
<seealso>
<link id="TDOMNodeList"/>
<link id="TDOMElementList.NodeFilter"/>
<link id="TDOMElementList.UseFilter"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMElementList.filter">
<short>Member with the value for the filter applied to the list.</short>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMElementList.FNSIndexFilter">
<short>Member with the index of the NameSpace for the filter.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMElementList.localNameFilter">
<short>Member with the local name used to filter nodes in the list.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMElementList.FMatchNS"/>
<element name="TDOMElementList.FMatchAnyNS"/>

<!-- variable Visibility: protected -->
<element name="TDOMElementList.UseFilter">
<short>
Indicates if filtering is used when selecting DOM Elements in the list.
</short>
<descr>
<p>
<var>UseFilter</var> is a <var>Boolean</var> member used to indicate whether 
filtering is enabled to select the elements in the list. The value is set in 
the <var>Create</var> method, and contains <b>True</b> when the filter or 
local name argument has a value other than '*' (All elements). UseFilter is 
used in <var>NodeFilter</var> to determine the <var>TFilterResult</var> 
return value from the method.
</p>
</descr>
<seealso>
<link id="TDOMElementList.Create"/>
<link id="TDOMElementList.NodeFilter"/>
<link id="TDOMElementList.NodeFilter"/>
<link id="TDOMElementList.Filter"/>
<link id="TDOMElementList.LocalNameFilter"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMElementList.NodeFilter">
<short>Determines if the node can be used in the DOM element list.</short>
<descr>
<p>
<var>NodeFilter</var> is an overridden <var>TFilterResult</var> function used 
to determine if the DOM node specified in <var>ANode</var> can be included in 
the DOM Element list. The return value indicates whether the node is allowed 
in the element list.
</p>
<p>
NodeFilter re-implements the method defined in the ancestor class to check 
whether the DOM Node in ANode has <var>ELEMENT_NODE</var> in its 
<var>NodeType</var> property.
</p>
<p>
If the Element list was created with a Namespace URI argument, the Namespace 
Information for the list is used to get the return value. It is set to 
<b>True</b> when the <var>LocalName</var> for the node matches the qualified 
name in the Namespace Information.
</p>
<p>
If the Element list was created using a tag name as a filter, the return 
value is <b>True</b> when the <var>TagName</var> property in the node 
contains the same value. It is also <b>True</b> when the filter value was set 
to '*' for any element.
</p>
<p>
The return value is always <var>False</var> if the specified node is not a 
DOM Element.
</p>
<p>
NodeFilter is called from the inherited <var>BuildList</var> method.
</p>
</descr>
<seealso>
<link id="TDOMElementList.Create"/>
<link id="TDOMNodeList.BuildList"/>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.NamespaceURI"/>
<link id="TDOMNode.Prefix"/>
<link id="TDOMNode.LocalName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElementList.NodeFilter.Result">
<short>
<b>True</b> if the specified node matches the tag name filter for the list.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElementList.NodeFilter.aNode">
<short>DOM Node to include or exclude using the Filter value.</short>
</element>

<!-- constructor Visibility: public -->
<element name="TDOMElementList.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overloaded constructor for the class instance. The 
overloaded variants allow either a filter value, or a namespace URI and and a 
local name to be used to filter the nodes in the class instance.
</p>
<p>
Create updates the values in the Filter, LocalNameFilter, and UseFilter 
members based on the overloaded variant called to create the class instance.
</p>
</descr>
<seealso>
<link id="TDOMElementList.Filter"/>
<link id="TDOMElementList.LocalNameFilter"/>
<link id="TDOMElementList.UseFilter"/>
<link id="TDOMNodeList.Create"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElementList.Create.ANode">
<short>DOM Node with children for the list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElementList.Create.AFilter">
<short>Filter to apply to values in the list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElementList.Create.nsURI">
<short>NamedSpace URI for values in the list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElementList.Create.localName">
<short>LocalName for values in the list.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMNamedNodeMap">
<short>Implements the NamedNodeMap interface in the DOM specification.</short>
<descr>
<p>
<var>TDOMNamedNodeMap</var> is a class used to implement the NamedNodeMap 
interface in the DOM specification.TDOMNamedNodeMap is used as a collection 
of DOM Nodes that are accessed by their name or their ordinal position. 
TDOMNamedNodeMap provides support for the Namespace URIs and QualifiedNames 
in the collection, as required for DOM Level 2 conformance.
</p>
<p>
The DOM specification mandates unordered access to nodes in the collection. 
The sorting options available in TDOMNamedNodeMap are an extension to the DOM 
specification. To achieve this, the class uses two separate internal lists to 
represent the nodes in their sorted and unsorted orders. This most certainly 
requires additional memory and processing, but the overhead is minimal in 
comparison to the derived benefit.
</p>
<p>
TDOMNamedNodeMap is the type used to represent Attributes, Entities, and 
Notations in the DOM API. The TAttributeMap implementation class is used for 
namespace-enabled node maps.
</p>
</descr>
<seealso>
<link id="TDOMNode.Attributes"/>
<link id="TDOMDocumentType.Entities"/>
<link id="TDOMDocumentType.Notations"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNamedNodeMap.FOwner"/>
<element name="TDOMNamedNodeMap.FNodeType"/>
<element name="TDOMNamedNodeMap.FSortedList"/>
<element name="TDOMNamedNodeMap.FPosList"/>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.GetPosItem">
<short>Gets the value for the Item property.</short>
<descr></descr>
<seealso>
<link id="TDOMNamedNodeMap.Item"/>
</seealso>
</element>
<element name="TDOMNamedNodeMap.GetPosItem.Result">
<short>Value for the Item property.</short>
</element>
<element name="TDOMNamedNodeMap.GetPosItem.index">
<short>Ordinal position for the Item.</short>
</element>

<element name="TDOMNamedNodeMap.GetSortedItem">
<short>Gets the value for the indexed SortedItem property.</short>
<descr></descr>
<seealso>
<link id="TDOMNamedNodeMap.SortedItem"/>
</seealso>
</element>
<element name="TDOMNamedNodeMap.GetSortedItem.Result">
<short>Value for the SortedItem property.</short>
</element>
<element name="TDOMNamedNodeMap.GetSortedItem.index">
<short>Ordinal position for the node in the sorted item list.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.GetLength">
<short>Gets the value for the Length property.</short>
<descr>
<p>
Ensures that the internal TFPList instance has been allocated for the 
positional list. The return value is <b>0</b> (<b>zero</b>) when the list has 
not been allocated.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.Length"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.GetLength.Result">
<short>Value for the Length property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.FindSorted">
<short>
Finds a DOM Node with the specified name in the sorted container.
</short>
<descr>
<p>
<var>Name</var> is a <var>DOMString</var> value with the name for the DOM 
node to locate in the <var>SortedItem</var> container.
</p>
<p>
<var>Index</var> is an output parameter where the ordinal position in the 
sorted list is stored. The value is 0 (zero) if a DOM node with the specified 
name is not found in the sorted container.
</p>
<p>
The return value is <b>True</b> when a <var>TDOMNode</var> instance is 
located with the specified name. The return value is <b>False</b> if a DOM 
node with the specified name is not found in the sorted container.
</p>
<p>
Calls the <var>CompareName</var> method for each TDOMNode instance to compare 
the value in name to the <var>NodeName</var> property for the node.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.SortedItem"/>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.CompareName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.FindSorted.Result">
<short>
<b>True</b> if a node with the specified name is found in the sorted list.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.FindSorted.name">
<short>Name to locate in the sorted list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.FindSorted.Index">
<short>Ordinal position for the node in the sorted list.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.DeleteSorted">
<short>
Deletes the DOM node at the specified position in the sorted list of nodes.
</short>
<descr>
<p>
<var>DeleteSorted</var> is a <var>TDOMNode</var> function used to delete the 
node at the position specified in Index from the sorted list of nodes.
</p>
<p>
The return value contains the TDOMNode instance deleted in the method. The 
node is also removed from the positional list used for the <var>Item</var> 
property.
</p>
<p>
When node type indicates that the node is an Attribute node, the 
<var>OwnerElement</var> in the return value is set to <b>Nil</b>.
</p>
<p>
DeleteSorted is called from the <var>InternalRemove</var> method.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.Item"/>
<link id="TDOMNamedNodeMap.InternalRemove"/>
<link id="TDOMAttr.OwnerElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.DeleteSorted.Result">
<short>DOM node instance deleted in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.DeleteSorted.index">
<short>
Ordinal position for the node removed from the sorted node list.
</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNamedNodeMap.RestoreDefault">
<short>
Restores the default value for the attribute node with the specified name.
</short>
<descr>
<p>
<var>RestoreDefault</var> is a method used to restore the default value for 
the attribute with the name specified in the name argument.
</p>
<p>
RestoreDefault ensures the Node type for the map is set to 
<var>ATTRIBUTE_NODE</var>. No actions performed in the method if the Node 
type for the map is not set to Attribute nodes. In addition, no actions are 
performed when the owner node does not have namespace information with the 
default value for the specified attribute name.
</p>
<p>
RestoreDefault calls the <var>GetAttributeNode</var> method in the owner 
Element to retrieve the attribute with the specified name. When assigned, and 
the attribute default value is "fixed" or "specified", it is re-applied to 
the attribute.
</p>
</descr>
<seealso>
<link id="TDOMElement.GetAttributeNode"/>
<link id="TDOMAttr.Value"/>
<link id="TDOMAttr.Specified"/>
<link id="TDOMAttrDef.Default"/>
<link id="TDOMNode_NS.NSI"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.RestoreDefault.name">
<short>Name of the item updated in the method.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.InternalRemove">
<short>
Performs actions need to remove an attribute node with the specified name.
</short>
<descr>
<p>
Calls the FindSorted method to locate the DOM node with the specified name. 
The return value is the TDOMNode instance removed in the method after the 
OwnerElement for the attribute has be cleared. The return value is Nil if 
node with the specified name is not found in the node map.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.FindSorted"/>
<link id="TDOMNamedNodeMap.DeleteSorted"/>
<link id="TDOMNamedNodeMap.RestoreDefault"/>
<link id="TDOMAttr.OwnerElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.InternalRemove.Result">
<short>
DOM node for the attribute removed in the method, or Nil when not found.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.InternalRemove.name">
<short>Name of the attribute node affected in the method.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNamedNodeMap.ValidateInsert">
<short>
Performs actions to determine if an inserted attribute node is valid for its 
context.
</short>
<descr>
<p>
<var>ValidateInsert</var> is an <var>Integer</var> function used to determine 
if the DOM node in <var>arg</var> is valid for the context where it is used. 
The return value represents a specific error condition when set to a non-zero 
value.
</p>
<p>
For example:
</p>
<dl>
<dt>NO_MODIFICATION_ALLOWED_ERR</dt>
<dd>
nfReadOnly is included in the Flags for the owner node.
</dd>
<dt>WRONG_DOCUMENT_ERR</dt>
<dd>
The node in arg has a different owner document than the node which owns the 
map.
</dd>
<dt>HIERARCHY_REQUEST_ERR</dt>
<dd>
The node in arg has a different node type than the node type for the map.
</dd>
<dt>INUSE_ATTRIBUTE_ERR</dt>
<dd>
The map is for Attribute nodes and the owner Element in arg does not match 
the owner Element for the map.
</dd>
</dl>
<p>
ValidateInsert is called from the <var>TDOMNamedNodeMap.SetNamedItem</var> 
method.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.SetNamedItem"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.ValidateInsert.Result">
<short>Numeric value reflecting an error condition, or 0 when valid.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.ValidateInsert.arg">
<short>DOM node examined in the method.</short>
</element>

<!-- constructor Visibility: public -->
<element name="TDOMNamedNodeMap.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for the class instance, and 
calls the inherited method on entry. Create stores values passed in the 
<var>AOwner</var> and <var>ANodeType</var> arguments to members in the class 
instance.
</p>
<p>
AOwner is the DOM node which owns the entities, notations, or attributes 
maintained in the node map.
</p>
<p>
NodeType is the Integer value that indicates the value for the TDOMNode 
instances stored in the node map. NodeType should contain one of the values: 
ENTITY_NODE, NOTATION_NODE, or ATTRIBUTE_NODE. It is not validated in the 
constructor.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.Create.AOwner">
<short>Owner of the class instance.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.Create.ANodeType">
<short>DOM Node type for the entries in the map.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMNamedNodeMap.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It 
ensures that DOM nodes in internal TFPList instances in the class are freed. 
It also frees the TFPList class instances. Destroy calls the inherited 
destructor prior to exiting from the method.
</p>
</descr>
<seealso>
<link id="TDOMNode.Destroy"/>
<link id="#rtl.classes.TFPList">TFPList</link>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.GetNamedItem">
<short>Gets the item with the specified name.</short>
<descr>
<p>
Calls <var>FindSorted</var> to locate the node with the specified 
<var>name</var>. The return value is <b>Nil</b> if a node with the specified 
name is not found in the <var>SortedItem</var> property for the map.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.FindSorted"/>
<link id="TDOMNamedNodeMap.SortedItem"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.GetNamedItem.Result">
<short>Item with the specified name, or Nil when not found.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.GetNamedItem.name">
<short>Name to locate in the Items for the map.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.SetNamedItem">
<short>Sets the value for a named item to the specified node.</short>
<descr>
<p>
<var>SetNamedItem</var> is a <var>TDOMNode</var> function used to store the 
named node in <var>arg</var> in the node map. This may require inserting a 
new entry or updating an existing one.
</p>
<p>
SetNamedItem calls <var>ValidateInsert</var> to determine whether the node is 
valid, and the parent for the node map is updatable. If the response code 
contains a non-zero value, an <var>EDOMError</var> exception is raised with 
the response code as the error constant.
</p>
<p>
SetNamedItem calls the <var>FindSorted</var> method to get the ordinal 
position for the node in arg. If a node with the same name already exists, it 
is replaced. Otherwise, the node is inserted at the position needed in the 
sorted node list.
</p>
<p>
The node type, passed as an argument to the constructor, is used to determine 
whether additional actions are needed to update the node / node map. For 
attribute nodes (<var>TDomAttr</var>), the OwnerElement is cleared in the old 
node (when needed). The OwnerElement in the new node is set to the DOM 
element which owns the attribute.
</p>
<p>
The return value is set to <b>Nil</b> if the node in arg was added to the 
map. Otherwise, the return value contains the node which was replaced.
</p>
<p>
SetNamedItem is called from methods like <var>SetAttributeNode</var> and 
<var>SetAttributeNodeNS</var> in <var>TDOMElement</var>.
</p>
<p>
Use <var>GetNamedItem</var> to retrieve a node from the map with a specified 
name.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.ValidateInsert"/>
<link id="TDOMNamedNodeMap.FindSorted"/>
<link id="TDOMElement"/>
<link id="TDOMAttr.Name"/>
<link id="TDOMAttr.OwnerElement"/>
<link id="TDOMNode.NodeName"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.SetNamedItem.Result">
<short>
Node replaced in the named node map, or Nil when the node was added.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.SetNamedItem.arg">
<short>Node with the name and value added/updated in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.RemoveNamedItem">
<short>Removes the node with the specified name.</short>
<descr>
<p>
<var>RemoveNamedItem</var> is a <var>TDOMNode</var> function used to remove 
the node with the name specified in the <var>name</var> argument. 
RemoveNamedItem calls the <var>InternalRemove</var> method to locate and 
remove the node from the map, and possibly restore the default value for a 
DOM Attribute node.
</p>
<p>
The return value contains the DOM node removed from the <var>SortedItem</var> 
property.
</p>
</descr>
<errors>
<dl>
<dt>EDOMError</dt>
<dd>
Raised with the error constant NO_MODIFICATION_ALLOWED_ERR when the Owner is 
marked as read-only.
</dd>
<dt>EDOMNotFound</dt>
<dd>
Raised if a node with the specified name is not found in the node map.
</dd>
</dl>
</errors>
<seealso>
<link id="TDOMNamedNodeMap.InternalRemove"/>
<link id="TDOMNamedNodeMap.SortedItem"/>
<link id="EDOMError"/>
<link id="EDOMNotFound"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.RemoveNamedItem.Result">
<short>The DOM node removed in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.RemoveNamedItem.name">
<short>Name for the DOM node removed in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.getNamedItemNS">
<short>Gets the Item with the specified Namespace URI and local name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.getNamedItemNS.Result">
<short>Namespaced node located in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.getNamedItemNS.namespaceURI">
<short>Namespace URI for the namespaced node.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.getNamedItemNS.localName">
<short>Local name for the namespaced node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.setNamedItemNS" link="TDOMNamedNodeMap.setNamedItem">
<short>Sets a namespaced node to the specified value.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.setNamedItemNS.Result">
<short>
Namespaced node replaced in the node map, or Nil when the node was added.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.setNamedItemNS.arg">
<short>
Node with the namespace URI, local name, and value added/updated in the 
method.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNamedNodeMap.removeNamedItemNS">
<short>
Remove a DOM Node with the specified Namespace URI and local name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNamedNodeMap.removeNamedItemNS.Result">
<short>Always Nil in TDOMNamedNodeMap.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.removeNamedItemNS.namespaceURI">
<short>Namespace URI for the item removed in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.removeNamedItemNS.localName">
<short>Local name for the item removed in the method.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNamedNodeMap.Item">
<short>
Provides indexed access to the unsorted DOM Nodes in the container.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.Item.index">
<short>Ordinal position for the DOM Node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNamedNodeMap.SortedItem">
<short>
Provides indexed access to the sorted DOM Nodes in the container.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNamedNodeMap.SortedItem.index">
<short>Ordinal position for the DOM Node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNamedNodeMap.Length">
<short>Indicates the Length of the container.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMCharacterData">
<short>
Implements the CharacterData interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMCharacterData</var> is a <var>TDOMNode</var> descendant that 
implements the CharacterData interface from the DOM specification. 
TDOMCharacterData provides properties and methods used to access and 
manipulate character data in the DOM APIs.
</p>
<remark>
Methods which alter character data use 0-based offsets; the offset values are 
converted internally to the 1-based offsets used in FPC / Lazarus.
</remark>
<p>
TDOMCharacterData is the ancestor class for other DOM Node specializations 
like TDOMText and TDOMComment. TDOMCharacterData is not used directly. Use 
one of the descendent classes.
</p>
<p>
Use <var>TDOMCDATASection</var> for the CDATA interface defined in the DOM 
specification.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
<link id="TDOMText"/>
<link id="TDOMComment"/>
<link id="TDOMCDATASection"/>
</seealso>
</element>

<!-- variable Visibility: private -->
<element name="TDOMCharacterData.FNodeValue" link="#lazutils.laz2_dom.TDOMCharacterData.NodeValue"/>

<!-- function Visibility: protected -->
<element name="TDOMCharacterData.GetLength">
<short>Gets the value for the Length property.</short>
<descr>
<p>
The property value is the length of the content in the <var>NodeValue</var> 
property.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData.Length"/>
<link id="TDOMCharacterData.GetNodeValue"/>
<link id="TDOMCharacterData.SetNodeValue"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCharacterData.GetLength.Result">
<short>Value for the Length property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMCharacterData.GetNodeValue">
<short>Gets the value for the NodeValue property.</short>
<descr/>
<seealso>
<link id="TDOMCharacterData.SetNodeValue"/>
<link id="TDOMNode.GetNodeValue"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCharacterData.GetNodeValue.Result">
<short>Value for the NodeValue property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMCharacterData.SetNodeValue">
<short>Sets the value for the NodeValue property.</short>
<descr>
<p>
<var>SetNodeValue</var> is an overridden method in 
<var>TDOMCharacterData</var> used to set the value for the NodeValue property.
</p>
<p>
SetNodeValue calls the <var>Changing</var> method to ensure that the node 
does not have the read-only attribute in its <var>Flags</var> property, or 
the <var>OwnerDocument</var> is not being freed. Either situation causes an 
<var>EDOMError</var> exception to raised.
</p>
<p>
SetNodeValue sets the internal member for the property to the specified value.
</p>
</descr>
<errors>
Raises an EDOMError exception if the node is marked as read-only, or the 
OwnerDocument for the node is being destroyed.
</errors>
<seealso>
<link id="TDOMNode.NodeValue"/>
<link id="TDOMNode.Changing"/>
<link id="EDOMError"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.SetNodeValue.AValue">
<short>Value for the NodeValue property.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMCharacterData.Data">
<short>
Provides access to the character data in the NodeValue property.
</short>
<descr>
<p>
<var>Data</var> is a <var>DOMString</var> property with the character data 
for the class instance. Setting a new value for the property causes the 
<var>SetNodeValue</var> method to be called.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData.SetNodeValue"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMCharacterData.Length">
<short>Length of the character data for the class instance.</short>
<descr>
<p>
<var>Length</var> is a read-only <var>LongWord</var> property with the length 
of the character data in the class instance. The property value contains the 
length for the content in the <var>NodeValue</var> property.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData.GetLength"/>
<link id="TDOMCharacterData.Data"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMCharacterData.SubstringData">
<short>
Copies character data at the specified offset for the number of bytes 
requested.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCharacterData.SubstringData.Result">
<short>Byte values copied from the NodeValue.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.SubstringData.offset">
<short>Offset to start copying character data.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.SubstringData.count">
<short>Number of bytes to copy from the character data.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMCharacterData.AppendData">
<short>Appends the specified value to the end of the character data.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.AppendData.arg">
<short>Value to append to the character data.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMCharacterData.InsertData">
<short>
Inserts the specified value at the given offset in the character data.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.InsertData.offset">
<short>Offset in the character data where the value is inserted.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.InsertData.arg">
<short>Value inserted into the character data.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMCharacterData.DeleteData">
<short>
Deletes a given number of characters at the specified offset in the character 
data.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.DeleteData.offset">
<short>Offset in the character data where values are deleted.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.DeleteData.count">
<short>Number of characters to delete from the character data.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMCharacterData.ReplaceData">
<short>
Replaces the characters at the specified offset in the character data.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.ReplaceData.offset">
<short>Offset where characters are replace in the character data.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.ReplaceData.count">
<short>Number of characters to remove from the character data.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCharacterData.ReplaceData.arg">
<short>
Characters to insert into the character data at the specified offset.
</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMImplementation">
<short>
Implements the DOMImplementation interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMImplementation</var> is a class which implements the 
DOMImplementation interface from the DOM specification. TDOMImplementation 
provides methods which perform operations that do not require an existing 
TDOMDocument class instance, such as creating new TDOMDocumentType or 
TDOMDocument instances. TDOMImplementation implements the HasFeature method 
which determines if the DOM implementation supports specific features 
required to conform to a specific DOM level.
</p>
</descr>
<seealso>
<link id="TDOMImplementation.HasFeature"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMImplementation.HasFeature">
<short>
Indicates if a feature or module is supported in the DOM implementation.
</short>
<descr>
<p>
<var>HasFeature</var> is a <var>Boolean</var> function which implements the 
method from the DOMImplementation interface in the DOM Level 2 specification. 
HasFeature indicates if a feature or module is supported at the specified 
conformance level for the DOM implementation.
</p>
<p>
<var>feature</var> contains the name for the feature or module examined in 
the method.
</p>
<p>
<var>version</var> is the version number or conformance level needed for the 
feature.
</p>
<p>
HasFeature recognizes the following feature names and version numbers in 
TDOMImplementation:
</p>
<dl>
<dt>'CORE'</dt>
<dd>Version numbers '2.0' or '' (empty string)</dd>
<dt>'XML'</dt>
<dd>Version numbers '1.0', '2.0', or '' (empty string)</dd>
</dl>
<p>
The return value is <b>True</b> if the specified feature is supported at the 
requested version number.
</p>
</descr>
</element>

<!-- function result Visibility: default -->
<element name="TDOMImplementation.HasFeature.Result">
<short>
<b>True</b> when the requested feature is supported at the required version.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.HasFeature.feature">
<short>Feature or module name to examine in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.HasFeature.version">
<short>Version number or support level required for the feature.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMImplementation.CreateDocumentType">
<short>Creates a DOM Document Type using the specified arguments.</short>
<descr>
<p>
<var>CreateDocumentType</var> is a method used to create an instance of a DOM 
Document Type. CreateDocumentType implements the method specified for the 
DOMImplementation interface in the DOM Level 2 specification.
</p>
<p>
Create ensures that the value in the QualifiedName argument is a valid XML 
Name, including its use of 'xml' or 'xmlns' prefixes in the name token. If 
QualifiedName is not valid, an EDOMError exception is raised.
</p>
<p>
CreateDocumentType returns a TDOMDocumentType instance with the values from 
the QualifiedName, PublicID, and SystemID parameters assigned to its Name, 
PublicID, and SystemID properties.
</p>
<p>
Use CreateDocumentType to create the optional DTD instance passed as an 
argument to the CreateDocument method, and assigned as the DocType property 
in the new Document.
</p>
</descr>
<errors>
Raises an EDOMError exception if an invalid value is specified in the 
QualifiedName argument.
</errors>
<seealso>
<link id="TDOMImplementation.CreateDocument"/>
<link id="TDOMDocumentType"/>
<link id="TDOMDocument.DocType"/>
<link id="#lazutils.laz2_xmlutils.IsXmlName">IsXmlName</link>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMImplementation.CreateDocumentType.Result">
<short>TDOMDocumentType created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocumentType.QualifiedName">
<short>Qualified name used in the DOM Document type.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocumentType.PublicID">
<short>Public ID for the DOM Document type.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocumentType.SystemID">
<short>System ID for the DOM Document type.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMImplementation.CreateDocument">
<short>Creates a new DOM Document instance.</short>
<descr>
<p>
<var>CreateDocument</var> is a <var>TDOMDocument</var> function used to 
create a new DOM Document instance.
</p>
<p>
CreateDocument implements the method defined for the DOMImplementation 
interface in the DOM Level 2 specification. It creates a 
<var>TXMLDocument</var> instance that is used as the return value for the 
method.
</p>
<p>
The <var>NamespaceURI</var> and <var>QualifiedName</var> arguments provide 
the namespace, prefix, and tag name used for the root Element in the document 
instance.
</p>
<p>
<var>doctype</var> contains the optional <var>TDOMDocumentType</var> instance 
(or DTD) for the new document. When doctype is assigned, its 
<var>OwnerDocument</var> property is set to the new document instance created 
in the method.
</p>
<p>
CreateDocument raises <var>EDOMError</var> exceptions for the following:
</p>
<dl>
<dt>INVALID_CHARACTER_ERR</dt>
<dd>
Raised if QualifiedName contains an illegal character for an XML Name token.
</dd>
<dt>NAMESPACE_ERR</dt>
<dd>
Raised if QualifiedName is malformed, has a prefix and the namespaceURI is 
missing, or when the prefix that is "xml" does not match the value in 
stduri_xml.
</dd>
<dt>WRONG_DOCUMENT_ERR</dt>
<dd>Raised if doctype has already been used with a different document or was 
created from a different implementation.
</dd>
</dl>
</descr>
<seealso/>
</element>

<!-- function result Visibility: default -->
<element name="TDOMImplementation.CreateDocument.Result">
<short>XML document created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocument.NamespaceURI">
<short>NameSpace URI for the root element in the XML document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocument.QualifiedName">
<short>QualifiedName for the root element in the XML document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMImplementation.CreateDocument.doctype">
<short>Document type appended to the XML document when assigned.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMDocumentFragment">
<short>
Implements the DocumentFragment interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMDocumentFragment</var> is a <var>TDOMNode_WithChildren</var> 
descendant that implements the DocumentFragment interface from the DOM Level 
2 specification. TDOMDocumentFragment is a "lightweight" or "minimal" 
Document object. It is often used as a temporary work area before applying 
changes to a TDOMDocument instance. Its content does not have to represent a 
well-formed XML document, but does require its child nodes to be well-formed 
XML parsed entities.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocumentFragment.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
Returns <var>DOCUMENT_FRAGMENT_NODE</var> in <var>TDOMDocumentFragment</var>.
</p>
</descr>
<seealso>
<link id="TDOMNode.GetNodeType"/>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentFragment.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocumentFragment.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr>
<p>
Returns a <var>String</var> with the value <b>'#document-fragment'</b> in 
<var>TDOMDocumentFragment</var>.
</p>
</descr>
<seealso>
<link id="TDOMNode.GetNodeName"/>
<link id="TDOMNode.NodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentFragment.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocumentFragment.CloneNode">
<short>
Creates a copy of the document fragment with optional recursion into child 
nodes.
</short>
<descr>
<p>
<var>CloneNode</var> is a method used to create a document fragment with the 
content specified in <var>ACloneOwner</var>, the <var>OwnerDocument</var> for 
the clone. CloneNode implements the method defined for the Node interface in 
the DOM Level 2 specification.
</p>
<p>
CloneNode creates a new <var>TDOMNode</var> instance that is a duplicate of 
the document fragment node by calling the <var>CreateDocumentFragment</var> 
method in ACloneOwner. This causes ACloneOwner to be assigned as the 
OwnerDocument for the new node. The new node does not have a ParentNode.
</p>
<p>
The <var>deep</var> argument indicates if the child nodes in ACloneOwner are 
also duplicated in the method. When deep is <b>True</b>, the 
<var>CloneChildren</var> method is called to duplicate the child nodes 
(recursively). Cloning a DOM Element node using deep recursion also copies 
its attribute names and values. Set deep to <b>False</b> to limit the copy to 
the immediate node and its Attributes.
</p>
<p>
The return value contains a TDOMNode instance with the duplicated content for 
the node in ACloneOwner.
</p>
</descr>
<seealso>
<link id="TDOMDocument.CreateDocumentFragment"/>
<link id="TDOMNode_WithChildren.CloneChildren"/>
<link id="TDOMNode.CloneNode"/>
<link id="TDOMNode.OwnerDocument"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentFragment.CloneNode.Result">
<short>The new copy of the document fragment.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocumentFragment.CloneNode.deep">
<short>
Indicates if child nodes are included in the cloned document fragment.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocumentFragment.CloneNode.ACloneOwner">
<short>Document used as the owner of the cloned document fragment.</short>
</element>

<!-- array type Visibility: default -->
<element name="TNamespaces">
<short>Type used for namespaces in a DOM Document.</short>
<descr>
<p>
<var>TNamespaces</var> is an array of <var>DOMString</var> type used to 
represent namespace values in a DOM Document. TNamespaces is the type used to 
implement the internal Namespaces member in <var>TDOMDocument</var>.
</p>
</descr>
<seealso>
<link id="DOMString"/>
<link id="TDOMDocument"/>
<link id="TDOMDocument.IndexOfNS"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMDocument">
<short>Implements the DOM Document interface.</short>
<descr>
<p>
<var>TDOMDocument</var> is a <var>TDOMNode_WithChildren</var> descendant that 
implements the DOM Document interface from the DOM specification. 
TDOMDocument is the container that represents the content for the entire HTML 
or XML document. It acts as the root of the DOM tree.
</p>
<p>
TDOMDocument provides factory methods needed to create elements, attributes, 
text nodes, comments, processing instructions, etc. These items cannot exist 
without an owner document. It also provides methods used to import nodes 
created in another document or document fragment.
</p>
<p>
TDOMDocument provides support for XML Namespaces introduced in DOM Level 2. 
The following namespace prefixes and URIs are always assigned in TDOMDocument:
</p>
<table>
<tr>
<td><b>Prefix</b></td>
<td><b>Namespace URI</b></td>
</tr>
<tr>
<td>xml</td>
<td>http://www.w3.org/XML/1998/namespace</td>
</tr>
<tr>
<td>xmlns</td>
<td>http://www.w3.org/2000/xmlns/</td>
</tr>
</table>
<p>
TDOMDocument includes the DocumentURI property introduced in DOM Level 3.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
<link id="TXMLDocument"/>
<link id="laz2_XMLWrite.WriteXMLFile"/>
<link id="laz2_XMLRead.ReadXMLFile"/>
<link id="laz2_XMLRead.ReadDTDFile"/>
</seealso></element>

<!-- variable Visibility: protected -->
<element name="TDOMDocument.FIDList"/>
<element name="TDOMDocument.FRevision"/>
<element name="TDOMDocument.FXML11"/>
<element name="TDOMDocument.FImplementation"/>
<element name="TDOMDocument.FNamespaces"/>
<element name="TDOMDocument.FNames"/>
<element name="TDOMDocument.FEmptyNode"/>
<element name="TDOMDocument.FNodeLists"/>
<element name="TDOMDocument.FMaxPoolSize"/>
<element name="TDOMDocument.FPools"/>
<element name="TDOMDocument.FDocumentURI"/>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetDocumentElement">
<short>Gets the value for the DocumentElement property.</short>
<descr>
<p>
The return value is the first child node in the document which is a DOM 
Element node (<var>NodeType</var> is <var>ELEMENT_NODE</var>). Starts at 
<var>FirstChild</var> and continues to <var>NextSibling</var> until a match 
is found. The node is cast to the <var>TDOMElement</var> type used for the 
property value.
</p>
</descr>
<seealso>
<link id="TDOMDocument.DocumentElement"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.NodeType"/>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetDocumentElement.Result">
<short>Value for the DocumentElement property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetDocType">
<short>Gets the value for the DocType property.</short>
<descr>
<p>
The return value is the first child node in the document which has 
<var>DOCUMENT_TYPE_NODE</var> in its <var>NodeType</var> property. Starts at 
<var>FirstChild</var> and continues to <var>NextSibling</var> until a match 
is found. The node is cast to the <var>TDOMDocumentType</var> type used for 
the property value.
</p>
</descr>
<seealso>
<link id="TDOMDocument.DocType"/>
<link id="TDOMNode.FirstChild"/>
<link id="TDOMNode.NextSibling"/>
<link id="TDOMNode.NodeType"/>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetDocType.Result">
<short>Value for the DocType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
<var>GetNodeType</var> is an overridden method in <var>TDOMDocument</var> 
used to get the value for the <var>NodeType</var> property. It ensures that 
the property value is <var>DOCUMENT_NODE</var> for the TDOMDocument instance.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr>
<p>
<var>GetNodeName</var> is an overridden method in <var>TDOMDocument</var> 
used to get the value for the <var>NodeName</var> property. It ensures that 
the property value is <b>'#document'</b> in the TDOMDocument instance.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetTextContent">
<short>Gets the value for the TextContent property.</short>
<descr>
<p>
<var>GetTextContent</var> is an overridden method in <var>TDOMDocument</var> 
used to the value for the <var>TextContent</var> property. GetTextContent 
always returns an empty string (<b>''</b>) in TDOMDocument.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.GetTextContent"/>
<link id="TDOMNode.TextContent"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetTextContent.Result">
<short>Value for the TextContent property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetOwnerDocument">
<short>Gets the value for the OwnerDocument property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.OwnerDocument"/>
<link id="TDOMNode.GetOwnerDocument"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetOwnerDocument.Result">
<short>Value for the OwnerDocument property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMDocument.SetTextContent">
<short>Sets the value for the TextContent property.</short>
<descr>
<p>
<var>SetTextContent</var> is ignored in <var>TDOMDocument</var>; the 
implementation is empty.
</p>
</descr>
<seealso>
<link id="TDOMNode.TextContent"/>
<link id="TDOMNode_WithChildren.SetTextContent"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.SetTextContent.value">
<short>
New value for the TextContent property; ignored in TDOMDocument.
</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMDocument.RemoveID">
<short>
Removes a DOM element from the hash table used for IDs in the document.
</short>
<descr>
<p>
<var>RemoveID</var> is a method used to remove the DOM Element specified in 
<var>Elem</var> from the internal has table used for identifiers in the 
document. Calls the <var>RemoveData</var> method for the 
<var>THashTable</var> member in the class instance.
</p>
<p>
RemoveID is called when a <var>TDOMElement</var> instance is freed.
</p>
</descr>
<seealso>
<link id="TDOMElement.Destroy"/>
<link id="#lazutils.laz2_xmlutils.THashTable.RemoveData">THashTable.RemoveData</link>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.RemoveID.Elem">
<short>DOM Element to remove from the hash list for the document.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetChildNodeList">
<short>
Gets a DOM Node List with the children for the specified DOM Node.
</short>
<descr>
<p>
<var>GetChildNodeList</var> is a <var>TDOMNodeList</var> function used to get 
a list with the child nodes in <var>ANode</var>.
</p>
<p>
If ANode is not a <var>TDOMNode_WithChildren</var> descendant, the return 
value is an empty <var>TDOMNodeList</var> instance with ANode as its parent. 
Otherwise, the value in the <var>ChildNodes</var> property in ANode is used 
as the return value.
</p>
</descr>
<seealso>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode_WithChildren.HasChildNodes"/>
<link id="TDOMNodeList"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetChildNodeList.Result">
<short>TDOMNodeList instance for the specified DOM node.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetChildNodeList.aNode">
<short>DOM Node examined for child nodes in the method.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.GetElementList">
<short>
Gets a DOM Element List with elements found in the specified DOM Node.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetElementList.Result">
<short>Element list generated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementList.aNode">
<short>DOM Node examined in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementList.nsURI">
<short>Namespace URI for elements included in the list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementList.aLocalName">
<short>LocalName for elements included in the list.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementList.UseNS">
<short>
Indicates if Namespaces are used when selecting elements in the list.
</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMDocument.NodeListDestroyed">
<short>
Signals that the specified list can be removed from the internal hash table.
</short>
<descr>
<p>
<var>NodeListDestroyed</var> is a method called when the 
<var>TDOMNodeList</var> instance in <var>AList</var> is freed.
</p>
<p>
Values in the <var>Flags</var> property are checked to determine whether the 
<var>TDocument</var> instance is being freed, or just the specified list. The 
RemoveData method in the internal <var>THashTable</var> member is called for 
the list in AList. No actions are performed in the method when the TDocument 
instance and its node lists are freed.
</p>
</descr>
<seealso>
<link id="TDOMDocument.Destroy"/>
<link id="TDOMNodeList.Destroy"/>
<link id="TDOMNode.Flags"/>
<link id="TNodeFlagEnum"/>
<link id="#lazutils.laz2_xmlutils.THashTable.RemoveData">THashTable.RemoveData</link>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.NodeListDestroyed.aList">
<short>Node list generating the notification.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocument.Alloc">
<short>
Ensures the DOM node class type is allocated using the Node pool for the 
document.
</short>
<descr>
<p>
<var>Alloc</var> is called when new DOM node specializations are created and 
added to the DOM node hierarchy. It is called from methods like:
</p>
<dl>
<dt>In TDOMElement:</dt>
<dd>CloneNode, SetAttributeNS</dd>
<dt>In TDOMNotation:</dt>
<dd>CloneNode</dd>
<dt>In TDOMEntity:</dt>
<dd>CloneNode</dd>
<dt>In TDOMDocument:</dt>
<dd>
CreateElement, CreateElementBuf, CreateDocumentFragment, CreateTextNode, 
CreateTextNodeBuf, CreateComment, CreateCommentBuf, CreateAttribute, 
CreateAttributeBuf, CreateAttributeNS, CreateElementNS, CreateCDATASection
</dd>
<dt>In TXMLDocument:</dt>
<dd>CreateProcessingInstruction, CreateEntityReference</dd>
</dl>
</descr>
<seealso>
<link id="TDOMElement.CloneNode"/>
<link id="TDOMElement.SetAttributeNS"/>
<link id="TDOMNotation.CloneNode"/>
<link id="TDOMEntity.CloneNode"/>
<link id="TDOMDocument.CreateElement"/>
<link id="TDOMDocument.CreateElementBuf"/>
<link id="TDOMDocument.CreateDocumentFragment"/>
<link id="TDOMDocument.CreateTextNode"/>
<link id="TDOMDocument.CreateTextNodeBuf"/>
<link id="TDOMDocument.CreateComment"/>
<link id="TDOMDocument.CreateCommentBuf"/>
<link id="TDOMDocument.CreateAttribute"/>
<link id="TDOMDocument.CreateAttributeBuf"/>
<link id="TDOMDocument.CreateAttributeNS"/>
<link id="TDOMDocument.CreateElementNS"/>
<link id="TDOMDocument.CreateCDATASection"/>
<link id="TXMLDocument.CreateProcessingInstruction"/>
<link id="TXMLDocument.CreateEntityReference"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.Alloc.Result">
<short>DOM Node created using the class reference.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.Alloc.AClass">
<short>DOM Node class to instantiate in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.IndexOfNS">
<short>
Gets the ordinal position for the specified namespace URI in the document 
namespaces.
</short>
<descr>
</descr>
<seealso>
<link id="TDOMNode_NS.SetNSI"/>
<link id="TDOMElement.SetAttributeNS"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.IndexOfNS.Result">
<short>Ordinal position for the Namespace URI, or -1 when not found.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.IndexOfNS.nsURI">
<short>Namespace URI to locate in the document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.IndexOfNS.AddIfAbsent">
<short>
Indicates if the Namespace URI is added if it does not already exist.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.InsertBefore">
<short>Inserts a DOM Node prior to the reference DOM node.</short>
<descr>
<p>
<var>InsertBefore</var> is an overridden method in <var>TDOMDocument</var> 
used to insert the DOM node specified in <var>NewChild</var> immediately 
before the node specified in <var>RefChild</var>.
</p>
<p>
InsertBefore checks the <var>NodeType</var> property in NewChild to ensure 
that the operation is valid for the node type. An 
<var>EDOMHierarchyRequest</var> exception is raised for either of the 
following conditions:
</p>
<ul>
<li>
NewChild is a DOM Element node and the <var>DocumentElement</var> has already 
been assigned.
</li>
<li>
NewChild is a DOM DocumentType node and the <var>DocType</var> property has 
already been assigned.
</li>
</ul>
<p>
InsertBefore calls the inherited method using NewChild and RefChild as 
arguments.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.InsertBefore"/>
<link id="TDOMNode.NodeType"/>
<link id="EDOMHierarchyRequest"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.InsertBefore.Result">
<short>DOM Node inserted in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.InsertBefore.NewChild">
<short>New DOM Node to include in the document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.InsertBefore.RefChild">
<short>
Reference DOM Node that determines the location for the new DOM node.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.ReplaceChild">
<short>Replaces a child node with another DOM node.</short>
<descr>
<p>
<var>ReplaceChild</var> is an overridden <var>TDOMNode</var> function used to 
replace the DOM node in <var>OldChild</var> with the DOM node in 
<var>NewChild</var>.
</p>
<p>
ReplaceChild ensures that the <var>DocumentElement</var> can be replaced with 
the specified element node or DTD node in NewChild. When NewNode is not an 
element or DTD node, the inherited ReplaceChild method is called.
</p>
<p>
The return value is the TDOMNode instance in OldChild after it has been 
detached from the document.
</p>
</descr>
<seealso>
<link id="TDOMDocument.DocumentElement"/>
<link id="TDOMDocument.DocType"/>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode_WithChildren.ReplaceChild"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.ReplaceChild.Result">
<short>TDOMNode instance detached from the document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.ReplaceChild.NewChild">
<short>New DOM node to include in the document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.ReplaceChild.OldChild">
<short>DOM Node replaced with the new DOM node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocument.DocType">
<short>Document Type declaration used in the document.</short>
<descr>
<p>
<var>DocType</var> is a read-only <var>TDOMDocumentType</var> property that 
represents the Document Type declaration found in the child nodes for the 
document. DocType examines the top-level child nodes to find the first node 
with the value <var>DOCUMENT_TYPE_NODE</var> in its NodeType property.
</p>
</descr>
<seealso>
<link id="TDOMDocumentType"/>
<link id="DOCUMENT_TYPE_NODE"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocument.Impl">
<short>Provides access to the DOM Implementation for the document.</short>
<descr>
<p>
<var>Impl</var> is a read-only <var>TDOMImplementation</var> property that 
provides access to the DOM Implementation for the document.
</p>
</descr>
<seealso>
<link id="TDOMImplementation"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocument.DocumentElement">
<short>Gets the root element for the document.</short>
<descr>
<p>
<var>DocumentElement</var> is a read-only <var>TDOMElement</var> property 
that represents the root element for the document. DocumentElement is derived 
using the top-level child nodes found in the document. The return value 
contains the first DOM Node located that contains the value 
<var>ELEMENT_NODE</var> in its NodeType property.
</p>
</descr>
<seealso>
<link id="TDOMElement"/>
<link id="TDOMNode.NodeType"/>
<link id="ELEMENT_NODE"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateElement">
<short>Creates an element in the document with the specified tag name.</short>
<descr>
<p>
<var>CreateElement</var> is a <var>TDOMElement</var> function used to create 
a new DOM Element with the tag name specified in tagName.
</p>
<p>
CreateElement calls <var>Alloc</var> to create the DOM Element in the 
internal node pool for the document. The value in tagName is checked for a 
QualifiedName matching a Namespace registered in the document, and added to 
the Namespace index if it does not already exist. CreateElement calls the 
AttachDefaultAttrs method in TDOMElement to add default attribute values 
required for the DOM Element.
</p>
</descr>
<errors>
<p>
Raises an EDOMError exception with the exception code 
<var>INVALID_CHARACTER_ERR</var> if tagName does not contain a valid XML name.
</p>
</errors>
<seealso>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateElement.Result">
<short>DOM Element created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateElement.tagName">
<short>Tag name used in the new DOM Element.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateElementBuf">
<short>Creates an element in the document with the specified tag name.</short>
<descr>
<p>
<var>CreateElementBuf</var> is a <var>TDOMElement</var> function used to 
create a new DOM Element with the tag name specified in the <var>Buf</var> 
argument. Buf is a <var>DOMPChar</var> type that contains a pointer the 
character data for the tagName.
</p>
<p>
CreateElementBuf calls <var>Alloc</var> to create the DOM Element in the 
internal node pool for the document. The value in Buf is checked for a 
qualified name matching a Namespace registered in the document, and added to 
the Namespace index if it does not already exist.
</p>
</descr>
<seealso>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateElementBuf.Result">
<short>DOM Element created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateElementBuf.Buf">
<short>Pointer to character data used as the tag name for the Element.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateElementBuf.Length">
<short>Length of the values in Buf.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateDocumentFragment">
<short>Creates a new DOM Document Fragment.</short>
<descr>
<p>
<var>CreateDocumentFragment</var> is a <var>TDOMDocumentFragment</var> 
function used to create an empty DOM Document Fragment. 
CreateDocumentFragment calls the Alloc method to enable memory management for 
the TDOMDocumentFragment class instance.
</p>
</descr>
<seealso>
<link id="TDOMDocumentFragment"/>
<link id="TDOMDocument.Alloc"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateDocumentFragment.Result">
<short>DOM Document Fragment created in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateTextNode">
<short>Creates a new DOM Text node with the specified value.</short>
<descr>
<p>
<var>CreateTextNode</var> is a <var>TDOMText</var> function used to create a 
DOM Text node with the specified value. <var>Data</var> contains the value 
assigned to the <var>NodeValue</var> property in the TDOMText class instance. 
CreateTextNode calls the <var>Alloc</var> method to enable memory management 
for the new TDOMText class instance.
</p>
</descr>
<seealso>
<link id="TDOMDocument.Alloc"/>
<link id="TDOMText"/>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateTextNode.Result">
<short>DOM Text node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateTextNode.data">
<short>Value assigned to the new DOM Text node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateTextNodeBuf">
<short>Creates a new DOM Text node with the specified value.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateTextNodeBuf.Result">
<short>DOM Text node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateTextNodeBuf.Buf">
<short>
Pointer to the character data assigned to the new DOM Text node.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateTextNodeBuf.Length">
<short>Length of the buffer.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateTextNodeBuf.IgnWS">
<short>Indicates if whitespace in the buffer is ignored.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateComment">
<short>Creates a new DOM Comment with the specified content.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateComment.Result">
<short>DOM Comment created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateComment.data">
<short>Values used as the content for the DOM Comment.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateCommentBuf">
<short>Created a new DOM Comment using the specified content.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateCommentBuf.Result">
<short>DOM Comment created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateCommentBuf.Buf">
<short>Pointer to character data used as the content for the comment.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateCommentBuf.Length">
<short>Length of the buffer.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateCDATASection">
<short>Creates a new DOM CDATA section with the specified content.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateCDATASection.Result">
<short>DOM CDATA Section created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateCDATASection.data">
<short>Values used as the content for the CDATA section.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateProcessingInstruction">
<short>Creates a new DOM Processing Instruction.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateProcessingInstruction.Result">
<short>DOM Processing Instruction created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateProcessingInstruction.target">
<short>Target for the Processing Instruction.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateProcessingInstruction.data">
<short>Content for the Processing Instruction.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateAttribute">
<short>Creates a new DOM Attribute with the specified name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateAttribute.Result">
<short>DOM Attribute node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttribute.name">
<short>Name assigned to the DOM Attribute node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateAttributeBuf">
<short>Creates a new DOM Attribute with the specified name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateAttributeBuf.Result">
<short>DOM Attribute node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeBuf.Buf">
<short>Pointer to character data with the name for the Attribute.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeBuf.Length">
<short>Length of the buffer.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateAttributeDef">
<short>Creates a new Attribute with a default value.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateAttributeDef.Result">
<short>DOM Attribute created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeDef.Buf">
<short>Pointer to character data using as the Attribute name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeDef.Length">
<short>Length of the buffer.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateEntityReference">
<short>Creates a new DOM Entity Reference for the specified name.</short>
<descr>
<remark>
CreateEntityReference always raises an EDOMNotSupported exception. DOM Entity 
References are not supported in this DOM Implementation. Entity References in 
an existing document should have been converted to DOM Entities when the 
document was de-serialized.
</remark>
</descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateEntityReference.Result">
<short>DOM Entity Reference created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateEntityReference.name">
<short>Name for the DOM Entity Reference.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.GetElementsByTagName">
<short>Gets a list of nodes with the specified tag name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetElementsByTagName.Result">
<short>Node list created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementsByTagName.tagname">
<short>Tag name to locate in the DOM nodes for the document.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.ImportNode">
<short>Imports a copy of the DOM node into the current document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.ImportNode.Result">
<short>DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.ImportNode.ImportedNode">
<short>Node with values to import in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.ImportNode.Deep">
<short>
Indicates if the entire DOM sub-tree is included in the process.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateElementNS">
<short>Creates a new DOM Element with the specified Namespace URI.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateElementNS.Result">
<short>DOM Element created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateElementNS.nsURI">
<short>Namespace URI for the qualified name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateElementNS.QualifiedName">
<short>
Namespace Prefix and Local Name used as the tag name for the Element.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.CreateAttributeNS">
<short>
Creates a new Attribute with the specified Namespace URI and qualified name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.CreateAttributeNS.Result">
<short>DOM Attribute node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeNS.nsURI">
<short>Namespace URI for the qualified name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.CreateAttributeNS.QualifiedName">
<short>
Namespace Prefix and Local Name used as the name for the Attribute.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.GetElementsByTagNameNS">
<short>
Gets a list of nodes with the specified Namespace URI and local name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetElementsByTagNameNS.Result">
<short>Node list created for nodes with the specified tag name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementsByTagNameNS.nsURI">
<short>Namespace URI for the specified tag name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementsByTagNameNS.alocalName">
<short>
Local name (QualifiedName sans Prefix) for nodes included in the list.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.GetElementById">
<short>Gets the DOM Element with the specified ID attribute value.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.GetElementById.Result">
<short>DOM Element with the specified ID value.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.GetElementById.ElementID">
<short>ID attribute value for the Element to locate in the method.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocument.documentURI">
<short>Represents the DOM Level 3 Document URI.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- constructor Visibility: public -->
<element name="TDOMDocument.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMDocument.Destroy">
<short>Destructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMDocument.AddID">
<short>Adds an ID Attribute value to a hash list used in the Document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocument.AddID.Result">
<short>
<b>True</b> if the ID value was added, <b>False</b> if it already exists.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMDocument.AddID.Attr">
<short>DOM Attribute node with the ID value to add to the hash list.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocument.Names">
<short>Hash table representing qualified names used in the document.</short>
<descr>
<p>
<var>Names</var> is a read-only <var>THashTable</var> property used to store 
QualifiedName values used in the DOM Document. Names is updated when DOM 
Elements or Attributes with Namespace URIs and qualified names are created in 
the document. It is also updated (re-hashed) when the Prefix property in the 
DOM Element or Attribute is changed.
</p>
</descr>
<seealso>
<link id="TDOMElement"/>
<link id="TDOMAttr"/>
<link id="TDOMNode_NS"/>
<link id="TDOMNode.Prefix"/>
<link id="#lazutils.laz2_xmlutils.THashTable">THashTable</link>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TXMLDocument">
<short>Implements an XML Document.</short>
<descr>
<p>
<var>TXMLDocument</var> is a <var>TDOMDocument</var> descendant that 
implements an XML Document. TXMLDocument provides extensions to the DOM 
Document interface needed when working with an XML Document. This includes 
the XMLVersion property as well as the Encoding, StylesheetType, and 
StylesheetHRef members. Overridden methods are also provided to handle 
creation of CDATA sections and Processing Instructions using valid XML names 
for the XMLVersion used in the document.
</p>
</descr>
<seealso>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- variable Visibility: private -->
<element name="TXMLDocument.FXMLVersion"/>

<!-- procedure Visibility: private -->
<element name="TXMLDocument.SetXMLVersion">
<short>Sets the value for the XMLVersion property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TXMLDocument.SetXMLVersion.aValue">
<short>New value for the XMLVersion property.</short>
</element>

<!-- variable Visibility: public -->
<element name="TXMLDocument.Encoding">
<short>Encoding used for the XML Document.</short>
<descr>
<p>
This member is an extension to the DOM interface.
</p>
</descr>
<seealso></seealso>
</element>

<!-- variable Visibility: public -->
<element name="TXMLDocument.StylesheetType">
<short>Type of Stylesheet represented by the StylesheetHRef property.</short>
<descr>
<p>
This member is an extension to the DOM interface.
</p>
</descr>
<seealso></seealso>
</element>

<!-- variable Visibility: public -->
<element name="TXMLDocument.StylesheetHRef">
<short>URL for the Stylesheet to use for the Document.</short>
<descr>
<p>
This member is an extension to the DOM interface.
</p>
</descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TXMLDocument.CreateCDATASection">
<short>Creates a new CDATA section in the document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TXMLDocument.CreateCDATASection.Result">
<short>DOM CDATA section created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TXMLDocument.CreateCDATASection.data">
<short>Character data to include in the CDATA section.</short>
</element>

<!-- function Visibility: public -->
<element name="TXMLDocument.CreateProcessingInstruction">
<short>Creates a new Processing Instruction in the document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TXMLDocument.CreateProcessingInstruction.Result">
<short>DOM Processing Instruction created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TXMLDocument.CreateProcessingInstruction.target">
<short>Target for the Processing Instruction.</short>
</element>

<!-- argument Visibility: default -->
<element name="TXMLDocument.CreateProcessingInstruction.data">
<short>Data for the Processing Instruction.</short>
</element>

<!-- function Visibility: public -->
<element name="TXMLDocument.CreateEntityReference">
<short>Creates a new Entity Reference in the document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TXMLDocument.CreateEntityReference.Result">
<short>DOM Entity Reference created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TXMLDocument.CreateEntityReference.name">
<short>Name for the Entity Reference.</short>
</element>

<!-- property Visibility: public -->
<element name="TXMLDocument.XMLVersion">
<short>XML Version number supported in the document.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- record type Visibility: default -->
<element name="TNamespaceInfo">
<short>
Represents Namespace Information used in DOM Node specializations.
</short>
<descr>
<p>
<var>TNamespaceInfo</var> is a <var>packed record</var> type used to 
represent Namespace Information used in DOM Node specializations. Members in 
the record are used to record the Index Position, PrefixLength, and a hash 
value for a Qualified Name assigned to namespaced DOM Elements and 
Attributes. TNamespaceInfo is the type used for the NSI property in 
TDOMNode_NS.
</p>
<p>
Please note that the NSIndex and PrefixLength members are declared as Word 
values. This limits the number of namespaces per document and the prefix 
length to 65535 (each). It is believed that higher values are only found in 
deliberately malformed documents.
</p>
</descr>
<seealso>
<link id="TDOMNode_NS.NSI"/>
<link id="TDOMDocument"/>
<link id="TDOMElement"/>
</seealso>
</element>

<!-- variable Visibility: default -->
<element name="TNamespaceInfo.NSIndex">
<short>Index position for the Namespace.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: default -->
<element name="TNamespaceInfo.PrefixLen">
<short>Length of the Namespace Prefix.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: default -->
<element name="TNamespaceInfo.QName">
<short>Qualified Name for the Namespace.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- enumeration type Visibility: default -->
<element name="TAttrDataType">
<short>Enumeration with values for attribute types used in DOM Nodes.</short>
<descr>
<remark>
This will eventually be altered or replaced when DOM Level 3 TypeInfo 
Interface support is introduced.
</remark>
</descr>
<seealso></seealso>
</element>
<element name="TAttrDataType.dtCdata">
<short>Attribute contains a CDATA value.</short>
</element>
<element name="TAttrDataType.dtId">
<short>Attribute contains an ID value.</short>
</element>
<element name="TAttrDataType.dtIdRef">
<short>Attribute contains an ID reference.</short>
</element>
<element name="TAttrDataType.dtIdRefs">
<short>Attribute contains multiple ID references.</short>
</element>
<element name="TAttrDataType.dtEntity">
<short>Attribute contains an Entity.</short>
</element>
<element name="TAttrDataType.dtEntities">
<short>Attribute contains several Entities.</short>
</element>
<element name="TAttrDataType.dtNmToken">
<short>Attribute contains a Name token.</short>
</element>
<element name="TAttrDataType.dtNmTokens">
<short>Attribute contains several Name tokens.</short>
</element>
<element name="TAttrDataType.dtNotation">
<short>Attribute contains a Notation.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMNode_NS">
<short>Implements a DOM Node with Namespace support.</short>
<descr>
<p>
<var>TDOMNode_NS</var> is a <var>TDOMNode_WithChildren</var> descendant which 
provides support for Namespaces in DOM Nodes.
</p>
<p>
TDOMNode_NS extends the ancestor class to implement the use of XML Namespace 
as required in DOM Level 2. Overridden methods are provided for read and 
write accessors in the class which access the NodeName, LocalName, 
NamespaceURI and Prefix properties. It also implements the NSI property which 
is used to provide information about the Namespaces used in DOM Node 
specializations.
</p>
<p>
TDOMNode_NS is the ancestor class for the <var>TDOMAttr</var> and 
<var>TDOMElement</var> node types.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
<link id="TDOMElement"/>
<link id="TDOMAttr"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNode_NS.FNSI" link="#lazutils.laz2_dom.TDOMNode_NS.NSI"/>

<!-- function Visibility: protected -->
<element name="TDOMNode_NS.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.GetNodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_NS.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode_NS.GetLocalName">
<short>Gets the value for the LocalName property.</short>
<descr></descr>
<seealso>
<seealso>
<link id="TDOMNode.LocalName"/>
<link id="TDOMNode.GetLocalName"/>
</seealso>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_NS.GetLocalName.Result">
<short>Value for the LocalName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode_NS.GetNamespaceURI">
<short>Gets the value for the NamespaceURI property.</short>
<descr></descr>
<seealso>
<seealso>
<link id="TDOMNode.NamespaceURI"/>
<link id="TDOMNode.GetNamespaceURI"/>
</seealso>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_NS.GetNamespaceURI.Result">
<short>Value for the NamespaceURI property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNode_NS.GetPrefix">
<short>Gets the value for the Prefix property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.Prefix"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_NS.GetPrefix.Result">
<short>Value for the Prefix property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMNode_NS.SetPrefix">
<short>Sets the value for the Prefix property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.Prefix"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_NS.SetPrefix.Value">
<short>New value for the Prefix property.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMNode_NS.SetNSI">
<short>
Stores the specified Namespace URI and Prefix length in the Namespace 
Information for the DOM Document.
</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NamespaceURI"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_NS.SetNSI.nsUri">
<short>Namespace URI added or updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_NS.SetNSI.ColonPos">
<short>
Length of the prefix used in qualified names for the namespace.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNode_NS.CompareName">
<short>Compares the specified value to the NodeName for the DOM node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNode_NS.CompareName.Result">
<short>
Difference between the ordinal character values for the first non-matching 
character in the compared names.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNode_NS.CompareName.AName">
<short>Value compared to the NodeName for the DOM node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNode_NS.NSI">
<short>Provides access to Namespace information for the DOM node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMAttr">
<short>Implements a DOM Node for attributes with Namespace support.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMAttr.FOwnerElement"/>
<element name="TDOMAttr.FDataType"/>

<!-- function Visibility: protected -->
<element name="TDOMAttr.GetNodeValue">
<short>Gets the value for the NodeValue property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttr.GetNodeValue.Result">
<short>Value for the NodeValue property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMAttr.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttr.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMAttr.GetSpecified">
<short>Gets the value for the Specified property.</short>
<descr></descr>
<seealso>
<link id="TDOMAttr.Specified"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttr.GetSpecified.Result">
<short>Value for the Specified property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMAttr.GetIsID">
<short>Gets the value for the IsID property.</short>
<descr></descr>
<seealso>
<link id="TDOMAttr.IsID"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttr.GetIsID.Result">
<short>Value for the IsID property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMAttr.SetNodeValue">
<short>Sets the value for the NodeValue property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttr.SetNodeValue.AValue">
<short>New value for the NodeValue property.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMAttr.Destroy">
<short>Destructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMAttr.CloneNode">
<short>Creates a copy of the DOM Attribute.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.CloneNode"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttr.CloneNode.Result">
<short>DOM Attribute created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttr.CloneNode.deep">
<short>
Provided to remain compatible with the interface defined in DOM Node; not 
used in DOM Attributes.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttr.CloneNode.ACloneOwner">
<short>Document that owns the new DOM Attribute node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.Name">
<short>Represents the name for the DOM Attribute.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.Specified">
<short>
Indicates if the value for DOM Attribute was explicitly assigned.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.Value">
<short>Value for the DOM Attribute.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.OwnerElement">
<short>DOM Element that owns the DOM Attribute node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.IsID">
<short>Indicates if the DOM Attribute node represents an ID Data type.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttr.DataType">
<short>Data type for value in the DOM Attribute node.</short>
<descr>
<remark>
DataType is an extension to the DOM specification. It is likely to be altered 
or removed when support is added for the DOM Level 3 TypeInformation 
Interface.
</remark>
</descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMElement">
<short>
Implements the DOM Element interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMElement</var> is a <var>TDOMNode_NS</var> descendant that implements 
the DOM Element interface from the DOM specification. TDOMElement represents 
an element in an HTML or XML document. It inherits the capabilities defined 
in ancestor classes, and provides additional methods and properties need for 
the DOM Element interface.
</p>
<p>
Methods are provided to access Attributes using the Node interface defined in 
TDOMNode, or as a simple string value. Namespaces are supported for both the 
element and its attributes. The Normalize method is overridden to include 
normalization for values in the Attributes property.
</p>
</descr>
<seealso>
<link id="TDOMNode_NS"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMElement.FAttributes" link="#lazutils.laz2_dom.TDOMElement.Attributes"/>

<!-- function Visibility: protected -->
<element name="TDOMElement.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
<var>GetNodeType</var> is an overridden <var>Integer</var> function in 
<var>TDOMElement</var> used to get the value for the <var>NodeType</var> 
property. It returns the value from the <var>ELEMENT_NODE</var> constant as 
the property value.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.GetNodeType"/>
<link id="ELEMENT_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMElement.GetAttributes">
<short>Gets the value for the Attributes property.</short>
<descr>
<p>
<var>GetAttributes</var> is an overridden <var>TDOMNamedNodeMap</var> 
function in <var>TDOMElement</var> used to get the value for the 
<var>Attributes</var> property. It ensures that a <var>TAttributeMap</var> 
instance has been allocated for the Attributes member. TAttributeMap is an 
implementation class which provides namespace support in the TDOMNamedNodeMap 
descendant.
</p>
</descr>
<seealso>
<link id="TDOMNode.Attributes"/>
<link id="TDOMNamedNodeMap"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetAttributes.Result">
<short>Value for the Attributes property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMElement.AttachDefaultAttrs">
<short>
Creates attribute nodes with the default attribute values in a namespaced DOM 
Element.
</short>
<descr>
<p>
No actions are performed in the method if namespace information with the 
qualified name and default attribute values for the Element has not been 
provided in the <var>NSI</var> property.
</p>
<p>
<var>AttachDefaultAttrs</var> calls RestoreDefaultAttr to creates and store a 
<var>TDOMAttr</var> instance in Attributes for each of the default attribute 
names and values found in the namespace information.
</p>
<p>
AttachDefaultAttrs is called from the CreateElement and CreateElementNS 
methods in
TDOMDocument.
</p>
</descr>
<seealso>
<link id="TDOMElement.RestoreDefaultAttr"/>
<link id="TDOMNode.Attributes"/>
<link id="TDOMNode_NS.NSI"/>
<link id="TDOMAttr"/>
<link id="TDOMAttrDef"/>
<link id="TDOMDocument.CreateElement"/>
<link id="TDOMDocument.CreateElementNS"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMElement.InternalLookupPrefix">
<short>Gets the Namespace Prefix used for the specified Namespace URI.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.InternalLookupPrefix.Result">
<short>
Prefix used for the Namespace in the current or ancestor DOM Element.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.InternalLookupPrefix.nsURI">
<short>Namespace URI to locate in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.InternalLookupPrefix.Original">
<short>Original DOM Element to use for the Lookup.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMElement.RestoreDefaultAttr">
<short>
Restores the specified default attribute name and value in the DOM Element.
</short>
<descr>
<p>
<var>RestoreDefaultAttr</var> is a method used to restore the default 
attribute name and value specified in <var>AttrDef</var> to the 
<var>Attributes</var> for the DOM Element.
</p>
<p>
RestoreDefaultAttr checks for a namespace prefix in the name for the 
attribute, and applies the default namespace information for names starting 
with <b>'xmlns'</b> or <b>'xml'</b>. It calls <var>LookupNamespaceURI</var> 
to get and set the namespace URI for a name which starts with another prefix. 
It calls <var>SetAttributeNode</var> to add or update the node in the 
Attributes property.
</p>
<p>
RestoreDefaultAttr is called from the <var>AttachDefaultAttrs</var> method in 
<var>TDOMElement</var>. It is also called from the <var>RestoreDefault</var> 
method in <var>TDOMNamedNodeMap</var>.
</p>
</descr>
<seealso>
<link id="TDOMElement.SetAttributeNode"/>
<link id="TDOMElement.AttachDefaultAttrs"/>
<link id="TDOMNamedNodeMap.RestoreDefault"/>
<link id="TDOMNode.LookupNamespaceURI"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.RestoreDefaultAttr.AttrDef">
<short>DOM Attribute used as the baseline.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMElement.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It 
ensures that the <var>Flags</var> for the node are updated to include the 
value <var>nfDestroying</var>. If the <var>OwnerDocument</var> for the node 
has a hash table for node IDs, its <var>RemoveID</var> method is called to 
remove the current class instance. Destroy frees resources allocated for the 
<var>Attributes</var> property, and calls the inherited destructor prior to 
exit.
</p>
</descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.CloneNode">
<short>Creates a DOM node that is a copy of the DOM Element.</short>
<descr>
<p>
<var>CloneNode</var> is an overridden <var>TDOMNode</var> function in 
<var>TDOMElement</var>. It re-implements the method from the ancestor class 
to create a cloned copy of the DOM Element and its Attributes in the DOM 
Document specified in the <var>ACloneOwner</var> argument.
</p>
<p>
The cloning mechanism differs depending on whether ACloneOwner and 
<var>OwnerDocument</var> are the same <var>TDOMDocument</var> instance. 
Essentially, namespace information in the <var>NSI</var> property is reused 
when the document instances are the same, and only default attributes are 
cloned when the documents differ.
</p>
<p>
When <var>deep</var> is set to <b>True</b>, the <var>CloneChildren</var> 
method is called to recursively copy the <var>ChildNodes</var> for the 
Element.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren.CloneChildren"/>
<link id="TDOMDocument.CreateElement"/>
<link id="TDOMDocument.CreateElementNS"/>
<link id="TDOMNode.Attributes"/>
<link id="TDOMNode_NS.NSI"/>
<link id="TDOMNode.CloneNode"/>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMNode.OwnerDocument"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.CloneNode.Result">
<short>DOM Node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.CloneNode.deep">
<short>
Indicates if the entire DOM sub-tree is copied for the DOM Element.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.CloneNode.ACloneOwner">
<short>DOM Document that owns the new Node(s) created in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.IsEmpty">
<short>Indicates if the DOM Element does not have any content.</short>
<descr>
<p>
<var>IsEmpty</var> is a <var>Boolean</var> function used to determine if the 
DOM element does not have any content. The return value is <b>True</b> when 
<var>Attributes</var> has not been assigned (contains <b>Nil</b>) or has a 
<var>Length</var> / <var>Count</var> of <b>0</b>.
</p>
<remark>
Technically, this implementation is incorrect. An empty element is one which 
has no child Text or Element nodes. And, an empty element can have attributes 
values (default or specified). Use <var>HasChildNodes</var> instead.
</remark>
</descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.IsEmpty.Result">
<short><b>True</b> when the DOM Element is empty.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMElement.Normalize">
<short>
Performs normalization for Text nodes and Attributes in the DOM Element.
</short>
<descr>
<p>
<var>Normalize</var> is an overridden method in <var>TDOMElement</var> used 
to perform normalization for Text and Attribute nodes in the DOM element.
</p>
<p>
Normalize convert child text nodes in the sub-tree to their normal form where 
only structure nodes separate the text nodes. Adjacent text nodes are 
combined into a single text node. Adjacent text nodes which contain only 
ignorable whitespace are consolidated into a single whitespace value. The 
same actions are performed for nodes in the Attributes property.
</p>
<p>
Normalize implements the method defined for the DOM Node interface in the DOM 
Level 2 Specification.
</p>
</descr>
<seealso>
<link id="TDOMNode.Normalize"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMElement.TagName">
<short>The qualified name used as the Tag name for the DOM Element.</short>
<descr>
<p>
<var>TagName</var> is a read-only <var>DOMString</var> property which 
contains the tag name for the DOM Element. TagName can contain a qualified 
name which includes a Prefix for a Namespace used in the Element or its owner 
Document.
</p>
<p>
The property value is set when the Element is created using the argument 
passed to the CreateElement method in TDOMDocument. The value for the 
property is read from NodeName.
</p>
</descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetAttribute">
<short>Gets the value for the AttribStrings property.</short>
<descr>
<p>
<var>GetAttribute</var> is a <var>DOMString</var> function used to the value 
for the indexed <var>AttribStrings</var> property. The name argument contains 
the name for the attribute node to locate in the <var>Attributes</var> 
property.
</p>
<p>
No actions are performed in the method if the Attributes property has not 
been assigned in the class instance.
</p>
</descr>
<seealso>
<link id="TDOMElement.AttribStrings"/>
<link id="TDOMNode.Attributes"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetAttribute.Result">
<short>Value for the AttribStrings property.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttribute.name">
<short>Name for the DOM Attribute requested in the method.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMElement.SetAttribute">
<short>Sets the value in the AttribStrings property.</short>
<descr>
<p>
<var>SetAttribute</var> is a method used to set the value for an attribute in 
the indexed <var>AttribStrings</var> property. It calls <var>Changing</var> 
to ensure that the DOM Element is not marked as read-only. An 
<var>EDOMError</var> exception is raised if the element cannot be modified.
</p>
<p>
SetAttribute locates the <var>TDOMAttr</var> in the <var>Attributes</var> 
property with the name specified in the <var>name</var> argument. If it is 
not found, a new TDomAttr instance is created with the required name and 
added to Attributes. SetAttribute stores the <var>value</var> argument as the 
<var>NodeValue</var> for the attribute instance.
</p>
</descr>
<seealso>
<link id="TDOMElement.AttribStrings"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttribute.name">
<short>Name of the DOM Attribute updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttribute.value">
<short>New value for the attribute in the AttribStrings property.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMElement.RemoveAttribute">
<short>Removes the DOM Attribute with the specified name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.RemoveAttribute.name">
<short>Name of the DOM Attribute removed in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetAttributeNode">
<short>Gets the DOM Attribute node with the specified name.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetAttributeNode.Result">
<short>DOM Attribute node with the specified name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttributeNode.name">
<short>Name for the DOM Attribute in the return value.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.SetAttributeNode">
<short>
Stores the new DOM Attribute node to an existing Attribute with the same name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.SetAttributeNode.Result">
<short>DOM Attribute node updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttributeNode.NewAttr">
<short>DOM Attribute node with the new value stored in Attributes.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.RemoveAttributeNode">
<short>
Removes the specified DOM Attribute node from the Attributes for the Element.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.RemoveAttributeNode.Result">
<short>DOM Attribute node removed in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.RemoveAttributeNode.OldAttr">
<short>
DOM Attribute node to remove from the Attributes for the Element.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetElementsByTagName">
<short>
Gets a list of DOM nodes with the specified name in the sub-tree for the 
Element.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetElementsByTagName.Result">
<short>DOM Node list with the specified tag name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetElementsByTagName.name">
<short>Tag name to locate in the DOM sub-tree.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetAttributeNS">
<short>
Gets the value for an Attribute with the specified Namespace URI and local 
name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetAttributeNS.Result">
<short>Value for the DOM Attribute requested in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttributeNS.nsURI">
<short>Namespace URI for the Attribute requested in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttributeNS.aLocalName">
<short>Local name for the Attribute requested in the method.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMElement.SetAttributeNS">
<short>
Sets the value for the DOM Attribute with the specified Namespace URI and 
qualified name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttributeNS.nsURI">
<short>Namespace URI for the DOM Attribute updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttributeNS.qualifiedName">
<short>QualifiedName for the DOM Attribute updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttributeNS.value">
<short>
New value for the DOM Attribute with the specified Namespace URI and 
Qualified Name.
</short>
</element>

<!-- procedure Visibility: public -->
<element name="TDOMElement.RemoveAttributeNS">
<short>
Removes the DOM Attribute with the specified Namespace URI and local name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.RemoveAttributeNS.nsURI">
<short>Namespace URI for the DOM Attribute.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.RemoveAttributeNS.aLocalName">
<short>Local name for the DOM Attribute.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetAttributeNodeNS">
<short>
Gets the DOM Attribute node with the specified Namespace URI and local name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetAttributeNodeNS.Result">
<short>
DOM Attribute node with the requested Namespace URI and local name.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttributeNodeNS.nsURI">
<short>Namespace URI for the DOM Attribute.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetAttributeNodeNS.aLocalName">
<short>Local name for the DOM Attribute.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.SetAttributeNodeNS">
<short>
Stores the new DOM Attribute node in an existing Namespaced Attribute node.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.SetAttributeNodeNS.Result">
<short>Existing DOM Attribute node updated in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.SetAttributeNodeNS.newAttr">
<short>
DOM Attribute node with the Namespace URI, Local name, and value stored in 
the method.
</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.GetElementsByTagNameNS">
<short>
Gets a Node list with Elements having the specified Namespace URI and local 
name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.GetElementsByTagNameNS.Result">
<short>DOM Node list created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetElementsByTagNameNS.nsURI">
<short>Namespace URI for the requested nodes.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.GetElementsByTagNameNS.aLocalName">
<short>Local name for the requested nodes.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.hasAttribute">
<short>
Indicates if the Attributes property contains an item with the specified name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.hasAttribute.Result">
<short>
<b>True</b> when an Attribute with the specified name exists in the 
Attributes property.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.hasAttribute.name">
<short>Name of the Attribute to locate in the method.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.hasAttributeNS">
<short>
Indicates if Attributes contains an attribute with the specified Namespace 
URI and local name.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.hasAttributeNS.Result">
<short>
<b>True</b> Attributes contains an entry with the specified Namespace URI and 
local name.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.hasAttributeNS.nsURI">
<short>Namespace URI for the DOM Attribute.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.hasAttributeNS.aLocalName">
<short>Local name for the DOM Attribute.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMElement.HasAttributes">
<short>
Indicates if the Attributes property contains DOM Attribute nodes.
</short>
<descr>
<p>
The return value is <b>True</b> when Attributes has been assigned and its 
Length is not 0.
</p>
</descr>
<seealso>
<link id="TDOMNode.Attributes"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMElement.HasAttributes.Result">
<short>
<b>False</b> when Attributes has not been assigned, or has a Length of 0 
(zero).
</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMElement.AttribStrings">
<short>
Provides indexed access to Attributes and their value as a String.
</short>
<descr>
<p>
<var>AttribStrings</var> is an indexed <var>DOMString</var> property that 
provides access to the value for a DOM Attribute by its Name. AttribStrings 
is an extension to the DOM specification. It provides a simpler mechanism for 
reading and writing Attribute values than the methods provided in the DOM 
Node interface. It is especially useful for DOM documents where Attributes 
are known to contain simple DOMString data types (like <b>HTML</b>).
</p>
<p>
Read and write access to AttribStrings is redirected to the Attributes 
property. When reading a DOM Attribute, the value is an empty string 
(<b>''</b>) if the Attributes property does not contain an Attribute node 
with the requested Name. When writing a DOM Attribute, the Attribute node is 
created if it does not exist already.
</p>
<p>
AttribStrings does not take Qualified names or Namespaces into consideration 
when accessing values in the Attributes property. Use the GetAttributeNS, 
SetAttributeNS, or RemoveAttributeNS methods when Namespace support is 
required for DOM Attributes.
</p>
</descr>
<seealso>
<link id="TDOMNode.Attributes"/>
<link id="TDOMElement.GetAttribute"/>
<link id="TDOMElement.SetAttribute"/>
<link id="TDOMElement.GetAttributeNS"/>
<link id="TDOMElement.SetAttributeNS"/>
<link id="TDOMElement.RemoveAttributeNS"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMElement.AttribStrings.Name">
<short>Name of the DOM Attribute accessed in the indexed property.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMText">
<short>Implements the DOM Text interface from the DOM specification.</short>
<descr>
<p>
<var>TDOMText</var> is a <var>TDOMCharacterData</var> descendant that 
implements the DOM Text interface from the DOM specification. TDOMText 
represents the textual content (called character data in XML) for a DOM 
Element or Attribute. It provides overridden methods which implement the 
NodeName and NodeValue properties as required for the DOM Node specialization.
</p>
<p>
Adjacent TDOMText nodes may be combined when the Normalize method is called 
for the ParentNode, and Text nodes with only whitespace in their content may 
be removed. This is the case when the DOM node has the value 
<var>nfIgnorableWS</var> in its Flags property.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData"/>
<link id="TDOMNode.Normalize"/>
<link id="TDOMNode.Flags"/>
<link id="TNodeFlags"/>
<link id="TNodeFlagEnum"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMText.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMText.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMText.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMText.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMText.SetNodeValue">
<short>Sets the value for the NodeValue property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMText.SetNodeValue.aValue">
<short>New value for the NodeValue property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMText.CloneNode">
<short>Makes a copy of the DOM Node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMText.CloneNode.Result">
<short>New DOM Node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMText.CloneNode.deep">
<short>
Indicates if child nodes in the sub-tree are included in the cloned DOM node.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMText.CloneNode.ACloneOwner">
<short>DOM Document used to create the cloned DOM node.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMText.SplitText">
<short>
Splits the textual content at the specified offset into a new DOM Text node.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMText.SplitText.Result">
<short>New DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMText.SplitText.offset">
<short>Offset in the textual content where the Text node is split.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMText.IsElementContentWhitespace">
<short>
Indicates if the textual content for the node is whitespace characters.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMText.IsElementContentWhitespace.Result">
<short>
<b>True</b> when nfIgnorableWS is included in the Flags for the DOM node.
</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMComment">
<short>
Implements the DOM Comment interface from the DOM specification.
</short>
<descr>
<p>
TDOMComment is a TDOMCharacterData descendant that implements the DOM Comment 
interface from the DOM specification. TDOMComment provides overridden methods 
needed to implement the NodeType and NodeName properties as required for the 
DOM Node specialization.
</p>
<p>
TDOMComment represents the textual content for a comment that appears between 
the '&lt;!--' and '--&gt;' delimiters. This is the definition for a comment 
as defined in the XML 1.0 specification and in HTML. The NodeValue can 
contain any values except the start and end delimiters for a comment.
</p>
</descr>
<seealso>
<link id="TDOMCharacterData"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMComment.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMComment.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMComment.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMComment.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMComment.CloneNode">
<short>Makes copy of the DOM Comment node.</short>
<descr>
<p>
<var>CloneNode</var> is a <var>TDOMNode</var> function used to create a copy 
or clone of the current DOM Comment node using the specified DOM Document as 
the owner of the new node. CloneNode calls the <var>CreateComment</var> 
method in the <var>ACloneOwner</var> argument to allocate and create the new 
<var>TDOMComment</var> instance, and store the character data in its Data 
property.
</p>
<p>
The value for the <var>deep</var> argument is not significant in the method; 
it is not used to clone a comment node.
</p>
</descr>
<seealso>
<link id="TDOMDocument.CreateComment"/>
<link id="TDOMCharacterData.Data"/>
<link id="TDOMNode.CloneNode"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMComment.CloneNode.Result">
<short>DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMComment.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMComment.CloneNode.ACloneOwner">
<short>DOM Document used to created the new DOM Comment node.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMCDATASection">
<short>
Implements the DOM CDataSection interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMCDATASection</var> is a <var>TDOMText</var> descendant that 
implements the DOM CDATASection interface from the DOM specification. 
TDOMCDATASection provides overridden methods needed to implement the NodeType 
and NodeName properties as required for the DOM Node specialization.
</p>
<p>
TDOMCDATASection is used to escape text that contains characters that would 
otherwise be regarded as markup in a DOM document. TDOMCDATASection contains 
the textual content as it appears between the '&lt;![CDATA[' and ']]&gt;' 
delimiters. Its primary purpose is to include material such as XML fragments, 
without needing to escape all of the markup.
</p>
<p>
Please note that Markup (other than the ending delimiter) is ignored in a 
CDATA section. This means that the ending delimiter cannot be included in a 
CDATA section. Character numeric entity references cannot be used to escape 
content in a CDATA section.
</p>
</descr>
<seealso>
<link id="TDOMText"/>
</seealso>
</element>

<!-- function Visibility: protected -->
<element name="TDOMCDATASection.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
GetNodeType is an overridden Integer function in <var>TDOMCDATASection</var>. 
It returns the value from the <var>CDATA_SECTION_NODE</var> constant as the 
property value.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.GetNodeType"/>
<link id="CDATA_SECTION_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCDATASection.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMCDATASection.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr>
<p>
<var>GetNodeName</var> is an overridden <var>DOMString</var> function in 
<var>TDOMCDATASection</var>. It returns <b>'#cdata-section'</b> as the 
property value.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.GetNodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCDATASection.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMCDATASection.CloneNode">
<short>Makes a copy of the DOM CDATA Section.</short>
<descr>
<p>
<var>CloneNode</var> is a <var>TDOMNode</var> function used to create a copy 
or clone of the current DOM CDATA section using the specified DOM Document as 
the owner of the new node. CloneNode calls the <var>CreateCDATASection</var> 
method in the <var>ACloneOwner</var> argument to allocate and create the new 
<var>TDOMCDATASection</var> instance with NodeValue from the current class 
instance.
</p>
<p>
The value for the <var>deep</var> argument is not significant in the method; 
it is not used to clone a CDATA node.
</p>
</descr>
<seealso>
<link id="TDOMNode.CloneNode"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMCDATASection.CloneNode.Result">
<short>DOM Node created with the value for the CDATA Section.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCDATASection.CloneNode.deep">
<short>Not used in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMCDATASection.CloneNode.ACloneOwner">
<short>DOM Document used to created the new DOM CDATA section node.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMDocumentType">
<short>
Implements the DOM DocumentType interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMDocumentType</var> is a <var>TDOMNode</var> descendant that 
implements the DOM DocumentType Interface from the DOM specification.
</p>
<p>
Each DOM Document has a <var>DocType</var> property whose value is either Nil 
or a TDOMDocumentType instance. It provides an interface to the list of 
entities and notations that are defined for the document, as well as the 
PublicID and SystemID for the external subset.
</p>
<p>
It is often referred to as a DTD (Document Type Definition).
</p>
</descr>
<seealso>
<link id="TDOMDocumentType.Entities"/>
<link id="TDOMDocumentType.Notations"/>
<link id="TDOMDocumentType.PublicID"/>
<link id="TDOMDocumentType.SystemID"/>
<link id="TDOMDocument.DocType"/>
<link id="TDOMNamedNodeMap"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMDocumentType.FName"/>
<element name="TDOMDocumentType.FPublicID"/>
<element name="TDOMDocumentType.FSystemID"/>
<element name="TDOMDocumentType.FInternalSubset"/>
<element name="TDOMDocumentType.FEntities"/>
<element name="TDOMDocumentType.FNotations"/>

<!-- function Visibility: protected -->
<element name="TDOMDocumentType.GetEntities">
<short>Gets the value for the Entities property.</short>
<descr>
<p>
Ensures that a <var>TDOMNamedNodeMap</var> instance using the 
<var>ENTITY_NODE</var> node type has been allocated for the 
<var>Entities</var> property.
</p>
</descr>
<seealso>
<link id="TDOMDocumentType.Entities"/>
<link id="TDOMNamedNodeMap"/>
<link id="ENTITY_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentType.GetEntities.Result">
<short>Value for the Entities property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocumentType.GetNotations">
<short>Gets the value for the Notations property.</short>
<descr>
<p>
Ensures that a <var>TDOMNamedNodeMap</var> instance using the 
<var>NOTATION_NODE</var> node type has been allocated for the 
<var>Notations</var> property.
</p>
</descr>
<seealso>
<link id="TDOMDocumentType.Notations"/>
<link id="TDOMNamedNodeMap"/>
<link id="NOTATION_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentType.GetNotations.Result">
<short>Value for the Notations property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocumentType.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
<var>GetNodeType</var> is an overridden Integer function in 
<var>TDOMDocumentType</var> used to get the value for the <var>NodeType</var> 
property. It returns the value in the <var>DOCUMENT_TYPE_NODE</var> constant 
as the property value.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.GetNodeType"/>
<link id="DOCUMENT_TYPE_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentType.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMDocumentType.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr>
<p>
<var>GetNodeName</var> is an overridden <var>DOMString</var> function in 
<var>TDOMDocumentType</var> used to get the value for the <var>NodeName</var> 
property. It returns the value in <var>Name</var> as the property value.
</p>
</descr>
<seealso>
<link id="TDOMDocumentType.Name"/>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.GetNodeName"/>
<link id="TDOMImplementation.CreateDocumentType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMDocumentType.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TDOMDocumentType.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It 
ensures that resources allocated for the <var>Entities</var> and 
<var>Notations</var> properties are freed. It calls the inherited destructor 
prior to exit.
</p>
</descr>
<seealso>
<link id="TDOMDocumentType.Entities"/>
<link id="TDOMDocumentType.Notations"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.Name">
<short>
Name for the Document Type declaration (used as the root element).
</short>
<descr>
<p>
<var>Name</var> is a read-only <var>DOMString</var> property which contains 
the name for the document type declaration. This is the value used as the 
root element in a document instance created using the DTD. Name is set to the 
qualified name provided when the class instance is created using the 
<var>CreateDocumentType</var> method in <var>TDOMImplementation</var>.
</p>
</descr>
<seealso>
<link id="TDOMImplementation.CreateDocumentType"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.Entities">
<short>Entities declared in the Document Type declaration.</short>
<descr>
<p>
<var>Entities</var> is a read-only <var>TDOMNamedNodeMap</var> property which 
contains the internal and external general entities declared in the DTD. It 
does not contain parameter entities.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap"/>
<link id="TXMLDocument.CreateEntityReference"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.Notations">
<short>Notations declared in the Document Type declaration.</short>
<descr>
<p>
<var>Notations</var> is a read-only <var>TDOMNamedNodeMap</var> property 
which contains the Notation declarations for the DTD. From the XML 1.0 
Specification:
</p>
<p>
<i>"Notations identify by name the format of unparsed entities, the format of 
elements which bear a notation attribute, or the application to which a 
processing instruction is addressed."</i>
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.PublicID">
<short>Public Identifier for the Document Type declaration.</short>
<descr>
<p>
<var>PublicID</var> is a read-only <var>DOMString</var> property which 
contains the public identifier for the external subset in the document type 
declaration. It contains the value passed as an argument to the 
CreateDocumentType method in TDOMImplementation, and stored in the new class 
instance.
</p>
<p>
PublicID was introduced in the SGML specifications (the predecessor of XML), 
and had an elaborate Formal Public Identifier format. For DOM and XML, the 
content has generally been simplified to an organization identifier and URL 
where the DTD is located. For example:
</p>
<code>
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

   or

  &lt;!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
    "http://www.oasis-open.org/docbook/xml/5.0/docbookx.dtd"&gt;
</code>
<p>
Use <var>SystemID</var> for the location on the local file system where the 
DTD is stored.
</p>
<remark>
PublicID and SystemID are not validated in the DOM implementation (unlike 
XML). Both (or neither) of the values can be specified. URLs or local file 
paths are not verified.
</remark>
</descr>
<seealso>
<link id="TDOMImplementation.CreateDocumentType"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.SystemID">
<short>System Identifier for the Document Type declaration.</short>
<descr>
<p>
<var>SystemID</var> is a read-only <var>DOMString</var> property which 
contains the path to the document type declaration on the local file system. 
Its value is assigned using the argument passed to the 
<var>CreateDocumentType</var> method in <var>TDOMImplementation</var>.
</p>
<p>
Use PublicID for the URL where the DTD is located.
</p>
<remark>
PublicID and SystemID are not validated in the DOM implementation (unlike 
XML). Both (or neither) of the values can be specified. URLs or local file 
paths are not verified.
</remark>
</descr>
<seealso>
<link id="TDOMImplementation.CreateDocumentType"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMDocumentType.InternalSubset">
<short>The internal subset for the Document Type declaration.</short>
<descr>
<p>
<var>InternalSubset</var> is a read-only DOMString property which contains 
the portion of the document type declaration declared inline instead of 
externally. For example:
</p>
<code>
&lt;!DOCTYPE person SYSTEM "name.dtd" [
&lt;!ELEMENT profession (#PCDATA)&gt;
&lt;!ELEMENT person (name, profession*)&gt;
]&gt;
</code>
<p>
This document type declaration declares the profession and person elements as 
an internal subset, but relies on the file name.dtd to contain the 
declaration of the name element. The part of the DTD between the '[' and ']' 
brackets is the internal subset.
</p>
</descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMNotation">
<short>
Implements the DOM Notation interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMNotation</var> is a <var>TDOMNode</var> descendant which implements 
the Notation interface from the DOM specification. It declares the name and 
format for an unparsed entity declared in a Document Type Declaration (DTD). 
It can also be used to set the target for a processing instruction that 
handles the notation. Notations are a vestige of the older SGML standard, and 
provided for migration purposes. They are seldom used (if at all) in modern 
XML processing implementations.
</p>
</descr>
<seealso>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMNotation.FName"/>
<element name="TDOMNotation.FPublicID"/>
<element name="TDOMNotation.FSystemID"/>

<!-- function Visibility: protected -->
<element name="TDOMNotation.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNotation.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMNotation.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNotation.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMNotation.CloneNode">
<short>Makes a copy of the DOM Node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMNotation.CloneNode.Result">
<short>DOM Node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNotation.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMNotation.CloneNode.ACloneOwner">
<short>Document which owns the cloned notation node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMNotation.PublicID">
<short>Public Identifier for the Document Type declaration.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMNotation.SystemID">
<short>System Identifier for the Document Type declaration.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMEntity">
<short>Implements the DOM Entity interface from the DOM specification.</short>
<descr>
<p>
TDOMEntity is a TDOMNode_WithChildren descendant which implements the Entity 
interface from the DOM specifications. An Entity is declared as part of a 
Document Type Declaration (DTD), and can be either parsed or unparsed in the 
content model. The following is an example of internal and external Entity 
declarations:
</p>
<code>
  &lt;!ENTITY copyrightholder "ACME Corporation"&gt;
  &lt;!ENTITY copyrightholder PUBLIC "https://www.w3c.org/entities.dtd"&gt;
  &lt;!ENTITY copyrightholder SYSTEM  "/path/to/entities.dtd"&gt;
  &lt;!-- Usage: --&gt;
  &lt;COPYRIGHT&gt; 1999-2021, &amp;copyrightholder;. All rights reserved.
  &lt;/COPYRIGHT&gt;
</code>
<p>
TDOMEntity provides the Name (NodeName), PublicID or SystemID, and 
NotationName (when used) properties used to represent the entity declaration.
</p>
</descr>
<seealso>
<link id="TDOMNode_WithChildren"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMEntity.FName"/>
<element name="TDOMEntity.FPublicID"/>
<element name="TDOMEntity.FSystemID"/>
<element name="TDOMEntity.FNotationName"/>

<!-- function Visibility: protected -->
<element name="TDOMEntity.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr>
<p>
Returns <var>ENTITY_NODE</var> as the property value.
</p>
</descr>
<seealso>
<link id="TDOMNode.NodeType"/>
<link id="TDOMNode.GetNodeType"/>
<link id="ENTITY_NODE"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntity.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMEntity.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeName"/>
<link id="TDOMNode.GetNodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntity.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMEntity.CloneNode">
<short>Makes a copy of the DOM node with the specified owner document.</short>
<descr>
<p>
<var>CloneNode</var> is an overridden <var>TDOMNode</var> function in 
<var>TDOMEntity</var> used to make a copy of the node with 
<var>ACloneOwner</var> as the owner document for the new node. It 
re-implements the method from the ancestor class.
</p>
<p>
CloneNode allocates a new TDOMEntity instance in the node pool for 
ACloneOwner, and creates the DOM Entity node in the return value. Values from 
the <var>PublicID</var>, <var>SystemID</var>, and <var>NotationName</var> 
properties are copied to the new node. The internal name for the Entity (set 
when the owner document was de-serialized) is also copied to the new node. 
When deep is <b>True</b>, the <var>CloneChildren</var> method is called to 
copy the <var>ChildNodes</var> (when assigned) to the new node.
</p>
<p>
CloneNode calls <var>SetReadOnly</var> to ensure that the new node cannot be 
modified. The cloned node does not have a parent node.
</p>
</descr>
<seealso>
<link id="TDOMEntity.PublicID"/>
<link id="TDOMEntity.SystemID"/>
<link id="TDOMEntity.NotationName"/>
<link id="TDOMNode.SetReadOnly"/>
<link id="TDOMNode_WithChildren.CloneChildren"/>
<link id="TDOMNode.ChildNodes"/>
<link id="TDOMDocument.Alloc"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntity.CloneNode.Result">
<short>DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMEntity.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMEntity.CloneNode.aCloneOwner">
<short>Document which owns the clones Entity node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMEntity.PublicID">
<short>Public Identifier for the Entity.</short>
<descr>
<p>
Can contain a URL where the DTD with the entity declaration is located on the 
internet. It can contain the Formal Public Identifier notation used in 
SGML/XML.
</p>
</descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMEntity.SystemID">
<short>System Identifier for the Entity.</short>
<descr>
<p>
Can contain a path to the DTD with the entity declaration on the local file 
system.
</p>
</descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMEntity.NotationName">
<short>Notation name for the Entity.</short>
<descr>
<p>
Can contain the DOM Notation name used for the Entity. This is seldom used in 
modern XML processors.
</p>
</descr>
<seealso></seealso>
</element>

<!-- class Visibility: default -->
<element name="TDOMEntityReference">
<short>
Implements the DOM EntityReference interface from the DOM specification.
</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMEntityReference.FName"/>

<!-- function Visibility: protected -->
<element name="TDOMEntityReference.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntityReference.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMEntityReference.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntityReference.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMEntityReference.CloneNode">
<short>Makes a copy of the DOM Entity Reference node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMEntityReference.CloneNode.Result">
<short>New DOM node created in the owner document.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMEntityReference.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMEntityReference.CloneNode.ACloneOwner">
<short>Document which owns the cloned entity reference node.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMProcessingInstruction">
<short>
Implements the DOM ProcessingInstruction interface from the DOM specification.
</short>
<descr>
<p>
<var>TDOMProcessingInstruction</var> is a <var>TDOMNode</var> descendant that 
implements the DOM ProcessingInstruction Interface from the DOM 
specification. TDOMProcessingInstruction provides access to an XML 
Processor-specific instruction that occurs in a DOM Document.
</p>
<p>
TDOMProcessingInstruction provides overridden methods used as the read and 
write access specifiers for the DOM Node specialization. It also contains 
properties needed to represent the Target and Data for the DOM 
ProcessingInstruction.
</p>
</descr>
<seealso>
<link id="TDOMProcessingInstruction.Target"/>
<link id="TDOMProcessingInstruction.Data"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: private -->
<element name="TDOMProcessingInstruction.FTarget" link="#lazutils.laz2_dom.TDOMProcessingInstruction.Target"/>
<element name="TDOMProcessingInstruction.FNodeValue" link="#lazutils.laz2_dom.TDOMProcessingInstruction.Data"/>

<!-- function Visibility: protected -->
<element name="TDOMProcessingInstruction.GetNodeType">
<short>Gets the value for the NodeType property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeType"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMProcessingInstruction.GetNodeType.Result">
<short>Value for the NodeType property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMProcessingInstruction.GetNodeName">
<short>Gets the value for the NodeName property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeName"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMProcessingInstruction.GetNodeName.Result">
<short>Value for the NodeName property.</short>
</element>

<!-- function Visibility: protected -->
<element name="TDOMProcessingInstruction.GetNodeValue">
<short>Gets the value for the NodeValue property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMProcessingInstruction.GetNodeValue.Result">
<short>Value for the NodeValue property.</short>
</element>

<!-- procedure Visibility: protected -->
<element name="TDOMProcessingInstruction.SetNodeValue">
<short>Sets the value for the NodeValue property.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.NodeValue"/>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TDOMProcessingInstruction.SetNodeValue.AValue">
<short>New value for the NodeValue property.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMProcessingInstruction.CloneNode">
<short>Makes a copy of the DOM Node.</short>
<descr></descr>
<seealso>
<link id="TDOMNode.CloneNode"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMProcessingInstruction.CloneNode.Result">
<short>DOM Node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMProcessingInstruction.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMProcessingInstruction.CloneNode.ACloneOwner">
<short>Document which owns the cloned processing instruction node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMProcessingInstruction.Target">
<short>Represent the Target for the DOM ProcessingInstruction node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMProcessingInstruction.Data">
<short>Contains the Data for the DOM ProcessingInstruction node.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- enumeration type Visibility: default -->
<element name="TAttrDefault">
<short>
Enumerated type with methods for getting the attribute node value.
</short>
<descr>
<p>
<var>TAttrDefault</var> is an enumerated type with values which indicates how 
the value for a default attribute node was specified. TAttrDefault is the 
type used to implement the <var>Default</var> property in 
<var>TDOMAttrDef</var>.
</p>
</descr>
<seealso>
<link id="TDOMAttr"/>
<link id="TDOMDocument.CreateAttributeDef"/>
<link id="TDOMNamedNodeMap.RestoreDefault"/>
<link id="TDOMElement.AttachDefaultAttrs"/>
</seealso>
</element>
<element name="TAttrDefault.adImplied">
<short>Attribute value is implied.</short>
</element>
<element name="TAttrDefault.adDefault">
<short>Attribute value is the default.</short>
</element>
<element name="TAttrDefault.adRequired">
<short>Attribute value is required.</short>
</element>
<element name="TAttrDefault.adFixed">
<short>Attribute value is fixed.</short>
</element>

<!-- class Visibility: default -->
<element name="TDOMAttrDef">
<short>
Implements the default attribute node introduced in DOM Level 2.
</short>
<descr>
<p>
<var>TDOMAttrDef</var> is a <var>TDOMAttr</var> descendant which implements 
the default attribute node as specified in the DOM Level 2 specification. A 
default attribute is associated with an Element of a given type in a Document 
Type Declaration (whether internal or external). It can have a value which is 
either explicitly specified, implied from the DTD, or fixed to given value. 
Its value can also be limited to only those values specified in the attribute 
definition.
</p>
<p>
TDOMAttrDef is the type returned from the 
<var>TDOMDocument.CreateAttributeDef</var> method. It is also used to update 
attribute value for an Element in methods like: 
<var>TDOMNamedNodeMap.RestoreDefault</var> and 
<var>TDOMElement.AttachDefaultAttrs</var>.
</p>
</descr>
<seealso>
<link id="TDOMDocument.CreateAttributeDef"/>
<link id="TDOMNamedNodeMap.RestoreDefault"/>
<link id="TDOMElement.AttachDefaultAttrs"/>
</seealso>
</element>

<!-- variable Visibility: protected -->
<element name="TDOMAttrDef.FExternallyDeclared"/>
<element name="TDOMAttrDef.FDefault"/>
<element name="TDOMAttrDef.FTag"/>
<element name="TDOMAttrDef.FEnumeration"/>

<!-- function Visibility: public -->
<element name="TDOMAttrDef.AddEnumToken">
<short>
Adds the specified value to the allowed values for the attribute node.
</short>
<descr>
<p>
Checks existing values in the enumeration to prevent duplicates. The return 
value is <b>False</b> if <var>Buf</var> already exists in the enumeration.
</p>
</descr>
<seealso/>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttrDef.AddEnumToken.Result">
<short><b>True</b> if the value was successfully added in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttrDef.AddEnumToken.Buf">
<short>DOMPChar value added to the enumeration.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttrDef.AddEnumToken.Len">
<short>Length of the value in Buf.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMAttrDef.HasEnumToken">
<short>
Checks whether the specified value is one of the allowed values for the 
attribute.
</short>
<descr/>
<seealso/>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttrDef.HasEnumToken.Result">
<short>
<b>True</b> if the specified value exists the enumeration values.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttrDef.HasEnumToken.aValue">
<short>Value to locate in the enumeration.</short>
</element>

<!-- function Visibility: public -->
<element name="TDOMAttrDef.CloneNode">
<short>
Makes a copy of the attribute node with the specified owner document.
</short>
<descr>
<p>
<var>CloneNode</var> is an overloaded, overridden method in 
<var>TDOMAttrDef</var> used to make a copy of the default attribute node 
using the specified owner document. CloneNode calls the inherited method on 
entry, and ensures that the node <var>Flags</var> include the value 
<var>nfSpecified</var>.
</p>
</descr>
<seealso>
<link id="TDOMAttr.CloneNode"/>
<link id="TDOMAttr.Specified"/>
<link id="TDOMNode.Flags"/>
<link id="TNodeFlagEnum"/>
</seealso>
</element>

<!-- function result Visibility: default -->
<element name="TDOMAttrDef.CloneNode.Result">
<short>DOM node created in the method.</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttrDef.CloneNode.deep">
<short>
<b>True</b> if child nodes are recursively copied in the method.
</short>
</element>

<!-- argument Visibility: default -->
<element name="TDOMAttrDef.CloneNode.ACloneOwner">
<short>Document which owns the cloned DOM node.</short>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttrDef.Default">
<short>Indicates the origin of the value in the attribute node.</short>
<descr>
<p>
Default is a TAttrDefault property which indicates how the NodeValue for the 
attribute node was derived. It contains a value from the TAttrDefault 
enumeration, and allows values like:
</p>
<dl>
<dt>adImplied</dt>
<dd>Attribute value is implied in a DTD.</dd>
<dt>adDefault</dt>
<dd>Attribute value is the default value from the DTD.</dd>
<dt>adRequired</dt>
<dd>An Attribute value is required.</dd>
<dt>adFixed</dt>
<dd>Attribute has a fixed value provided in the DTD.</dd>
</dl>
<p>
The property value is used in methods like 
<var>TDOMNamedNodeMap.RestoreDefault</var> and 
<var>TDOMElement.AttachDefaultAttrs</var>.
</p>
</descr>
<seealso>
<link id="TDOMNamedNodeMap.RestoreDefault"/>
<link id="TDOMElement.AttachDefaultAttrs"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttrDef.ExternallyDeclared">
<short>
Indicates if the attribute was declared in an external subset of the DTD.
</short>
<descr>
<p>
<var>ExternallyDeclared</var> is a <var>Boolean</var> property which 
indicates if the attribute is declared in an external subset of the DTD in 
the owner document.
</p>
</descr>
<seealso></seealso>
</element>

<!-- property Visibility: public -->
<element name="TDOMAttrDef.Tag">
<short>
Utility property provided for general use.
</short>
<descr>
<p>
<var>Tag</var> is a <var>Cardinal</var> property.
</p>
</descr>
<seealso/>
</element>

<!-- pointer type Visibility: default -->
<element name="PExtent">
<short>Pointer to a TExtent type.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- record type Visibility: default -->
<element name="TExtent">
<short>
Record type with a pointer to its extent, followed by an array TDOMNode 
instances.
</short>
<descr></descr>
<seealso>
<link id="PExtent"/>
<link id="TNodePool.Create"/>
<link id="TNodePool.Destroy"/>
<link id="TNodePool.AllocNode"/>
</seealso>
</element>

<!-- variable Visibility: default -->
<element name="TExtent.Next">
<short>Pointer to the next extent in a Node pool.</short>
<descr></descr>
<seealso>
<link id="TNodePool.Destroy"/>
<link id="PExtent"/>
<link id="TExtent"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TNodePool">
<short>Provides custom memory management when DOM Nodes are created.</short>
<descr>
<p>
<var>TNodePool</var> is a class used to provide custom memory management when 
DOM nodes are created in a DOM document. Each TNodePool instance manages 
objects with the same instance size (and may be a different class types). 
TDOMDocument provides an internal array of TNodePool instances that are 
maintained when DOM nodes are created in its Alloc method.
</p>
</descr>
<seealso>
<link id="TNodePoolArray"/>
<link id="TDOMDocument.Alloc"/>
<link id="TDOMNode"/>
</seealso>
</element>

<!-- variable Visibility: private -->
<element name="TNodePool.FCurrExtent"/>
<element name="TNodePool.FCurrExtentSize"/>
<element name="TNodePool.FElementSize"/>
<element name="TNodePool.FCurrBlock"/>
<element name="TNodePool.FFirstFree"/>

<!-- procedure Visibility: private -->
<element name="TNodePool.AddExtent">
<short>
Allocates a new extent with the specified number of storage slots.
</short>
<descr>
<errors>
<p>
Raises an <var>EAssertionFailed</var> exception for the following conditions:
</p>
<ul>
<li>The current extent does not have any allocated storage.</li>
<li>
The array of node instances exceeds the available size for the current extent.
</li>
<li>The element count argument is zero (<b>0</b>).</li>
</ul>
<p>
Calls <var>GetMem</var> to reserve the amount storage indicated by the 
<var>AElemCount</var> argument and the element size specified in the 
constructor. AddExtent switches the node pool to the newly allocated extent 
prior to exiting from the method.
</p>
</errors>
</descr>
<seealso>
<link id="TNodePool.Create"/>
<link id="#rtl.system.GetMem">GetMem</link>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TNodePool.AddExtent.AElemCount">
<short>Number of storage slots to reserve in the new extent.</short>
</element>

<!-- constructor Visibility: public -->
<element name="TNodePool.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
Allocates an extent with the specified number of entries when the node pool 
is created.
</p>
</descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TNodePool.Create.AElementSize">
<short>Size for the class instances stored in the node pool.</short>
</element>

<!-- argument Visibility: default -->
<element name="TNodePool.Create.AElementCount">
<short>Number of storage slots for nodes in the node pool.</short>
</element>

<!-- destructor Visibility: public -->
<element name="TNodePool.Destroy">
<short>Destructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function Visibility: public -->
<element name="TNodePool.AllocNode">
<short>Creates a new DOM node instance and stores it in the node pool.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- function result Visibility: default -->
<element name="TNodePool.AllocNode.Result">
<short>DOM node instance created and stored in the node pool.</short>
</element>

<!-- argument Visibility: default -->
<element name="TNodePool.AllocNode.AClass">
<short>Class reference used to create the DOM node instance.</short>
</element>

<!-- procedure Visibility: public -->
<element name="TNodePool.FreeNode">
<short>Frees the specified DOM node and removes it from the node pool.</short>
<descr></descr>
<seealso></seealso>
</element>

<!-- argument Visibility: default -->
<element name="TNodePool.FreeNode.ANode">
<short>DOM node freed and de-allocated from the node pool.</short>
</element>

<!-- pointer type Visibility: default -->
<element name="PNodePoolArray">
<short>Pointer to a TNodePoolArray instance.</short>
<descr>
<p>
<var>PNodePoolArray</var> is a <var>Pointer</var> to the 
<var>TNodePoolArray</var> type. It is used to implement the internal node 
pools in <var>TDOMDocument</var>.
</p>
</descr>
<seealso>
<link id="TNodePoolArray"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- array type Visibility: default -->
<element name="TNodePoolArray">
<short>Implements an array of TNodePool instances.</short>
<short>Specifies an array of TNodePool instances.</short>
<descr>
<p>
<var>TNodePoolArray</var> is an array type which contains 
<var>TNodePool</var> instances in its elements. The number of elements in the 
array is defined using:
</p>
<code>
MaxInt div SizeOf(Pointer)-1
</code>
<p>
A <var>Pointer</var> to <var>TNodePoolArray</var> is the type used to 
implement the internal node pools in <var>TDOMDocument</var>.
</p>
</descr>
<seealso>
<link id="TNodePool"/>
<link id="PNodePoolArray"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- constant Visibility: default -->
<element name="stduri_xml">
<short>Namespace URI for the xml prefix.</short>
<descr>
<p>
<var>stduri_xml</var> is a <var>DOMString</var> constant that contains the 
Namespace URI bound to the <b>xml</b> Namespace prefix. stduri_xml and 
stduri_xmlns are used to set the default Namespaces prefixes and URIs in 
TDOMDocument:
</p>
<table>
<tr>
<td><b>Prefix</b></td>
<td><b>Namespace URI</b></td>
</tr>
<tr>
<td>xml</td>
<td>http://www.w3.org/XML/1998/namespace</td>
</tr>
<tr>
<td>xmlns</td>
<td>http://www.w3.org/2000/xmlns/</td>
</tr>
</table>
</descr>
<seealso>
<link id="stduri_xmlns"/>
<link id="TNamespaces"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<!-- constant Visibility: default -->
<element name="stduri_xmlns">
<short>Namespace URI for the xmlns prefix.</short>
<descr>
<p>
<var>stduri_xmlns</var> is a <var>DOMString</var> constant that contains the 
Namespace URI bound to the <b>xmlns</b> Namespace prefix. stduri_xml and 
stduri_xmlns are used to set the default Namespaces prefixes and URIs in 
TDOMDocument:
</p>
<table>
<tr>
<td><b>Prefix</b></td>
<td><b>Namespace URI</b></td>
</tr>
<tr>
<td>xml</td>
<td>http://www.w3.org/XML/1998/namespace</td>
</tr>
<tr>
<td>xmlns</td>
<td>http://www.w3.org/2000/xmlns/</td>
</tr>
</table>
</descr>
<seealso>
<link id="stduri_xml"/>
<link id="TNamespaces"/>
<link id="TDOMDocument"/>
</seealso>
</element>

<element name="StrToXMLValue">
<short>Converts a string to it representation as XML character data.</short>
<descr>
<p>
<var>StrToXMLValue</var> is a <var>String</var> function used to convert the 
value in s to its representation as valid XML character data. The XML 
specification has five "predefined entities" that represent special 
characters. StrToXMLValue ensures that any of these characters in s are 
converted to their representation as a Character Entity, including:
</p>
<table>
<tr>
<td><b>Character</b></td>
<td><b>Entity Name</b></td>
<td><b>Unicode Codepoint</b></td>
<td><b>Description</b></td>
</tr>
<tr>
<td>&amp;quot;</td>
<td>&quot;</td>
<td>U+0022 (Decimal 34)</td>
<td>Double quotation Mark</td>
</tr>
<tr>
<td>&amp;amp;</td>
<td>&amp;</td>
<td>U+0026 (Decimal 38)</td>
<td>Ampersand</td>
</tr>
<tr>
<td>&amp;apos;</td>
<td>&apos;</td>
<td>U+0027 (Decimal 39)</td>
<td>Apostrophe (Apostrophe-Quote)</td>
</tr>
<tr>
<td>&amp;lt;</td>
<td>&lt;</td>
<td>U+003C (Decimal 60)</td>
<td>Less-than</td>
</tr>
<tr>
<td>&amp;gt;</td>
<td>&gt;</td>
<td>U+003E (Decimal 62)</td>
<td>Greater-than</td>
</tr>
</table>
<p>
StrToXMLValue also ensures that any NULL character values (Decimal 0) in s 
are removed.
</p>
<p>
No actions are performed in the method when s is an empty string (<b>''</b>).
</p>
<p>
Use XMLValueToStr to convert XML character data to its representation as a 
String data type.
</p>
</descr>
<seealso>
<link id="XMLValueToStr">XMLValueToStr</link>
</seealso>
</element>
<element name="StrToXMLValue.Result">
<short>XML character data for the specified value.</short>
</element>
<element name="StrToXMLValue.s">
<short>Values to convert to XML character data.</short>
</element>

<element name="XMLValueToStr">
<short>
Converts XML character data to its representation as a string value.
</short>
<descr>
<p>
<var>XMLValueToStr</var> is a <var>String</var> function used to convert the 
XML character data in s to its representation as a string data type. The XML 
specification has five "predefined entities" that represent special 
characters. XMLValueToStr ensures that any of these character entities in s 
are converted to their plain string representation, including:
</p>
<table>
<tr>
<td><b>Character</b></td>
<td><b>Entity Name</b></td>
<td><b>Unicode Codepoint</b></td>
<td><b>Description</b></td>
</tr>
<tr>
<td>&amp;quot;</td>
<td>&quot;</td>
<td>U+0022 (Decimal 34)</td>
<td>Double quotation Mark</td>
</tr>
<tr>
<td>&amp;amp;</td>
<td>&amp;</td>
<td>U+0026 (Decimal 38)</td>
<td>Ampersand</td>
</tr>
<tr>
<td>&amp;apos;</td>
<td>&apos;</td>
<td>U+0027 (Decimal 39)</td>
<td>Apostrophe (Apostrophe-Quote)</td>
</tr>
<tr>
<td>&amp;lt;</td>
<td>&lt;</td>
<td>U+003C (Decimal 60)</td>
<td>Less-than</td>
</tr>
<tr>
<td>&amp;gt;</td>
<td>&gt;</td>
<td>U+003E (Decimal 62)</td>
<td>Greater-than</td>
</tr>
</table>
<p>
XMLValueToStr also ensures that any NULL character values (Decimal 0) in s 
are removed.
</p>
<p>
No actions are performed in the method when s is an empty string (<b>''</b>).
</p>
<p>
Use StrToXMLValue to convert a string data type to its representation as XML 
character data.
</p>
</descr>
<seealso>
<link id="StrToXMLValue">StrToXMLValue</link>
</seealso>
</element>
<element name="XMLValueToStr.Result">
<short>Plain string representation for the XML character data.</short>
</element>
<element name="XMLValueToStr.s">
<short>XML character data to convert in the method.</short>
</element>

<element name="EncodeLesserAndGreaterThan">
<short>Converts instance of the reserved characters.</short>
<descr>
<p>
<var>EncodeLesserAndGreaterThan</var> is a <var>String</var> function used to 
convert instances of the reserved characters in s. EncodeLesserAndGreaterThan 
is similar to StrToXMLValue, but handles only the '&lt;' and '&gt;' 
characters, or <b>NULL</b> (<b>Decimal 0</b>) byte values in the string. No 
actions are performed in the routine when s is an empty string (<b>''</b>). 
The return value reflects the string value after conversion.
</p>
</descr>
<seealso>
<link id="StrToXMLValue">StrToXMLValue</link>
</seealso>
</element>
<element name="EncodeLesserAndGreaterThan.Result">
<short>Converted values from the function.</short>
</element>
<element name="EncodeLesserAndGreaterThan.s">
<short>Values to convert in the routine.</short>
</element>

<element name="TFPList">
<short>Alias for the TList type.</short>
<descr>
<p>
Implemented when the symbol <b>fpc</b> has not been defined.
</p>
</descr>
</element>

</module>
<!-- laz2_DOM -->
</package>
</fpdoc-descriptions>