This file is indexed.

/usr/share/doc/libjuce/apiref/classXmlElement.html is in libjuce-doc 4.3.0~repack-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: XmlElement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JUCE
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classXmlElement-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">XmlElement Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Used to build a tree of elements representing an XML document.  
 <a href="classXmlElement.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3a8f5f328633c9ec5f0348651b0d2c23"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a3a8f5f328633c9ec5f0348651b0d2c23">XmlElement</a> (const <a class="el" href="classString.html">String</a> &amp;tagName)</td></tr>
<tr class="memdesc:a3a8f5f328633c9ec5f0348651b0d2c23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name.  <a href="#a3a8f5f328633c9ec5f0348651b0d2c23">More...</a><br /></td></tr>
<tr class="separator:a3a8f5f328633c9ec5f0348651b0d2c23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae219dda5c0411eb558592e996567b74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aae219dda5c0411eb558592e996567b74">XmlElement</a> (const char *tagName)</td></tr>
<tr class="memdesc:aae219dda5c0411eb558592e996567b74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name.  <a href="#aae219dda5c0411eb558592e996567b74">More...</a><br /></td></tr>
<tr class="separator:aae219dda5c0411eb558592e996567b74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649430da34dccaa98c0527747d0ddb36"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a649430da34dccaa98c0527747d0ddb36">XmlElement</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &amp;tagName)</td></tr>
<tr class="memdesc:a649430da34dccaa98c0527747d0ddb36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name.  <a href="#a649430da34dccaa98c0527747d0ddb36">More...</a><br /></td></tr>
<tr class="separator:a649430da34dccaa98c0527747d0ddb36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeece56bb7c3754e62b85ba1f4c702e3e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aeece56bb7c3754e62b85ba1f4c702e3e">XmlElement</a> (<a class="el" href="classStringRef.html">StringRef</a> tagName)</td></tr>
<tr class="memdesc:aeece56bb7c3754e62b85ba1f4c702e3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name.  <a href="#aeece56bb7c3754e62b85ba1f4c702e3e">More...</a><br /></td></tr>
<tr class="separator:aeece56bb7c3754e62b85ba1f4c702e3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af496514d389fa99aec13605725a028b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#af496514d389fa99aec13605725a028b0">XmlElement</a> (<a class="el" href="classString.html#a32e28d7fc3a4900c319884191d90dbf0">String::CharPointerType</a> tagNameBegin, <a class="el" href="classString.html#a32e28d7fc3a4900c319884191d90dbf0">String::CharPointerType</a> tagNameEnd)</td></tr>
<tr class="memdesc:af496514d389fa99aec13605725a028b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name.  <a href="#af496514d389fa99aec13605725a028b0">More...</a><br /></td></tr>
<tr class="separator:af496514d389fa99aec13605725a028b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a604980b35f37a37c635fd606ebe25682"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a604980b35f37a37c635fd606ebe25682">XmlElement</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> &amp;)</td></tr>
<tr class="memdesc:a604980b35f37a37c635fd606ebe25682"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a (deep) copy of another element.  <a href="#a604980b35f37a37c635fd606ebe25682">More...</a><br /></td></tr>
<tr class="separator:a604980b35f37a37c635fd606ebe25682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d2e9b40ed58be8da92502a67281cb56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a1d2e9b40ed58be8da92502a67281cb56">operator=</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> &amp;)</td></tr>
<tr class="memdesc:a1d2e9b40ed58be8da92502a67281cb56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a (deep) copy of another element.  <a href="#a1d2e9b40ed58be8da92502a67281cb56">More...</a><br /></td></tr>
<tr class="separator:a1d2e9b40ed58be8da92502a67281cb56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23c46e9d48743726322323d03a768a4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ac23c46e9d48743726322323d03a768a4">XmlElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> &amp;&amp;) noexcept</td></tr>
<tr class="separator:ac23c46e9d48743726322323d03a768a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ab771486a0d289bdcd93798a6b87f0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a7ab771486a0d289bdcd93798a6b87f0c">operator=</a> (<a class="el" href="classXmlElement.html">XmlElement</a> &amp;&amp;) noexcept</td></tr>
<tr class="separator:a7ab771486a0d289bdcd93798a6b87f0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d66d0ced63876ca8d1aecfd2cd7ef9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a07d66d0ced63876ca8d1aecfd2cd7ef9">~XmlElement</a> () noexcept</td></tr>
<tr class="memdesc:a07d66d0ced63876ca8d1aecfd2cd7ef9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deleting an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> will also delete all of its child elements.  <a href="#a07d66d0ced63876ca8d1aecfd2cd7ef9">More...</a><br /></td></tr>
<tr class="separator:a07d66d0ced63876ca8d1aecfd2cd7ef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac970d556bc59579feb6e1b0035240c8d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ac970d556bc59579feb6e1b0035240c8d">isEquivalentTo</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> *other, bool ignoreOrderOfAttributes) const noexcept</td></tr>
<tr class="memdesc:ac970d556bc59579feb6e1b0035240c8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two XmlElements to see if they contain the same text and attiributes.  <a href="#ac970d556bc59579feb6e1b0035240c8d">More...</a><br /></td></tr>
<tr class="separator:ac970d556bc59579feb6e1b0035240c8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a55313aba630bc87deb927375f06cff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4a55313aba630bc87deb927375f06cff">createDocument</a> (<a class="el" href="classStringRef.html">StringRef</a> dtdToUse, bool allOnOneLine=false, bool includeXmlHeader=true, <a class="el" href="classStringRef.html">StringRef</a> encodingType=&quot;UTF-8&quot;, int lineWrapLength=60) const</td></tr>
<tr class="memdesc:a4a55313aba630bc87deb927375f06cff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an XML text document that represents this element.  <a href="#a4a55313aba630bc87deb927375f06cff">More...</a><br /></td></tr>
<tr class="separator:a4a55313aba630bc87deb927375f06cff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb0dbdeb429480f5f073b46558f5f55f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aeb0dbdeb429480f5f073b46558f5f55f">writeToStream</a> (<a class="el" href="classOutputStream.html">OutputStream</a> &amp;output, <a class="el" href="classStringRef.html">StringRef</a> dtdToUse, bool allOnOneLine=false, bool includeXmlHeader=true, <a class="el" href="classStringRef.html">StringRef</a> encodingType=&quot;UTF-8&quot;, int lineWrapLength=60) const</td></tr>
<tr class="memdesc:aeb0dbdeb429480f5f073b46558f5f55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the document to a stream as UTF-8.  <a href="#aeb0dbdeb429480f5f073b46558f5f55f">More...</a><br /></td></tr>
<tr class="separator:aeb0dbdeb429480f5f073b46558f5f55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9fafc3733f64e74d3c11068e4d3a541"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aa9fafc3733f64e74d3c11068e4d3a541">writeToFile</a> (const <a class="el" href="classFile.html">File</a> &amp;destinationFile, <a class="el" href="classStringRef.html">StringRef</a> dtdToUse, <a class="el" href="classStringRef.html">StringRef</a> encodingType=&quot;UTF-8&quot;, int lineWrapLength=60) const</td></tr>
<tr class="memdesc:aa9fafc3733f64e74d3c11068e4d3a541"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the element to a file as an XML document.  <a href="#aa9fafc3733f64e74d3c11068e4d3a541">More...</a><br /></td></tr>
<tr class="separator:aa9fafc3733f64e74d3c11068e4d3a541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42763c064fcc57c24f0a4ec3c7de7b5c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a42763c064fcc57c24f0a4ec3c7de7b5c">getTagName</a> () const noexcept</td></tr>
<tr class="memdesc:a42763c064fcc57c24f0a4ec3c7de7b5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this element's tag type name.  <a href="#a42763c064fcc57c24f0a4ec3c7de7b5c">More...</a><br /></td></tr>
<tr class="separator:a42763c064fcc57c24f0a4ec3c7de7b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a836f5736c59778b642cfa13baa35f86c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a836f5736c59778b642cfa13baa35f86c">getNamespace</a> () const</td></tr>
<tr class="memdesc:a836f5736c59778b642cfa13baa35f86c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the namespace portion of the tag-name, or an empty string if none is specified.  <a href="#a836f5736c59778b642cfa13baa35f86c">More...</a><br /></td></tr>
<tr class="separator:a836f5736c59778b642cfa13baa35f86c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc073c7bbd59333a2e73c7ebf482f06b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#adc073c7bbd59333a2e73c7ebf482f06b">getTagNameWithoutNamespace</a> () const</td></tr>
<tr class="memdesc:adc073c7bbd59333a2e73c7ebf482f06b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the part of the tag-name that follows any namespace declaration.  <a href="#adc073c7bbd59333a2e73c7ebf482f06b">More...</a><br /></td></tr>
<tr class="separator:adc073c7bbd59333a2e73c7ebf482f06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac50bc4ce0db92b84baf4baf1b9c4de1d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ac50bc4ce0db92b84baf4baf1b9c4de1d">hasTagName</a> (<a class="el" href="classStringRef.html">StringRef</a> possibleTagName) const noexcept</td></tr>
<tr class="memdesc:ac50bc4ce0db92b84baf4baf1b9c4de1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether this element has a particular tag name.  <a href="#ac50bc4ce0db92b84baf4baf1b9c4de1d">More...</a><br /></td></tr>
<tr class="separator:ac50bc4ce0db92b84baf4baf1b9c4de1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf184f1ddfb5cbec32f20b9adefb4c7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#abcf184f1ddfb5cbec32f20b9adefb4c7">hasTagNameIgnoringNamespace</a> (<a class="el" href="classStringRef.html">StringRef</a> possibleTagName) const</td></tr>
<tr class="memdesc:abcf184f1ddfb5cbec32f20b9adefb4c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether this element has a particular tag name, ignoring any XML namespace prefix.  <a href="#abcf184f1ddfb5cbec32f20b9adefb4c7">More...</a><br /></td></tr>
<tr class="separator:abcf184f1ddfb5cbec32f20b9adefb4c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded3baadd37f11ed7d60a44954c7ae95"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aded3baadd37f11ed7d60a44954c7ae95">getNumAttributes</a> () const noexcept</td></tr>
<tr class="memdesc:aded3baadd37f11ed7d60a44954c7ae95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of XML attributes this element contains.  <a href="#aded3baadd37f11ed7d60a44954c7ae95">More...</a><br /></td></tr>
<tr class="separator:aded3baadd37f11ed7d60a44954c7ae95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac11bcda22a4f9715095f9cef47139df0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ac11bcda22a4f9715095f9cef47139df0">getAttributeName</a> (int attributeIndex) const noexcept</td></tr>
<tr class="memdesc:ac11bcda22a4f9715095f9cef47139df0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of one of the elements attributes.  <a href="#ac11bcda22a4f9715095f9cef47139df0">More...</a><br /></td></tr>
<tr class="separator:ac11bcda22a4f9715095f9cef47139df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c61f83b2e6bf7b9bafbb29659d0dda0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a1c61f83b2e6bf7b9bafbb29659d0dda0">getAttributeValue</a> (int attributeIndex) const noexcept</td></tr>
<tr class="memdesc:a1c61f83b2e6bf7b9bafbb29659d0dda0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of one of the elements attributes.  <a href="#a1c61f83b2e6bf7b9bafbb29659d0dda0">More...</a><br /></td></tr>
<tr class="separator:a1c61f83b2e6bf7b9bafbb29659d0dda0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a261f32c557ef6c15b20ebe622ed8aec1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a261f32c557ef6c15b20ebe622ed8aec1">hasAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName) const noexcept</td></tr>
<tr class="memdesc:a261f32c557ef6c15b20ebe622ed8aec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the element contains an attribute with a certain name.  <a href="#a261f32c557ef6c15b20ebe622ed8aec1">More...</a><br /></td></tr>
<tr class="separator:a261f32c557ef6c15b20ebe622ed8aec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb012fe1fc09863559024329ff2594c3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aeb012fe1fc09863559024329ff2594c3">getStringAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName) const noexcept</td></tr>
<tr class="memdesc:aeb012fe1fc09863559024329ff2594c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a named attribute.  <a href="#aeb012fe1fc09863559024329ff2594c3">More...</a><br /></td></tr>
<tr class="separator:aeb012fe1fc09863559024329ff2594c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e08148caf471af1a5973effa49c3133"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a1e08148caf471af1a5973effa49c3133">getStringAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, const <a class="el" href="classString.html">String</a> &amp;defaultReturnValue) const</td></tr>
<tr class="memdesc:a1e08148caf471af1a5973effa49c3133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a named attribute.  <a href="#a1e08148caf471af1a5973effa49c3133">More...</a><br /></td></tr>
<tr class="separator:a1e08148caf471af1a5973effa49c3133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0e6bce34a26492d709b4f63da6af51"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4d0e6bce34a26492d709b4f63da6af51">compareAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, <a class="el" href="classStringRef.html">StringRef</a> stringToCompareAgainst, bool ignoreCase=false) const noexcept</td></tr>
<tr class="memdesc:a4d0e6bce34a26492d709b4f63da6af51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the value of a named attribute with a value passed-in.  <a href="#a4d0e6bce34a26492d709b4f63da6af51">More...</a><br /></td></tr>
<tr class="separator:a4d0e6bce34a26492d709b4f63da6af51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c8dee6737be692b099462ccd66bb252"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a9c8dee6737be692b099462ccd66bb252">getIntAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, int defaultReturnValue=0) const</td></tr>
<tr class="memdesc:a9c8dee6737be692b099462ccd66bb252"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a named attribute as an integer.  <a href="#a9c8dee6737be692b099462ccd66bb252">More...</a><br /></td></tr>
<tr class="separator:a9c8dee6737be692b099462ccd66bb252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a971fc2bcee4691f65c2e001ef429752a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a971fc2bcee4691f65c2e001ef429752a">getDoubleAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, double defaultReturnValue=0.0) const</td></tr>
<tr class="memdesc:a971fc2bcee4691f65c2e001ef429752a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a named attribute as floating-point.  <a href="#a971fc2bcee4691f65c2e001ef429752a">More...</a><br /></td></tr>
<tr class="separator:a971fc2bcee4691f65c2e001ef429752a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6090afe58e4949d1d4a6f154d13cf798"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a6090afe58e4949d1d4a6f154d13cf798">getBoolAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, bool defaultReturnValue=false) const</td></tr>
<tr class="memdesc:a6090afe58e4949d1d4a6f154d13cf798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a named attribute as a boolean.  <a href="#a6090afe58e4949d1d4a6f154d13cf798">More...</a><br /></td></tr>
<tr class="separator:a6090afe58e4949d1d4a6f154d13cf798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c2ba53866bb25809fd189578de1105"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105">setAttribute</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &amp;attributeName, const <a class="el" href="classString.html">String</a> &amp;newValue)</td></tr>
<tr class="memdesc:a25c2ba53866bb25809fd189578de1105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a named attribute to the element.  <a href="#a25c2ba53866bb25809fd189578de1105">More...</a><br /></td></tr>
<tr class="separator:a25c2ba53866bb25809fd189578de1105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c01d23c2c7c165e4984c93c9c98bf8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a0c01d23c2c7c165e4984c93c9c98bf8f">setAttribute</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &amp;attributeName, int newValue)</td></tr>
<tr class="memdesc:a0c01d23c2c7c165e4984c93c9c98bf8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a named attribute to the element, setting it to an integer value.  <a href="#a0c01d23c2c7c165e4984c93c9c98bf8f">More...</a><br /></td></tr>
<tr class="separator:a0c01d23c2c7c165e4984c93c9c98bf8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb23805831ea08261ad8e9e2442e2a11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aeb23805831ea08261ad8e9e2442e2a11">setAttribute</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &amp;attributeName, double newValue)</td></tr>
<tr class="memdesc:aeb23805831ea08261ad8e9e2442e2a11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a named attribute to the element, setting it to a floating-point value.  <a href="#aeb23805831ea08261ad8e9e2442e2a11">More...</a><br /></td></tr>
<tr class="separator:aeb23805831ea08261ad8e9e2442e2a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae4479d33c784716542766ce39ff805"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a5ae4479d33c784716542766ce39ff805">removeAttribute</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &amp;attributeName) noexcept</td></tr>
<tr class="memdesc:a5ae4479d33c784716542766ce39ff805"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a named attribute from the element.  <a href="#a5ae4479d33c784716542766ce39ff805">More...</a><br /></td></tr>
<tr class="separator:a5ae4479d33c784716542766ce39ff805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a461b3fbfd94164b716774272fe784ec5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a461b3fbfd94164b716774272fe784ec5">removeAllAttributes</a> () noexcept</td></tr>
<tr class="memdesc:a461b3fbfd94164b716774272fe784ec5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all attributes from this element.  <a href="#a461b3fbfd94164b716774272fe784ec5">More...</a><br /></td></tr>
<tr class="separator:a461b3fbfd94164b716774272fe784ec5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8ac386908cc0c1b5c1cc76bb9f6cc7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aa8ac386908cc0c1b5c1cc76bb9f6cc7c">getFirstChildElement</a> () const noexcept</td></tr>
<tr class="memdesc:aa8ac386908cc0c1b5c1cc76bb9f6cc7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first of this element's sub-elements.  <a href="#aa8ac386908cc0c1b5c1cc76bb9f6cc7c">More...</a><br /></td></tr>
<tr class="separator:aa8ac386908cc0c1b5c1cc76bb9f6cc7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a427991d7a5a39811a6a9b35fefe624bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc">getNextElement</a> () const noexcept</td></tr>
<tr class="memdesc:a427991d7a5a39811a6a9b35fefe624bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next of this element's siblings.  <a href="#a427991d7a5a39811a6a9b35fefe624bc">More...</a><br /></td></tr>
<tr class="separator:a427991d7a5a39811a6a9b35fefe624bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f22c1ae468e69155fe6c8f78fa99166"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4f22c1ae468e69155fe6c8f78fa99166">getNextElementWithTagName</a> (<a class="el" href="classStringRef.html">StringRef</a> requiredTagName) const</td></tr>
<tr class="memdesc:a4f22c1ae468e69155fe6c8f78fa99166"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next of this element's siblings which has the specified tag name.  <a href="#a4f22c1ae468e69155fe6c8f78fa99166">More...</a><br /></td></tr>
<tr class="separator:a4f22c1ae468e69155fe6c8f78fa99166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de1fb43a8b1a33677f095becb212bca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a6de1fb43a8b1a33677f095becb212bca">getNumChildElements</a> () const noexcept</td></tr>
<tr class="memdesc:a6de1fb43a8b1a33677f095becb212bca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of sub-elements in this element.  <a href="#a6de1fb43a8b1a33677f095becb212bca">More...</a><br /></td></tr>
<tr class="separator:a6de1fb43a8b1a33677f095becb212bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab450f0049f7ff864024ca58550a2c7b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ab450f0049f7ff864024ca58550a2c7b9">getChildElement</a> (int index) const noexcept</td></tr>
<tr class="memdesc:ab450f0049f7ff864024ca58550a2c7b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sub-element at a certain index.  <a href="#ab450f0049f7ff864024ca58550a2c7b9">More...</a><br /></td></tr>
<tr class="separator:ab450f0049f7ff864024ca58550a2c7b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1a5bef06210af0dae0819b550ecb3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aff1a5bef06210af0dae0819b550ecb3d">getChildByName</a> (<a class="el" href="classStringRef.html">StringRef</a> tagNameToLookFor) const noexcept</td></tr>
<tr class="memdesc:aff1a5bef06210af0dae0819b550ecb3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first sub-element with a given tag-name.  <a href="#aff1a5bef06210af0dae0819b550ecb3d">More...</a><br /></td></tr>
<tr class="separator:aff1a5bef06210af0dae0819b550ecb3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abba7899068b3758ad5eb61e15f2e395e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#abba7899068b3758ad5eb61e15f2e395e">getChildByAttribute</a> (<a class="el" href="classStringRef.html">StringRef</a> attributeName, <a class="el" href="classStringRef.html">StringRef</a> attributeValue) const noexcept</td></tr>
<tr class="memdesc:abba7899068b3758ad5eb61e15f2e395e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first sub-element which has an attribute that matches the given value.  <a href="#abba7899068b3758ad5eb61e15f2e395e">More...</a><br /></td></tr>
<tr class="separator:abba7899068b3758ad5eb61e15f2e395e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b9735dd8a98c5af71db4c532cd10a1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a9b9735dd8a98c5af71db4c532cd10a1c">addChildElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> *newChildElement) noexcept</td></tr>
<tr class="memdesc:a9b9735dd8a98c5af71db4c532cd10a1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends an element to this element's list of children.  <a href="#a9b9735dd8a98c5af71db4c532cd10a1c">More...</a><br /></td></tr>
<tr class="separator:a9b9735dd8a98c5af71db4c532cd10a1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09bf0f9afa11f1c458b40762b440a6e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a09bf0f9afa11f1c458b40762b440a6e5">insertChildElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> *newChildElement, int indexToInsertAt) noexcept</td></tr>
<tr class="memdesc:a09bf0f9afa11f1c458b40762b440a6e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an element into this element's list of children.  <a href="#a09bf0f9afa11f1c458b40762b440a6e5">More...</a><br /></td></tr>
<tr class="separator:a09bf0f9afa11f1c458b40762b440a6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f2edc311084f9faab33c0c310a6915e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4f2edc311084f9faab33c0c310a6915e">prependChildElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> *newChildElement) noexcept</td></tr>
<tr class="memdesc:a4f2edc311084f9faab33c0c310a6915e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an element at the beginning of this element's list of children.  <a href="#a4f2edc311084f9faab33c0c310a6915e">More...</a><br /></td></tr>
<tr class="separator:a4f2edc311084f9faab33c0c310a6915e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bceee5b8c8667dd08b03755aaeed548"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4bceee5b8c8667dd08b03755aaeed548">createNewChildElement</a> (<a class="el" href="classStringRef.html">StringRef</a> tagName)</td></tr>
<tr class="memdesc:a4bceee5b8c8667dd08b03755aaeed548"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new element with the given name and returns it, after adding it as a child element.  <a href="#a4bceee5b8c8667dd08b03755aaeed548">More...</a><br /></td></tr>
<tr class="separator:a4bceee5b8c8667dd08b03755aaeed548"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37bfa0575b47295b7d689369e4982310"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a37bfa0575b47295b7d689369e4982310">replaceChildElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> *currentChildElement, <a class="el" href="classXmlElement.html">XmlElement</a> *newChildNode) noexcept</td></tr>
<tr class="memdesc:a37bfa0575b47295b7d689369e4982310"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces one of this element's children with another node.  <a href="#a37bfa0575b47295b7d689369e4982310">More...</a><br /></td></tr>
<tr class="separator:a37bfa0575b47295b7d689369e4982310"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a572007f8cef5199dce0b5abc57f01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ab1a572007f8cef5199dce0b5abc57f01">removeChildElement</a> (<a class="el" href="classXmlElement.html">XmlElement</a> *childToRemove, bool shouldDeleteTheChild) noexcept</td></tr>
<tr class="memdesc:ab1a572007f8cef5199dce0b5abc57f01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a child element.  <a href="#ab1a572007f8cef5199dce0b5abc57f01">More...</a><br /></td></tr>
<tr class="separator:ab1a572007f8cef5199dce0b5abc57f01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a258f03dbe9872a8f6bf7f47733cd4db8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a258f03dbe9872a8f6bf7f47733cd4db8">deleteAllChildElements</a> () noexcept</td></tr>
<tr class="memdesc:a258f03dbe9872a8f6bf7f47733cd4db8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes all the child elements in the element.  <a href="#a258f03dbe9872a8f6bf7f47733cd4db8">More...</a><br /></td></tr>
<tr class="separator:a258f03dbe9872a8f6bf7f47733cd4db8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0579a6747cbcf736ebf60f12075daedd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a0579a6747cbcf736ebf60f12075daedd">deleteAllChildElementsWithTagName</a> (<a class="el" href="classStringRef.html">StringRef</a> tagName) noexcept</td></tr>
<tr class="memdesc:a0579a6747cbcf736ebf60f12075daedd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes all the child elements with a given tag name.  <a href="#a0579a6747cbcf736ebf60f12075daedd">More...</a><br /></td></tr>
<tr class="separator:a0579a6747cbcf736ebf60f12075daedd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83e444ac0092392de6402eb8f04ddd49"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a83e444ac0092392de6402eb8f04ddd49">containsChildElement</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> *possibleChild) const noexcept</td></tr>
<tr class="memdesc:a83e444ac0092392de6402eb8f04ddd49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the given element is a child of this one.  <a href="#a83e444ac0092392de6402eb8f04ddd49">More...</a><br /></td></tr>
<tr class="separator:a83e444ac0092392de6402eb8f04ddd49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4698c6ddd258ef3e95d03fb6906e2411"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a4698c6ddd258ef3e95d03fb6906e2411">findParentElementOf</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> *childToSearchFor) noexcept</td></tr>
<tr class="memdesc:a4698c6ddd258ef3e95d03fb6906e2411"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursively searches all sub-elements of this one, looking for an element which is the direct parent of the specified element.  <a href="#a4698c6ddd258ef3e95d03fb6906e2411">More...</a><br /></td></tr>
<tr class="separator:a4698c6ddd258ef3e95d03fb6906e2411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a5c64bdc8e58f153a83a028829354f0"><td class="memTemplParams" colspan="2">template&lt;class ElementComparator &gt; </td></tr>
<tr class="memitem:a0a5c64bdc8e58f153a83a028829354f0"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a0a5c64bdc8e58f153a83a028829354f0">sortChildElements</a> (ElementComparator &amp;comparator, bool retainOrderOfEquivalentItems=false)</td></tr>
<tr class="memdesc:a0a5c64bdc8e58f153a83a028829354f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts the child elements using a comparator.  <a href="#a0a5c64bdc8e58f153a83a028829354f0">More...</a><br /></td></tr>
<tr class="separator:a0a5c64bdc8e58f153a83a028829354f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fe9798ad1997c993ee35d7580a6189e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e">isTextElement</a> () const noexcept</td></tr>
<tr class="memdesc:a9fe9798ad1997c993ee35d7580a6189e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this element is a section of text.  <a href="#a9fe9798ad1997c993ee35d7580a6189e">More...</a><br /></td></tr>
<tr class="separator:a9fe9798ad1997c993ee35d7580a6189e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f834fecdf2afe9292a7f3e6259761fe"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a5f834fecdf2afe9292a7f3e6259761fe">getText</a> () const noexcept</td></tr>
<tr class="memdesc:a5f834fecdf2afe9292a7f3e6259761fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the text for a text element.  <a href="#a5f834fecdf2afe9292a7f3e6259761fe">More...</a><br /></td></tr>
<tr class="separator:a5f834fecdf2afe9292a7f3e6259761fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0c14d8e9d0378e8a468e3d28067dde9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ad0c14d8e9d0378e8a468e3d28067dde9">setText</a> (const <a class="el" href="classString.html">String</a> &amp;newText)</td></tr>
<tr class="memdesc:ad0c14d8e9d0378e8a468e3d28067dde9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text in a text element.  <a href="#ad0c14d8e9d0378e8a468e3d28067dde9">More...</a><br /></td></tr>
<tr class="separator:ad0c14d8e9d0378e8a468e3d28067dde9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b9b9a3e739cbf28af0d569d649da776"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776">getAllSubText</a> () const</td></tr>
<tr class="memdesc:a7b9b9a3e739cbf28af0d569d649da776"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all the text from this element's child nodes.  <a href="#a7b9b9a3e739cbf28af0d569d649da776">More...</a><br /></td></tr>
<tr class="separator:a7b9b9a3e739cbf28af0d569d649da776"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e215880df59a874b2d4d41800e4e7ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a2e215880df59a874b2d4d41800e4e7ef">getChildElementAllSubText</a> (<a class="el" href="classStringRef.html">StringRef</a> childTagName, const <a class="el" href="classString.html">String</a> &amp;defaultReturnValue) const</td></tr>
<tr class="memdesc:a2e215880df59a874b2d4d41800e4e7ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all the sub-text of a named child element.  <a href="#a2e215880df59a874b2d4d41800e4e7ef">More...</a><br /></td></tr>
<tr class="separator:a2e215880df59a874b2d4d41800e4e7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea61ae26c5c1e71f9119dd9dffac4f0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#aea61ae26c5c1e71f9119dd9dffac4f0d">addTextElement</a> (const <a class="el" href="classString.html">String</a> &amp;text)</td></tr>
<tr class="memdesc:aea61ae26c5c1e71f9119dd9dffac4f0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends a section of text to this element.  <a href="#aea61ae26c5c1e71f9119dd9dffac4f0d">More...</a><br /></td></tr>
<tr class="separator:aea61ae26c5c1e71f9119dd9dffac4f0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad321a686465bf21ae7eb785b76d5e352"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ad321a686465bf21ae7eb785b76d5e352">deleteAllTextElements</a> () noexcept</td></tr>
<tr class="memdesc:ad321a686465bf21ae7eb785b76d5e352"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all the text elements from this element.  <a href="#ad321a686465bf21ae7eb785b76d5e352">More...</a><br /></td></tr>
<tr class="separator:ad321a686465bf21ae7eb785b76d5e352"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab768aee16a1cf791bd6c61cc2abbe01b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#ab768aee16a1cf791bd6c61cc2abbe01b">createTextElement</a> (const <a class="el" href="classString.html">String</a> &amp;text)</td></tr>
<tr class="memdesc:ab768aee16a1cf791bd6c61cc2abbe01b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a text element that can be added to a parent element.  <a href="#ab768aee16a1cf791bd6c61cc2abbe01b">More...</a><br /></td></tr>
<tr class="separator:ab768aee16a1cf791bd6c61cc2abbe01b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3801695cf0ab99652fecc47edcaeb80a"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXmlElement.html#a3801695cf0ab99652fecc47edcaeb80a">isValidXmlName</a> (<a class="el" href="classStringRef.html">StringRef</a> possibleName) noexcept</td></tr>
<tr class="memdesc:a3801695cf0ab99652fecc47edcaeb80a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a given string is a valid XML name.  <a href="#a3801695cf0ab99652fecc47edcaeb80a">More...</a><br /></td></tr>
<tr class="separator:a3801695cf0ab99652fecc47edcaeb80a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Used to build a tree of elements representing an XML document. </p>
<p>An XML document can be parsed into a tree of XmlElements, each of which represents an XML tag structure, and which may itself contain other nested elements.</p>
<p>An <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> can also be converted back into a text document, and has lots of useful methods for manipulating its attributes and sub-elements, so XmlElements can actually be used as a handy general-purpose data structure.</p>
<p>Here's an example of parsing some elements:</p><div class="fragment"><div class="line"><span class="comment">// check we&#39;re looking at the right kind of document..</span></div><div class="line"><span class="keywordflow">if</span> (myElement-&gt;hasTagName (<span class="stringliteral">&quot;ANIMALS&quot;</span>))</div><div class="line">{</div><div class="line">    <span class="comment">// now we&#39;ll iterate its sub-elements looking for &#39;giraffe&#39; elements..</span></div><div class="line">    <a class="code" href="juce__XmlElement_8h.html#ace692e5be62f7ab58363d91b52eb839e">forEachXmlChildElement</a> (*myElement, e)</div><div class="line">    {</div><div class="line">        <span class="keywordflow">if</span> (e-&gt;hasTagName (<span class="stringliteral">&quot;GIRAFFE&quot;</span>))</div><div class="line">        {</div><div class="line">            <span class="comment">// found a giraffe, so use some of its attributes..</span></div><div class="line"></div><div class="line">            <a class="code" href="classString.html">String</a> giraffeName  = e-&gt;getStringAttribute (<span class="stringliteral">&quot;name&quot;</span>);</div><div class="line">            <span class="keywordtype">int</span> giraffeAge      = e-&gt;getIntAttribute (<span class="stringliteral">&quot;age&quot;</span>);</div><div class="line">            <span class="keywordtype">bool</span> isFriendly     = e-&gt;getBoolAttribute (<span class="stringliteral">&quot;friendly&quot;</span>);</div><div class="line">        }</div><div class="line">    }</div><div class="line">}</div></div><!-- fragment --><p>And here's an example of how to create an XML document from scratch:</p><div class="fragment"><div class="line"><span class="comment">// create an outer node called &quot;ANIMALS&quot;</span></div><div class="line"><a class="code" href="classXmlElement.html">XmlElement</a> animalsList (<span class="stringliteral">&quot;ANIMALS&quot;</span>);</div><div class="line"></div><div class="line"><span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; numAnimals; ++i)</div><div class="line">{</div><div class="line">    <span class="comment">// create an inner element..</span></div><div class="line">    <a class="code" href="classXmlElement.html">XmlElement</a>* giraffe = <span class="keyword">new</span> <a class="code" href="classXmlElement.html#a3a8f5f328633c9ec5f0348651b0d2c23">XmlElement</a> (<span class="stringliteral">&quot;GIRAFFE&quot;</span>);</div><div class="line"></div><div class="line">    giraffe-&gt;<a class="code" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105">setAttribute</a> (<span class="stringliteral">&quot;name&quot;</span>, <span class="stringliteral">&quot;nigel&quot;</span>);</div><div class="line">    giraffe-&gt;<a class="code" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105">setAttribute</a> (<span class="stringliteral">&quot;age&quot;</span>, 10);</div><div class="line">    giraffe-&gt;<a class="code" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105">setAttribute</a> (<span class="stringliteral">&quot;friendly&quot;</span>, <span class="keyword">true</span>);</div><div class="line"></div><div class="line">    <span class="comment">// ..and add our new element to the parent node</span></div><div class="line">    animalsList.addChildElement (giraffe);</div><div class="line">}</div><div class="line"></div><div class="line"><span class="comment">// now we can turn the whole thing into a text document..</span></div><div class="line"><a class="code" href="classString.html">String</a> myXmlDoc = animalsList.createDocument (<a class="code" href="classString.html">String</a>());</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlDocument.html" title="Parses a text-based XML document and creates an XmlElement object from it. ">XmlDocument</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3a8f5f328633c9ec5f0348651b0d2c23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a8f5f328633c9ec5f0348651b0d2c23">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[1/7]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name. </p>

</div>
</div>
<a id="aae219dda5c0411eb558592e996567b74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae219dda5c0411eb558592e996567b74">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[2/7]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name. </p>

</div>
</div>
<a id="a649430da34dccaa98c0527747d0ddb36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a649430da34dccaa98c0527747d0ddb36">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[3/7]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name. </p>

</div>
</div>
<a id="aeece56bb7c3754e62b85ba1f4c702e3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeece56bb7c3754e62b85ba1f4c702e3e">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[4/7]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name. </p>

</div>
</div>
<a id="af496514d389fa99aec13605725a028b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af496514d389fa99aec13605725a028b0">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[5/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classString.html#a32e28d7fc3a4900c319884191d90dbf0">String::CharPointerType</a>&#160;</td>
          <td class="paramname"><em>tagNameBegin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classString.html#a32e28d7fc3a4900c319884191d90dbf0">String::CharPointerType</a>&#160;</td>
          <td class="paramname"><em>tagNameEnd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> with this tag name. </p>

</div>
</div>
<a id="a604980b35f37a37c635fd606ebe25682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a604980b35f37a37c635fd606ebe25682">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[6/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a (deep) copy of another element. </p>

</div>
</div>
<a id="ac23c46e9d48743726322323d03a768a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac23c46e9d48743726322323d03a768a4">&sect;&nbsp;</a></span>XmlElement() <span class="overload">[7/7]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::XmlElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a07d66d0ced63876ca8d1aecfd2cd7ef9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d66d0ced63876ca8d1aecfd2cd7ef9">&sect;&nbsp;</a></span>~XmlElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XmlElement::~XmlElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deleting an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> will also delete all of its child elements. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1d2e9b40ed58be8da92502a67281cb56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d2e9b40ed58be8da92502a67281cb56">&sect;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>&amp; XmlElement::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a (deep) copy of another element. </p>

</div>
</div>
<a id="a7ab771486a0d289bdcd93798a6b87f0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ab771486a0d289bdcd93798a6b87f0c">&sect;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>&amp; XmlElement::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac970d556bc59579feb6e1b0035240c8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac970d556bc59579feb6e1b0035240c8d">&sect;&nbsp;</a></span>isEquivalentTo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::isEquivalentTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreOrderOfAttributes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compares two XmlElements to see if they contain the same text and attiributes. </p>
<p>The elements are only considered equivalent if they contain the same attiributes with the same values, and have the same sub-nodes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the other element to compare to </td></tr>
    <tr><td class="paramname">ignoreOrderOfAttributes</td><td>if true, this means that two elements with the same attributes in a different order will be considered the same; if false, the attributes must be in the same order as well </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4a55313aba630bc87deb927375f06cff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a55313aba630bc87deb927375f06cff">&sect;&nbsp;</a></span>createDocument()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::createDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>dtdToUse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allOnOneLine</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeXmlHeader</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>encodingType</em> = <code>&quot;UTF-8&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>lineWrapLength</em> = <code>60</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns an XML text document that represents this element. </p>
<p>The string returned can be parsed to recreate the same <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> that was used to create it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dtdToUse</td><td>the DTD to add to the document </td></tr>
    <tr><td class="paramname">allOnOneLine</td><td>if true, this means that the document will not contain any linefeeds, so it'll be smaller but not very easy to read. </td></tr>
    <tr><td class="paramname">includeXmlHeader</td><td>whether to add the "&lt;?xml version..etc" line at the start of the document </td></tr>
    <tr><td class="paramname">encodingType</td><td>the character encoding format string to put into the xml header </td></tr>
    <tr><td class="paramname">lineWrapLength</td><td>the line length that will be used before items get placed on a new line. This isn't an absolute maximum length, it just determines how lists of attributes get broken up </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#aeb0dbdeb429480f5f073b46558f5f55f" title="Writes the document to a stream as UTF-8. ">writeToStream</a>, <a class="el" href="classXmlElement.html#aa9fafc3733f64e74d3c11068e4d3a541" title="Writes the element to a file as an XML document. ">writeToFile</a> </dd></dl>

</div>
</div>
<a id="aeb0dbdeb429480f5f073b46558f5f55f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb0dbdeb429480f5f073b46558f5f55f">&sect;&nbsp;</a></span>writeToStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::writeToStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOutputStream.html">OutputStream</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>dtdToUse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allOnOneLine</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeXmlHeader</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>encodingType</em> = <code>&quot;UTF-8&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>lineWrapLength</em> = <code>60</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Writes the document to a stream as UTF-8. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">output</td><td>the stream to write to </td></tr>
    <tr><td class="paramname">dtdToUse</td><td>the DTD to add to the document </td></tr>
    <tr><td class="paramname">allOnOneLine</td><td>if true, this means that the document will not contain any linefeeds, so it'll be smaller but not very easy to read. </td></tr>
    <tr><td class="paramname">includeXmlHeader</td><td>whether to add the "&lt;?xml version..etc" line at the start of the document </td></tr>
    <tr><td class="paramname">encodingType</td><td>the character encoding format string to put into the xml header </td></tr>
    <tr><td class="paramname">lineWrapLength</td><td>the line length that will be used before items get placed on a new line. This isn't an absolute maximum length, it just determines how lists of attributes get broken up </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#aa9fafc3733f64e74d3c11068e4d3a541" title="Writes the element to a file as an XML document. ">writeToFile</a>, <a class="el" href="classXmlElement.html#a4a55313aba630bc87deb927375f06cff" title="Returns an XML text document that represents this element. ">createDocument</a> </dd></dl>

</div>
</div>
<a id="aa9fafc3733f64e74d3c11068e4d3a541"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9fafc3733f64e74d3c11068e4d3a541">&sect;&nbsp;</a></span>writeToFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::writeToFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFile.html">File</a> &amp;&#160;</td>
          <td class="paramname"><em>destinationFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>dtdToUse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>encodingType</em> = <code>&quot;UTF-8&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>lineWrapLength</em> = <code>60</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Writes the element to a file as an XML document. </p>
<p>To improve safety in case something goes wrong while writing the file, this will actually write the document to a new temporary file in the same directory as the destination file, and if this succeeds, it will rename this new file as the destination file (overwriting any existing file that was there).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destinationFile</td><td>the file to write to. If this already exists, it will be overwritten. </td></tr>
    <tr><td class="paramname">dtdToUse</td><td>the DTD to add to the document </td></tr>
    <tr><td class="paramname">encodingType</td><td>the character encoding format string to put into the xml header </td></tr>
    <tr><td class="paramname">lineWrapLength</td><td>the line length that will be used before items get placed on a new line. This isn't an absolute maximum length, it just determines how lists of attributes get broken up </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the file is written successfully; false if something goes wrong in the process </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a4a55313aba630bc87deb927375f06cff" title="Returns an XML text document that represents this element. ">createDocument</a> </dd></dl>

</div>
</div>
<a id="a42763c064fcc57c24f0a4ec3c7de7b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42763c064fcc57c24f0a4ec3c7de7b5c">&sect;&nbsp;</a></span>getTagName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classString.html">String</a>&amp; XmlElement::getTagName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns this element's tag type name. </p>
<p>E.g. for an element such as &lt;MOOSE legs="4" antlers="2"&gt;, this would return "MOOSE". </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#ac50bc4ce0db92b84baf4baf1b9c4de1d" title="Tests whether this element has a particular tag name. ">hasTagName</a> </dd></dl>

</div>
</div>
<a id="a836f5736c59778b642cfa13baa35f86c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a836f5736c59778b642cfa13baa35f86c">&sect;&nbsp;</a></span>getNamespace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::getNamespace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the namespace portion of the tag-name, or an empty string if none is specified. </p>

</div>
</div>
<a id="adc073c7bbd59333a2e73c7ebf482f06b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc073c7bbd59333a2e73c7ebf482f06b">&sect;&nbsp;</a></span>getTagNameWithoutNamespace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::getTagNameWithoutNamespace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the part of the tag-name that follows any namespace declaration. </p>

</div>
</div>
<a id="ac50bc4ce0db92b84baf4baf1b9c4de1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac50bc4ce0db92b84baf4baf1b9c4de1d">&sect;&nbsp;</a></span>hasTagName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::hasTagName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>possibleTagName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tests whether this element has a particular tag name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">possibleTagName</td><td>the tag name you're comparing it with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a42763c064fcc57c24f0a4ec3c7de7b5c" title="Returns this element&#39;s tag type name. ">getTagName</a> </dd></dl>

</div>
</div>
<a id="abcf184f1ddfb5cbec32f20b9adefb4c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcf184f1ddfb5cbec32f20b9adefb4c7">&sect;&nbsp;</a></span>hasTagNameIgnoringNamespace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::hasTagNameIgnoringNamespace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>possibleTagName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tests whether this element has a particular tag name, ignoring any XML namespace prefix. </p>
<p>So a test for e.g. "xyz" will return true for "xyz" and also "foo:xyz", "bar::xyz", etc. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a42763c064fcc57c24f0a4ec3c7de7b5c" title="Returns this element&#39;s tag type name. ">getTagName</a> </dd></dl>

</div>
</div>
<a id="aded3baadd37f11ed7d60a44954c7ae95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aded3baadd37f11ed7d60a44954c7ae95">&sect;&nbsp;</a></span>getNumAttributes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int XmlElement::getNumAttributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of XML attributes this element contains. </p>
<p>E.g. for an element such as &lt;MOOSE legs="4" antlers="2"&gt;, this would return 2. </p>

</div>
</div>
<a id="ac11bcda22a4f9715095f9cef47139df0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac11bcda22a4f9715095f9cef47139df0">&sect;&nbsp;</a></span>getAttributeName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classString.html">String</a>&amp; XmlElement::getAttributeName </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>attributeIndex</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the name of one of the elements attributes. </p>
<p>E.g. for an element such as &lt;MOOSE legs="4" antlers="2"&gt;, then getAttributeName(1) would return "antlers".</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a1c61f83b2e6bf7b9bafbb29659d0dda0" title="Returns the value of one of the elements attributes. ">getAttributeValue</a>, <a class="el" href="classXmlElement.html#aeb012fe1fc09863559024329ff2594c3" title="Returns the value of a named attribute. ">getStringAttribute</a> </dd></dl>

</div>
</div>
<a id="a1c61f83b2e6bf7b9bafbb29659d0dda0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c61f83b2e6bf7b9bafbb29659d0dda0">&sect;&nbsp;</a></span>getAttributeValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classString.html">String</a>&amp; XmlElement::getAttributeValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>attributeIndex</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the value of one of the elements attributes. </p>
<p>E.g. for an element such as &lt;MOOSE legs="4" antlers="2"&gt;, then getAttributeName(1) would return "2".</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#ac11bcda22a4f9715095f9cef47139df0" title="Returns the name of one of the elements attributes. ">getAttributeName</a>, <a class="el" href="classXmlElement.html#aeb012fe1fc09863559024329ff2594c3" title="Returns the value of a named attribute. ">getStringAttribute</a> </dd></dl>

</div>
</div>
<a id="a261f32c557ef6c15b20ebe622ed8aec1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a261f32c557ef6c15b20ebe622ed8aec1">&sect;&nbsp;</a></span>hasAttribute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::hasAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks whether the element contains an attribute with a certain name. </p>

</div>
</div>
<a id="aeb012fe1fc09863559024329ff2594c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb012fe1fc09863559024329ff2594c3">&sect;&nbsp;</a></span>getStringAttribute() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classString.html">String</a>&amp; XmlElement::getStringAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the value of a named attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1e08148caf471af1a5973effa49c3133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e08148caf471af1a5973effa49c3133">&sect;&nbsp;</a></span>getStringAttribute() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::getStringAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>defaultReturnValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the value of a named attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
    <tr><td class="paramname">defaultReturnValue</td><td>a value to return if the element doesn't have an attribute with this name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4d0e6bce34a26492d709b4f63da6af51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d0e6bce34a26492d709b4f63da6af51">&sect;&nbsp;</a></span>compareAttribute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::compareAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>stringToCompareAgainst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreCase</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compares the value of a named attribute with a value passed-in. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
    <tr><td class="paramname">stringToCompareAgainst</td><td>the value to compare it with </td></tr>
    <tr><td class="paramname">ignoreCase</td><td>whether the comparison should be case-insensitive </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the value of the attribute is the same as the string passed-in; false if it's different (or if no such attribute exists) </dd></dl>

</div>
</div>
<a id="a9c8dee6737be692b099462ccd66bb252"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c8dee6737be692b099462ccd66bb252">&sect;&nbsp;</a></span>getIntAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XmlElement::getIntAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>defaultReturnValue</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the value of a named attribute as an integer. </p>
<p>This will try to find the attribute and convert it to an integer (using the <a class="el" href="classString.html#accbe0d347261658661458bad2c63dbe1" title="Reads the value of the string as a decimal number (up to 32 bits in size). ">String::getIntValue()</a> method).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
    <tr><td class="paramname">defaultReturnValue</td><td>a value to return if the element doesn't have an attribute with this name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105" title="Adds a named attribute to the element. ">setAttribute</a> </dd></dl>

</div>
</div>
<a id="a971fc2bcee4691f65c2e001ef429752a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a971fc2bcee4691f65c2e001ef429752a">&sect;&nbsp;</a></span>getDoubleAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double XmlElement::getDoubleAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>defaultReturnValue</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the value of a named attribute as floating-point. </p>
<p>This will try to find the attribute and convert it to a double (using the <a class="el" href="classString.html#a6d747e66888a9c7ee562ab5b67e78c3b" title="Parses this string as a floating point number. ">String::getDoubleValue()</a> method).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
    <tr><td class="paramname">defaultReturnValue</td><td>a value to return if the element doesn't have an attribute with this name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105" title="Adds a named attribute to the element. ">setAttribute</a> </dd></dl>

</div>
</div>
<a id="a6090afe58e4949d1d4a6f154d13cf798"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6090afe58e4949d1d4a6f154d13cf798">&sect;&nbsp;</a></span>getBoolAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::getBoolAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>defaultReturnValue</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the value of a named attribute as a boolean. </p>
<p>This will try to find the attribute and interpret it as a boolean. To do this, it'll return true if the value is "1", "true", "y", etc, or false for other values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to look up </td></tr>
    <tr><td class="paramname">defaultReturnValue</td><td>a value to return if the element doesn't have an attribute with this name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a25c2ba53866bb25809fd189578de1105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25c2ba53866bb25809fd189578de1105">&sect;&nbsp;</a></span>setAttribute() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::setAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>newValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a named attribute to the element. </p>
<p>If the element already contains an attribute with this name, it's value will be updated to the new value. If there's no such attribute yet, a new one will be added.</p>
<p>Note that there are other <a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105" title="Adds a named attribute to the element. ">setAttribute()</a> methods that take integers, doubles, etc. to make it easy to store numbers.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to set </td></tr>
    <tr><td class="paramname">newValue</td><td>the value to set it to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a5ae4479d33c784716542766ce39ff805" title="Removes a named attribute from the element. ">removeAttribute</a> </dd></dl>

</div>
</div>
<a id="a0c01d23c2c7c165e4984c93c9c98bf8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c01d23c2c7c165e4984c93c9c98bf8f">&sect;&nbsp;</a></span>setAttribute() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::setAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a named attribute to the element, setting it to an integer value. </p>
<p>If the element already contains an attribute with this name, it's value will be updated to the new value. If there's no such attribute yet, a new one will be added.</p>
<p>Note that there are other <a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105" title="Adds a named attribute to the element. ">setAttribute()</a> methods that take integers, doubles, etc. to make it easy to store numbers.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to set </td></tr>
    <tr><td class="paramname">newValue</td><td>the value to set it to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aeb23805831ea08261ad8e9e2442e2a11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb23805831ea08261ad8e9e2442e2a11">&sect;&nbsp;</a></span>setAttribute() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::setAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>newValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a named attribute to the element, setting it to a floating-point value. </p>
<p>If the element already contains an attribute with this name, it's value will be updated to the new value. If there's no such attribute yet, a new one will be added.</p>
<p>Note that there are other <a class="el" href="classXmlElement.html#a25c2ba53866bb25809fd189578de1105" title="Adds a named attribute to the element. ">setAttribute()</a> methods that take integers, doubles, etc. to make it easy to store numbers.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to set </td></tr>
    <tr><td class="paramname">newValue</td><td>the value to set it to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5ae4479d33c784716542766ce39ff805"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ae4479d33c784716542766ce39ff805">&sect;&nbsp;</a></span>removeAttribute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::removeAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>attributeName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Removes a named attribute from the element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to remove </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a461b3fbfd94164b716774272fe784ec5" title="Removes all attributes from this element. ">removeAllAttributes</a> </dd></dl>

</div>
</div>
<a id="a461b3fbfd94164b716774272fe784ec5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a461b3fbfd94164b716774272fe784ec5">&sect;&nbsp;</a></span>removeAllAttributes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::removeAllAttributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Removes all attributes from this element. </p>

</div>
</div>
<a id="aa8ac386908cc0c1b5c1cc76bb9f6cc7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8ac386908cc0c1b5c1cc76bb9f6cc7c">&sect;&nbsp;</a></span>getFirstChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getFirstChildElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the first of this element's sub-elements. </p>
<p>see <a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement()</a> for an example of how to iterate the sub-elements. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="juce__XmlElement_8h.html#ace692e5be62f7ab58363d91b52eb839e" title="A handy macro to make it easy to iterate all the child elements in an XmlElement. ...">forEachXmlChildElement</a> </dd></dl>

</div>
</div>
<a id="a427991d7a5a39811a6a9b35fefe624bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a427991d7a5a39811a6a9b35fefe624bc">&sect;&nbsp;</a></span>getNextElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getNextElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the next of this element's siblings. </p>
<p>This can be used for iterating an element's sub-elements, e.g. </p><div class="fragment"><div class="line"><a class="code" href="classXmlElement.html">XmlElement</a>* child = myXmlDocument-&gt;<a class="code" href="classXmlElement.html#aa8ac386908cc0c1b5c1cc76bb9f6cc7c">getFirstChildElement</a>();</div><div class="line"></div><div class="line"><span class="keywordflow">while</span> (child != <span class="keyword">nullptr</span>)</div><div class="line">{</div><div class="line">    ...do stuff with <span class="keyword">this</span> child..</div><div class="line"></div><div class="line">    child = child-&gt;<a class="code" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc">getNextElement</a>();</div><div class="line">}</div></div><!-- fragment --><p>Note that when iterating the child elements, some of them might be text elements as well as XML tags - use <a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement()</a> to work this out.</p>
<p>Also, it's much easier and neater to use this method indirectly via the forEachXmlChildElement macro.</p>
<dl class="section return"><dt>Returns</dt><dd>the sibling element that follows this one, or a nullptr if this is the last element in its parent</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement</a>, <a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="juce__XmlElement_8h.html#ace692e5be62f7ab58363d91b52eb839e" title="A handy macro to make it easy to iterate all the child elements in an XmlElement. ...">forEachXmlChildElement</a> </dd></dl>

</div>
</div>
<a id="a4f22c1ae468e69155fe6c8f78fa99166"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f22c1ae468e69155fe6c8f78fa99166">&sect;&nbsp;</a></span>getNextElementWithTagName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getNextElementWithTagName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>requiredTagName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the next of this element's siblings which has the specified tag name. </p>
<p>This is like <a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement()</a>, but will scan through the list until it finds an element with the given tag name.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement</a>, <a class="el" href="juce__XmlElement_8h.html#a6cf39e14a10e2e46f753b0c79c66f2f9" title="A macro that makes it easy to iterate all the child elements of an XmlElement which have a specified ...">forEachXmlChildElementWithTagName</a> </dd></dl>

</div>
</div>
<a id="a6de1fb43a8b1a33677f095becb212bca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6de1fb43a8b1a33677f095becb212bca">&sect;&nbsp;</a></span>getNumChildElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int XmlElement::getNumChildElements </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of sub-elements in this element. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#ab450f0049f7ff864024ca58550a2c7b9" title="Returns the sub-element at a certain index. ">getChildElement</a> </dd></dl>

</div>
</div>
<a id="ab450f0049f7ff864024ca58550a2c7b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab450f0049f7ff864024ca58550a2c7b9">&sect;&nbsp;</a></span>getChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getChildElement </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the sub-element at a certain index. </p>
<p>It's not very efficient to iterate the sub-elements by index - see <a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement()</a> for an example of how best to iterate.</p>
<dl class="section return"><dt>Returns</dt><dd>the n'th child of this element, or nullptr if the index is out-of-range </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement</a>, <a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#aff1a5bef06210af0dae0819b550ecb3d" title="Returns the first sub-element with a given tag-name. ">getChildByName</a> </dd></dl>

</div>
</div>
<a id="aff1a5bef06210af0dae0819b550ecb3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff1a5bef06210af0dae0819b550ecb3d">&sect;&nbsp;</a></span>getChildByName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getChildByName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>tagNameToLookFor</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the first sub-element with a given tag-name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tagNameToLookFor</td><td>the tag name of the element you want to find </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the first element with this tag name, or nullptr if none is found </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement</a>, <a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#ab450f0049f7ff864024ca58550a2c7b9" title="Returns the sub-element at a certain index. ">getChildElement</a>, <a class="el" href="classXmlElement.html#abba7899068b3758ad5eb61e15f2e395e" title="Returns the first sub-element which has an attribute that matches the given value. ">getChildByAttribute</a> </dd></dl>

</div>
</div>
<a id="abba7899068b3758ad5eb61e15f2e395e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abba7899068b3758ad5eb61e15f2e395e">&sect;&nbsp;</a></span>getChildByAttribute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::getChildByAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>attributeValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the first sub-element which has an attribute that matches the given value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attributeName</td><td>the name of the attribute to check </td></tr>
    <tr><td class="paramname">attributeValue</td><td>the target value of the attribute </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the first element with this attribute value, or nullptr if none is found </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#aff1a5bef06210af0dae0819b550ecb3d" title="Returns the first sub-element with a given tag-name. ">getChildByName</a> </dd></dl>

</div>
</div>
<a id="a9b9735dd8a98c5af71db4c532cd10a1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b9735dd8a98c5af71db4c532cd10a1c">&sect;&nbsp;</a></span>addChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::addChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>newChildElement</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Appends an element to this element's list of children. </p>
<p>Child elements are deleted automatically when their parent is deleted, so make sure the object that you pass in will not be deleted by anything else, and make sure it's not already the child of another element.</p>
<p>Note that due to the <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> using a singly-linked-list, <a class="el" href="classXmlElement.html#a4f2edc311084f9faab33c0c310a6915e" title="Inserts an element at the beginning of this element&#39;s list of children. ">prependChildElement()</a> is an O(1) operation, but <a class="el" href="classXmlElement.html#a9b9735dd8a98c5af71db4c532cd10a1c" title="Appends an element to this element&#39;s list of children. ">addChildElement()</a> is an O(N) operation - so if you're adding large number of elements, you may prefer to do so in reverse order!</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#aa8ac386908cc0c1b5c1cc76bb9f6cc7c" title="Returns the first of this element&#39;s sub-elements. ">getFirstChildElement</a>, <a class="el" href="classXmlElement.html#a427991d7a5a39811a6a9b35fefe624bc" title="Returns the next of this element&#39;s siblings. ">getNextElement</a>, <a class="el" href="classXmlElement.html#a6de1fb43a8b1a33677f095becb212bca" title="Returns the number of sub-elements in this element. ">getNumChildElements</a>, <a class="el" href="classXmlElement.html#ab450f0049f7ff864024ca58550a2c7b9" title="Returns the sub-element at a certain index. ">getChildElement</a>, <a class="el" href="classXmlElement.html#ab1a572007f8cef5199dce0b5abc57f01" title="Removes a child element. ">removeChildElement</a> </dd></dl>

</div>
</div>
<a id="a09bf0f9afa11f1c458b40762b440a6e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09bf0f9afa11f1c458b40762b440a6e5">&sect;&nbsp;</a></span>insertChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::insertChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>newChildElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indexToInsertAt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Inserts an element into this element's list of children. </p>
<p>Child elements are deleted automatically when their parent is deleted, so make sure the object that you pass in will not be deleted by anything else, and make sure it's not already the child of another element.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newChildElement</td><td>the element to add </td></tr>
    <tr><td class="paramname">indexToInsertAt</td><td>the index at which to insert the new element - if this is below zero, it will be added to the end of the list </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9b9735dd8a98c5af71db4c532cd10a1c" title="Appends an element to this element&#39;s list of children. ">addChildElement</a>, <a class="el" href="classXmlElement.html#a09bf0f9afa11f1c458b40762b440a6e5" title="Inserts an element into this element&#39;s list of children. ">insertChildElement</a> </dd></dl>

</div>
</div>
<a id="a4f2edc311084f9faab33c0c310a6915e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f2edc311084f9faab33c0c310a6915e">&sect;&nbsp;</a></span>prependChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::prependChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>newChildElement</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Inserts an element at the beginning of this element's list of children. </p>
<p>Child elements are deleted automatically when their parent is deleted, so make sure the object that you pass in will not be deleted by anything else, and make sure it's not already the child of another element.</p>
<p>Note that due to the <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> using a singly-linked-list, <a class="el" href="classXmlElement.html#a4f2edc311084f9faab33c0c310a6915e" title="Inserts an element at the beginning of this element&#39;s list of children. ">prependChildElement()</a> is an O(1) operation, but <a class="el" href="classXmlElement.html#a9b9735dd8a98c5af71db4c532cd10a1c" title="Appends an element to this element&#39;s list of children. ">addChildElement()</a> is an O(N) operation - so if you're adding large number of elements, you may prefer to do so in reverse order!</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9b9735dd8a98c5af71db4c532cd10a1c" title="Appends an element to this element&#39;s list of children. ">addChildElement</a>, <a class="el" href="classXmlElement.html#a09bf0f9afa11f1c458b40762b440a6e5" title="Inserts an element into this element&#39;s list of children. ">insertChildElement</a> </dd></dl>

</div>
</div>
<a id="a4bceee5b8c8667dd08b03755aaeed548"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bceee5b8c8667dd08b03755aaeed548">&sect;&nbsp;</a></span>createNewChildElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::createNewChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new element with the given name and returns it, after adding it as a child element. </p>
<p>This is a handy method that means that instead of writing this: </p><div class="fragment"><div class="line"><a class="code" href="classXmlElement.html">XmlElement</a>* newElement = <span class="keyword">new</span> <a class="code" href="classXmlElement.html#a3a8f5f328633c9ec5f0348651b0d2c23">XmlElement</a> (<span class="stringliteral">&quot;foobar&quot;</span>);</div><div class="line">myParentElement-&gt;addChildElement (newElement);</div></div><!-- fragment --><p>..you could just write this: </p><div class="fragment"><div class="line"><a class="code" href="classXmlElement.html">XmlElement</a>* newElement = myParentElement-&gt;<a class="code" href="classXmlElement.html#a4bceee5b8c8667dd08b03755aaeed548">createNewChildElement</a> (<span class="stringliteral">&quot;foobar&quot;</span>);</div></div><!-- fragment --> 
</div>
</div>
<a id="a37bfa0575b47295b7d689369e4982310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37bfa0575b47295b7d689369e4982310">&sect;&nbsp;</a></span>replaceChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::replaceChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>currentChildElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>newChildNode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Replaces one of this element's children with another node. </p>
<p>If the current element passed-in isn't actually a child of this element, this will return false and the new one won't be added. Otherwise, the existing element will be deleted, replaced with the new one, and it will return true. </p>

</div>
</div>
<a id="ab1a572007f8cef5199dce0b5abc57f01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1a572007f8cef5199dce0b5abc57f01">&sect;&nbsp;</a></span>removeChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::removeChildElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>childToRemove</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>shouldDeleteTheChild</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Removes a child element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">childToRemove</td><td>the child to look for and remove </td></tr>
    <tr><td class="paramname">shouldDeleteTheChild</td><td>if true, the child will be deleted, if false it'll just remove it </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a258f03dbe9872a8f6bf7f47733cd4db8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a258f03dbe9872a8f6bf7f47733cd4db8">&sect;&nbsp;</a></span>deleteAllChildElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::deleteAllChildElements </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deletes all the child elements in the element. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#ab1a572007f8cef5199dce0b5abc57f01" title="Removes a child element. ">removeChildElement</a>, <a class="el" href="classXmlElement.html#a0579a6747cbcf736ebf60f12075daedd" title="Deletes all the child elements with a given tag name. ">deleteAllChildElementsWithTagName</a> </dd></dl>

</div>
</div>
<a id="a0579a6747cbcf736ebf60f12075daedd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0579a6747cbcf736ebf60f12075daedd">&sect;&nbsp;</a></span>deleteAllChildElementsWithTagName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::deleteAllChildElementsWithTagName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>tagName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deletes all the child elements with a given tag name. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#ab1a572007f8cef5199dce0b5abc57f01" title="Removes a child element. ">removeChildElement</a> </dd></dl>

</div>
</div>
<a id="a83e444ac0092392de6402eb8f04ddd49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83e444ac0092392de6402eb8f04ddd49">&sect;&nbsp;</a></span>containsChildElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::containsChildElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>possibleChild</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the given element is a child of this one. </p>

</div>
</div>
<a id="a4698c6ddd258ef3e95d03fb6906e2411"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4698c6ddd258ef3e95d03fb6906e2411">&sect;&nbsp;</a></span>findParentElementOf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::findParentElementOf </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> *&#160;</td>
          <td class="paramname"><em>childToSearchFor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Recursively searches all sub-elements of this one, looking for an element which is the direct parent of the specified element. </p>
<p>Because elements don't store a pointer to their parent, if you have one and need to find its parent, the only way to do so is to exhaustively search the whole tree for it.</p>
<p>If the given child is found somewhere in this element's hierarchy, then this method will return its parent. If not, it will return nullptr. </p>

</div>
</div>
<a id="a0a5c64bdc8e58f153a83a028829354f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a5c64bdc8e58f153a83a028829354f0">&sect;&nbsp;</a></span>sortChildElements()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ElementComparator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::sortChildElements </td>
          <td>(</td>
          <td class="paramtype">ElementComparator &amp;&#160;</td>
          <td class="paramname"><em>comparator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainOrderOfEquivalentItems</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sorts the child elements using a comparator. </p>
<p>This will use a comparator object to sort the elements into order. The object passed must have a method of the form: </p><div class="fragment"><div class="line"><span class="keywordtype">int</span> compareElements (<span class="keyword">const</span> <a class="code" href="classXmlElement.html">XmlElement</a>* first, <span class="keyword">const</span> <a class="code" href="classXmlElement.html">XmlElement</a>* second);</div></div><!-- fragment --><p>..and this method must return:</p><ul>
<li>a value of &lt; 0 if the first comes before the second</li>
<li>a value of 0 if the two objects are equivalent</li>
<li>a value of &gt; 0 if the second comes before the first</li>
</ul>
<p>To improve performance, the compareElements() method can be declared as static or const.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">comparator</td><td>the comparator to use for comparing elements. </td></tr>
    <tr><td class="paramname">retainOrderOfEquivalentItems</td><td>if this is true, then items which the comparator says are equivalent will be kept in the order in which they currently appear in the array. This is slower to perform, but may be important in some cases. If it's false, a faster algorithm is used, but equivalent elements may be rearranged. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9fe9798ad1997c993ee35d7580a6189e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fe9798ad1997c993ee35d7580a6189e">&sect;&nbsp;</a></span>isTextElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool XmlElement::isTextElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if this element is a section of text. </p>
<p>Elements can either be an XML tag element or a secton of text, so this is used to find out what kind of element this one is.</p>
<dl class="section see"><dt>See also</dt><dd>getAllText, <a class="el" href="classXmlElement.html#aea61ae26c5c1e71f9119dd9dffac4f0d" title="Appends a section of text to this element. ">addTextElement</a>, <a class="el" href="classXmlElement.html#ad321a686465bf21ae7eb785b76d5e352" title="Removes all the text elements from this element. ">deleteAllTextElements</a> </dd></dl>

</div>
</div>
<a id="a5f834fecdf2afe9292a7f3e6259761fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f834fecdf2afe9292a7f3e6259761fe">&sect;&nbsp;</a></span>getText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classString.html">String</a>&amp; XmlElement::getText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the text for a text element. </p>
<p>Note that if you have an element like this:</p>
<div class="fragment"><div class="line">&lt;xyz&gt;hello&lt;/xyz&gt;</div></div><!-- fragment --><p>then calling getText on the "xyz" element won't return "hello", because that is actually stored in a special text sub-element inside the xyz element. To get the "hello" string, you could either call getText on the (unnamed) sub-element, or use <a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText()</a> to do this automatically.</p>
<p>Note that leading and trailing whitespace will be included in the string - to remove if, just call <a class="el" href="classString.html#a5ed648f71d99bb8aef15e8ba35422a30" title="Returns a copy of this string with any whitespace characters removed from the start and end...">String::trim()</a> on the result.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText</a>, <a class="el" href="classXmlElement.html#a2e215880df59a874b2d4d41800e4e7ef" title="Returns all the sub-text of a named child element. ">getChildElementAllSubText</a> </dd></dl>

</div>
</div>
<a id="ad0c14d8e9d0378e8a468e3d28067dde9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0c14d8e9d0378e8a468e3d28067dde9">&sect;&nbsp;</a></span>setText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>newText</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the text in a text element. </p>
<p>Note that this is only a valid call if this element is a text element. If it's not, then no action will be performed. If you're trying to add text inside a normal element, you probably want to use <a class="el" href="classXmlElement.html#aea61ae26c5c1e71f9119dd9dffac4f0d" title="Appends a section of text to this element. ">addTextElement()</a> instead. </p>

</div>
</div>
<a id="a7b9b9a3e739cbf28af0d569d649da776"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b9b9a3e739cbf28af0d569d649da776">&sect;&nbsp;</a></span>getAllSubText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::getAllSubText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns all the text from this element's child nodes. </p>
<p>This iterates all the child elements and when it finds text elements, it concatenates their text into a big string which it returns.</p>
<p>E.g.</p><div class="fragment"><div class="line">&lt;xyz&gt;hello &lt;x&gt;there&lt;/x&gt; world&lt;/xyz&gt;</div></div><!-- fragment --><p> if you called getAllSubText on the "xyz" element, it'd return "hello there world".</p>
<p>Note that leading and trailing whitespace will be included in the string - to remove if, just call <a class="el" href="classString.html#a5ed648f71d99bb8aef15e8ba35422a30" title="Returns a copy of this string with any whitespace characters removed from the start and end...">String::trim()</a> on the result.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#a2e215880df59a874b2d4d41800e4e7ef" title="Returns all the sub-text of a named child element. ">getChildElementAllSubText</a>, <a class="el" href="classXmlElement.html#a5f834fecdf2afe9292a7f3e6259761fe" title="Returns the text for a text element. ">getText</a>, <a class="el" href="classXmlElement.html#aea61ae26c5c1e71f9119dd9dffac4f0d" title="Appends a section of text to this element. ">addTextElement</a> </dd></dl>

</div>
</div>
<a id="a2e215880df59a874b2d4d41800e4e7ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e215880df59a874b2d4d41800e4e7ef">&sect;&nbsp;</a></span>getChildElementAllSubText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classString.html">String</a> XmlElement::getChildElementAllSubText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>childTagName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>defaultReturnValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns all the sub-text of a named child element. </p>
<p>If there is a child element with the given tag name, this will return all of its sub-text (by calling <a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText()</a> on it). If there is no such child element, this will return the default string passed-in.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText</a> </dd></dl>

</div>
</div>
<a id="aea61ae26c5c1e71f9119dd9dffac4f0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea61ae26c5c1e71f9119dd9dffac4f0d">&sect;&nbsp;</a></span>addTextElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::addTextElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends a section of text to this element. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#a5f834fecdf2afe9292a7f3e6259761fe" title="Returns the text for a text element. ">getText</a>, <a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText</a> </dd></dl>

</div>
</div>
<a id="ad321a686465bf21ae7eb785b76d5e352"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad321a686465bf21ae7eb785b76d5e352">&sect;&nbsp;</a></span>deleteAllTextElements()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void XmlElement::deleteAllTextElements </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Removes all the text elements from this element. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classXmlElement.html#a9fe9798ad1997c993ee35d7580a6189e" title="Returns true if this element is a section of text. ">isTextElement</a>, <a class="el" href="classXmlElement.html#a5f834fecdf2afe9292a7f3e6259761fe" title="Returns the text for a text element. ">getText</a>, <a class="el" href="classXmlElement.html#a7b9b9a3e739cbf28af0d569d649da776" title="Returns all the text from this element&#39;s child nodes. ">getAllSubText</a>, <a class="el" href="classXmlElement.html#aea61ae26c5c1e71f9119dd9dffac4f0d" title="Appends a section of text to this element. ">addTextElement</a> </dd></dl>

</div>
</div>
<a id="ab768aee16a1cf791bd6c61cc2abbe01b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab768aee16a1cf791bd6c61cc2abbe01b">&sect;&nbsp;</a></span>createTextElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXmlElement.html">XmlElement</a>* XmlElement::createTextElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classString.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a text element that can be added to a parent element. </p>

</div>
</div>
<a id="a3801695cf0ab99652fecc47edcaeb80a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3801695cf0ab99652fecc47edcaeb80a">&sect;&nbsp;</a></span>isValidXmlName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XmlElement::isValidXmlName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a>&#160;</td>
          <td class="paramname"><em>possibleName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if a given string is a valid XML name. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__XmlElement_8h.html">juce_XmlElement.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>