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
|
<Type Name="XmlDocument" FullName="System.Xml.XmlDocument">
<TypeSignature Maintainer="auto" Language="C#" Value="public class XmlDocument : System.Xml.XmlNode" />
<AssemblyInfo>
<AssemblyName>System.Xml</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>To be added</ThreadSafetyStatement>
<Docs>
<summary>The root node of an XML document.</summary>
<remarks>
<para>An Xml document is the root node of an Xml tree. The root node contains optional <see cref="T:System.Xml.XmlDeclaration" />, zero or more <see cref="T:System.Xml.XmlProcessingInstruction" />s, zero or more <see cref="T:System.Xml.XmlWhitespace" />s, zero or more <see cref="T:System.Xml.XmlComment" />s, optional <see cref="T:System.Xml.XmlDocumentType" /> which becomes the <see cref="P:System.Xml.XmlDocument.DocumentType" />, and exactly one <see cref="T:System.Xml.XmlElement" /> which is the <see cref="P:System.Xml.XmlDocument.DocumentElement" />.
</para>
<para>
Note that an XmlDocument is not same as the <see cref="P:System.Xml.XmlDocument.DocumentElement" />. The document element is the top-level element node. An XmlDocument is not an element; it is the parent of the top-most element. Whereas all element nodes have parent nodes, XmlDocuments do not have parents.
</para>
<para>Note that this class and the entire Document Object Model classes in this namespace is part of ECMA-335 CLI standard. Also note that there are many members which has corresponding interface member in any of W3C Document Object Model specifications.
</para>
<para>
XmlDocument provides a set of node editing event system. <see cref="E:System.Xml.XmlDocument.NodeInserting" />, <see cref="E:System.Xml.XmlDocument.NodeInserted" />, <see cref="E:System.Xml.XmlDocument.NodeChanging" />, <see cref="E:System.Xml.XmlDocument.NodeChanged" />, <see cref="E:System.Xml.XmlDocument.NodeRemoving" /> and <see cref="E:System.Xml.XmlDocument.NodeRemoved" /> are the events and all of them are typed as <see cref="T:System.Xml.XmlNodeChangedEventHandler" />.
</para>
<para>
When a child node is being replaced, or the node being inserted is actually attached to another parent, then first <see cref="E:System.Xml.XmlDocument.NodeRemoving" /> is raised. However, when only the character data of a node is changed, then it just raises <see cref="E:System.Xml.XmlDocument.NodeChanging" /> and no insertion and removal events are raised.
</para>
<para>
For attribute nodes, the event system is more complicated. If an attribute is replacing another one, then first <see cref="E:System.Xml.XmlDocument.NodeRemoving" /> is raised. However, if <see cref="P:System.Xml.XmlAttribute.Value" /> is being set, then the behavior varies depending on how many children are under the attribute node. If there was nothing, then this NodeInserting event is raised. If there was only one <see cref="T:System.Xml.XmlCharacterData" /> child, then <see cref="E:System.Xml.XmlDocument.NodeChanging" /> is raised. In other cases, <see cref="E:System.Xml.XmlDocument.NodeRemoving" /> is raised for each existing child, and then this NodeInserting event is raised. Note that in that single character data child case, the target node of <see cref="E:System.Xml.XmlDocument.NodeChanging" /> and <see cref="E:System.Xml.XmlDocument.NodeChanged" /> events is not the attribute node, but the child character data node of the attribute.
</para>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Xml.XmlNode</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Members>
<Member MemberName="Save">
<MemberSignature Language="C#" Value="public virtual void Save (System.Xml.XmlWriter xmlWriter);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xmlWriter" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<summary>Writes the entire document into argument <see cref="T:System.Xml.XmlWriter" />.</summary>
<param name="xmlWriter">An <see cref="T:System.Xml.XmlWriter" /> to save the entire document.</param>
<remarks>
<para>
Saves the entire document into the argument <see cref="T:System.Xml.XmlWriter" />. It internally invokes <see cref="M:System.Xml.XmlNode.WriteTo" /> method for each child of the document.
</para>
<para>
This method does not close argument XmlWriter.
</para>
<para>
This method does not modify properties of the argument XmlWriter such as <see cref="P:System.Xml.XmlTextWriter.Formatting" />. This method does not write XML declaration if it explicitly exists in this XmlDocument.
</para>
<para>
Note that this method does not use <see cref="P:System.Xml.XmlDeclaration.Encoding" /> property to specify output encoding.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Save">
<MemberSignature Language="C#" Value="public virtual void Save (System.IO.TextWriter writer);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.IO.TextWriter" />
</Parameters>
<Docs>
<summary>Writes the entire document into argument <see cref="T:System.IO.TextWriter" />.</summary>
<param name="writer">A <see cref="T:System.IO.TextWriter" /> object to save the entire document.</param>
<remarks>
<para>Writes the entire document into argument TextWriter. This method internally creates an XmlWriter instance and invokes <see cref="M:System.Xml.XmlDocument.Save(XmlWriter)" /> method.
</para>
<para>This method does not close the argument TextWriter.
</para>
<para>
With this method, the output XML is indented.
</para>
<para>The output XML might contain XML declaration, in the same way as <see cref="T:System.Xml.XmlTextWriter" /> does, if it is required.
</para>
<para>
Note that this method does not use <see cref="P:System.Xml.XmlDeclaration.Encoding" /> property to specify output encoding.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Save">
<MemberSignature Language="C#" Value="public virtual void Save (System.IO.Stream outStream);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="outStream" Type="System.IO.Stream" />
</Parameters>
<Docs>
<summary>Writes the entire document into argument <see cref="T:System.IO.Stream" />.</summary>
<param name="outStream">A <see cref="T:System.IO.Stream" /> object to save the entire document. It must be writable.</param>
<remarks>
<para>
Writes the entire document into argument Steram. This method internally creates an XmlWriter instance considering <see cref="P:System.Xml.XmlDeclaration.Encoding" /> property, and invokes <see cref="M:System.Xml.XmlDocument.Save(XmlWriter)" /> method.
</para>
<para>This method does not close the argument Steram.
</para>
<para>
With this method, the output XML is indented.
</para>
<para>The output XML might contain XML declaration, in the same way as <see cref="T:System.Xml.XmlTextWriter" /> does, if it is required.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Save">
<MemberSignature Language="C#" Value="public virtual void Save (string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<summary>Writes the entire document into specified file.</summary>
<param name="filename">A filename to save the entire XML document.</param>
<remarks>
<para>
It creates a file from the argument filename and writes the entire document into the file. This method internally creates an XmlWriter instance considering <see cref="P:System.Xml.XmlDeclaration.Encoding" /> property, and invokes <see cref="M:System.Xml.XmlDocument.Save(XmlWriter)" /> method.
</para>
<para>
With this method, the output XML is indented.
</para>
<para>The output XML might contain XML declaration, in the same way as <see cref="T:System.Xml.XmlTextWriter" /> does, if it is required.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="LoadXml">
<MemberSignature Language="C#" Value="public virtual void LoadXml (string xml);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xml" Type="System.String" />
</Parameters>
<Docs>
<summary>Loads the argument as raw XML string.</summary>
<param name="xml">raw XML markup string.</param>
<remarks>
<para>Loads the argument string as raw XML string. It internally creates an <see cref="T:System.Xml.XmlReader" /> instance and invokes <see cref="M:System.Xml.XmlDocument.Load(XmlReader)" />.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Load">
<MemberSignature Language="C#" Value="public virtual void Load (System.Xml.XmlReader xmlReader);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="xmlReader" Type="System.Xml.XmlReader" />
</Parameters>
<Docs>
<summary>Loads the argument <see cref="T:System.Xml.XmlReader" /> as document content nodes.</summary>
<param name="xmlReader">An <see cref="T:System.Xml.XmlReader" /> instance whose contents are being loaded.</param>
<remarks>
<para>Loads the argument <see cref="T:System.Xml.XmlReader" /> as its child. It clears existing child nodes and then internally invokes <see cref="M:System.Xml.XmlDocument.ReadNode(XmlReader)" /> and appends the returned nodes as its child.
</para>
<para>
This method does not validate the input document, but if the argument is <see cref="T:System.Xml.XmlValidatingReader" />, then it will report validation errors if any.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Load">
<MemberSignature Language="C#" Value="public virtual void Load (System.IO.TextReader txtReader);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="txtReader" Type="System.IO.TextReader" />
</Parameters>
<Docs>
<summary>Read the argument <see cref="T:System.IO.TextReader" /> as XML document and loads it as content nodes.</summary>
<param name="txtReader">A <see cref="T:System.IO.TextReader" /> object to be loaded.</param>
<remarks>
<para>Creates an <see cref="T:System.Xml.XmlReader" /> instance from the argument <see cref="T:System.IO.TextReader" /> and loads it as contents of this document. It internally creates an <see cref="T:System.Xml.XmlReader" /> instance and invokes <see cref="M:System.Xml.XmlDocument.Load(XmlReader)" />.
</para>
<para>
This method does not validate the input document.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Load">
<MemberSignature Language="C#" Value="public virtual void Load (System.IO.Stream inStream);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="inStream" Type="System.IO.Stream" />
</Parameters>
<Docs>
<summary>Read the argument <see cref="T:System.IO.Stream" /> as XML document and loads it as content nodes.</summary>
<param name="inStream">A <see cref="T:System.IO.Stream" /> object to be loaded. It must be readable.</param>
<remarks>
<para>Creates an <see cref="T:System.Xml.XmlReader" /> instance from the argument <see cref="T:System.IO.Stream" /> and loads it as contents of this document. It internally creates an <see cref="T:System.Xml.XmlReader" /> instance and invokes <see cref="M:System.Xml.XmlDocument.Load(XmlReader)" />.
</para>
<para>
This method does not validate the input document.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Load">
<MemberSignature Language="C#" Value="public virtual void Load (string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<summary>Read the argument <see cref="T:System.IO.Stream" /> as XML document and loads it as content nodes.</summary>
<param name="filename">A URI string to load as the document contents.</param>
<remarks>
<para>Creates an <see cref="T:System.Xml.XmlReader" /> instance from the argument URI string and loads it as contents of this document. It internally creates an <see cref="T:System.Xml.XmlReader" /> instance and invokes <see cref="M:System.Xml.XmlDocument.Load(XmlReader)" />.
</para>
<para>
This method does not validate the input document.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ReadNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNode ReadNode (System.Xml.XmlReader reader);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="reader" Type="System.Xml.XmlReader" />
</Parameters>
<Docs>
<summary>Read an XML node from argument <see cref="T:System.Xml.XmlReader" /> and returns it as an <see cref="T:System.Xml.XmlNode" /> object.</summary>
<param name="reader">An <see cref="T:System.Xml.XmlReader" /> to read.</param>
<returns>An <see cref="T:System.Xml.XmlNode" /> object that represents the node in the argument XmlReader, or null if the reader is not ready to be consumed.</returns>
<remarks>
<para>
This method consumes current node in the argument XmlReader and creates an instance of one of the derived class of <see cref="T:System.Xml.XmlNode" />. The returned node contains all of the children. After this method was invoked, the argument XmlReader is positioned either at the next sibling node in the tree, or at the <see cref="F:System.Xml.XmlNodeType.EndElement" /> of the parent element.
</para>
<para>
If the argument XmlReader is at <see cref="F:System.Xml.ReadState.Initial" /> state, then first it moves to the first node and then consumes it as current node.
</para>
<para>
Unlike <see cref="M:System.Xml.XmlTextReader.Read" />, this method rejects such entity reference nodes whose referenced entity does not exist. In such cases, an <see cref="T:System.Xml.XmlException" /> is thrown.
</para>
<para>
For entity reference nodes, if the argument XmlReader can resolve entities as indicated by <see cref="P:System.Xml.XmlReader.CanResolveEntity" /> property, it resolves the entity using <see cref="M:System.Xml.XmlReader.ResolveEntity" /> method and appends the resolved children as the content of the node, instead of the entity reference node itself.
</para>
<para>
If the argument XmlReader is positioned at <see cref="F:System.Xml.XmlNodeType.EndElement" />, a <see cref="T:System.NullReferenceException" /> is thrown.
</para>
<para>
If the argument XmlReader is neither in the state of <see cref="F:System.Xml.ReadState.Initial" /> nor the state of <see cref="F:System.Xml.ReadState.Interactive" />, then it returns null.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNode CreateNode (System.Xml.XmlNodeType type, string name, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="System.Xml.XmlNodeType" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates an <see cref="T:System.Xml.XmlNode" /> instance.</summary>
<param name="type">
<see cref="T:System.Xml.XmlNodeType" /> that indicates the type of node to be created.</param>
<param name="name">Name string of the node to be created.</param>
<param name="namespaceURI">Namespace URI string of the node to be created.</param>
<returns>An <see cref="T:System.Xml.XmlNode" /> instance as indicated by the parameters.</returns>
<remarks>
<para>
Creates an <see cref="T:System.Xml.XmlNode" /> instance, according to the arguments. It internally invokes <see cref="M:System.Xml.XmlDocument.CreateNode(string,string,string)" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNode CreateNode (string nodeTypeString, string name, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="nodeTypeString" Type="System.String" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates an <see cref="T:System.Xml.XmlNode" /> instance.</summary>
<param name="nodeTypeString">Node type name that indicates the type of node to be created.</param>
<param name="name">Name string of the node to be created.</param>
<param name="namespaceURI">Namespace URI string of the node to be created.</param>
<returns>An <see cref="T:System.Xml.XmlNode" /> instance as indicated by the parameters.</returns>
<remarks>
<para>
Creates an <see cref="T:System.Xml.XmlNode" /> instance. It internally invokes <see cref="M:System.Xml.XmlDocument.CreateNode(XmlNodeType,string,string)" /> method, with interpreted <see cref="T:System.Xml.XmlNodeType" /> from <paramref name="nodeTypeString" /> parameter, as listed below:
</para>
<list type="table">
<listheader>
<term>String</term>
<description>Corresponding node type</description>
</listheader>
<item>
<term>attribute</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Attribute" />
</description>
</item>
<item>
<term>cdatasection</term>
<description>
<see cref="F:System.Xml.XmlNodeType.CDATA" />
</description>
</item>
<item>
<term>comment</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Comment" />
</description>
</item>
<item>
<term>document</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Document" />
</description>
</item>
<item>
<term>documentfragment</term>
<description>
<see cref="F:System.Xml.XmlNodeType.DocumentFragment" />
</description>
</item>
<item>
<term>documenttype</term>
<description>
<see cref="F:System.Xml.XmlNodeType.DocumentType" />
</description>
</item>
<item>
<term>element</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Element" />
</description>
</item>
<item>
<term>entityreference</term>
<description>
<see cref="F:System.Xml.XmlNodeType.EntityReference" />
</description>
</item>
<item>
<term>processinginstruction</term>
<description>
<see cref="F:System.Xml.XmlNodeType.ProcessingInstruction" />
</description>
</item>
<item>
<term>significantwhitespace</term>
<description>
<see cref="F:System.Xml.XmlNodeType.SignificantWhitespace" />
</description>
</item>
<item>
<term>text</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Text" />
</description>
</item>
<item>
<term>whitespace</term>
<description>
<see cref="F:System.Xml.XmlNodeType.Whitespace" />
</description>
</item>
</list>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNode CreateNode (System.Xml.XmlNodeType type, string prefix, string name, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="System.Xml.XmlNodeType" />
<Parameter Name="prefix" Type="System.String" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates an <see cref="T:System.Xml.XmlNode" /> instance.</summary>
<param name="type">
<see cref="T:System.Xml.XmlNodeType" /> that indicates the type of node to be created.</param>
<param name="prefix">Prefix string of the node to be created.</param>
<param name="name">Local name string of the node to be created.</param>
<param name="namespaceURI">Namespace URI string of the node to be created.</param>
<returns>An <see cref="T:System.Xml.XmlNode" /> instance as indicated by the parameters.</returns>
<remarks>
<para>
Creates an <see cref="T:System.Xml.XmlNode" /> instance, according to the arguments. The type of returned node is determined by the method that it invokes corresponding method for the <paramref name="type" /> argument, as listed below:
</para>
<list type="table">
<listheader>
<term>XmlNodeType argument</term>
<description>The method used to create returned value</description>
</listheader>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Attribute" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateAttribute" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.CDATA" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateCDataSection" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Comment" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateComment" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Document" />
</term>
<description>returns a new <see cref="T:System.Xml.XmlDocument" /> instance.</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.DocumentFragment" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateDocumentFragment" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.DocumentType" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateDocumentType" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Element" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateElement" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.EntityReference" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateEntityReference" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.ProcessingInstruction" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateProcessingInstruction" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.SignificantWhitespace" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateSignificantWhitespace" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Text" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateTextNode" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.Whitespace" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateWhitespace" />
</description>
</item>
<item>
<term>
<see cref="F:System.Xml.XmlNodeType.XmlDeclaration" />
</term>
<description>
<see cref="M:System.Xml.XmlDocument.CreateXmlDeclaration" />
</description>
</item>
</list>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateElement">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlElement CreateElement (string prefix, string localName, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="prefix" Type="System.String" />
<Parameter Name="localName" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates an <see cref="T:System.Xml.XmlElement" /> object.</summary>
<param name="prefix">a string which becomes the prefix of the returned element.</param>
<param name="localName">a string which becomes the local name of the returned element.</param>
<param name="namespaceURI">a string which becomes the namespace URI of the returned element.</param>
<returns>A new <see cref="T:System.Xml.XmlElement" /> instance whose <see cref="P:System.Xml.XmlElement.OwnerDocument" /> is this document.</returns>
<remarks>
<para>
Creates a new XmlElement instance with specified name components. <paramref name="localName" /> must be a valid XML Name string.
</para>
<para>
If the <see cref="P:DocumentType" /> of this document exists and there is a corresponding ATTLIST definition for this element, the returned node contains default attributes in its <see cref="P:System.Xml.XmlElement.Attributes" /> property.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateAttribute">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlAttribute CreateAttribute (string prefix, string localName, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlAttribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="prefix" Type="System.String" />
<Parameter Name="localName" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates an <see cref="T:System.Xml.XmlAttribute" /> object.</summary>
<param name="prefix">a string which becomes the prefix of the returned attribute.</param>
<param name="localName">a string which becomes the local name of the returned attribute.</param>
<param name="namespaceURI">a string which becomes the namespace URI of the returned attribute.</param>
<returns>A new <see cref="T:System.Xml.XmlAttribute" /> instance whose <see cref="P:System.Xml.XmlAttribute.OwnerDocument" /> is this document.</returns>
<remarks>
<para>
Creates a new XmlAttribute instance with specified name components. <paramref name="localName" /> must be a valid XML Name string.
</para>
<para>
If the <paramref name="prefix" /> parameter is "xmlns" or <paramref name="localName" /> is "xmlns" and the prefix is an empty string, then "http://www.w3.org/2000/xmlns/" is automatically supplied for namespace URI of the returned node. Similarly, "http://www.w3.org/XML/1998/namespace" is supplied if the prefix is "xml".
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ImportNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNode ImportNode (System.Xml.XmlNode node, bool deep);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="node" Type="System.Xml.XmlNode" />
<Parameter Name="deep" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Used to import an <see cref="T:System.Xml.XmlNode" /> which comes from another document instance.</summary>
<param name="node">An <see cref="T:System.Xml.XmlNode" /> to import.</param>
<param name="deep">a boolean value that indicates whether this method copies the descendants of the argument node.</param>
<returns>An <see cref="T:System.Xml.XmlNode" /> that is imported.</returns>
<remarks>
<para>
This method is used to "import" a node which resides another XmlDocument. XmlNode objects cannot be added if its <see cref="P:System.Xml.XmlNode.OwnerDocument" /> is different from this object. This method creates a "clone" of argument node as its own node that can be added to the tree of this document.
</para>
<para>
If <paramref name="deep" /> is specified, then it recursively imports descendant nodes and appended to the corresponding parent node. Regardless of this parameter, attribute nodes are copied. They are not "children" of the owner node.
</para>
<para>
The returned node is "detached". It is not appended to the corresponding <see cref="P:System.Xml.XmlNode.ParentNode" /> of the argument <paramref name="node" /> even if it exists.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetElementById">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlElement GetElementById (string elementId);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="elementId" Type="System.String" />
</Parameters>
<Docs>
<summary>Returns an <see cref="T:System.Xml.XmlElement" /> node whose ID matches the argument string.</summary>
<param name="elementId">An ID string to identify the target element.</param>
<returns>An <see cref="T:System.Xml.XmlElement" /> instance that matches the argument ID, or null if there is no such element.</returns>
<remarks>
<para>
This method tries to find an element whose ID is equivalent to the argument string. ID is assigned only when the element has corresponding attribute whose type is ID. If there is no such element, then this method returns null.
</para>
<para>
The type of an attribute is assumed from its <see cref="P:System.Xml.XmlDocument.DocumentType" /> definition. Note that the name of an attribute is nothing to do with the type. The type of attribute whose name is "id" is not ID unless it is explicitly defined.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetElementsByTagName">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNodeList GetElementsByTagName (string localName, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="localName" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>Returns a node list which contains descendant elements of this document which match the specified name.</summary>
<param name="localName">Local name of the target elements to find.</param>
<param name="namespaceURI">Namespace URI of the target elements to find.</param>
<returns>
<see cref="T:System.Xml.XmlNodeList" /> that contains the resulting elements.</returns>
<remarks>
<para>
It searches such descendant element nodes of this document whose local name and namespace URI matches the arguments, and returns the list of the matching nodes as an <see cref="T:System.Xml.XmlNodeList" />.
</para>
<para>
If <paramref name="localName" /> is "*", then it indicates to match any of the local name of the elements. If <paramref name="namespaceURI" /> is "*", then it indicates to match any of the namespace URI of the elements.
</para>
<para>
Note that it searches the entire descendants, not limited to the children. Also note that it returns only element nodes.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetElementsByTagName">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlNodeList GetElementsByTagName (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>Returns a node list which contains descendant elements of this document which match the specified name.</summary>
<param name="name">Name of the target elements to find.</param>
<returns>
<see cref="T:System.Xml.XmlNodeList" /> that contains the resulting elements.</returns>
<remarks>
<para>
It searches such descendant element nodes of this document whose name matches the argument, and returns the list of the matching nodes as an <see cref="T:System.Xml.XmlNodeList" />.
</para>
<para>
If <paramref name="name" /> is "*", then it indicates to match all of the elements.
</para>
<para>
Note that it searches the entire descendants, not limited to the children. Also note that it returns only element nodes.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateWhitespace">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlWhitespace CreateWhitespace (string text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlWhitespace</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="text">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlWhitespace'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateSignificantWhitespace">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlSignificantWhitespace CreateSignificantWhitespace (string text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlSignificantWhitespace</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="text">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlSignificantWhitespace'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateTextNode">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlText CreateTextNode (string text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlText</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="text">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlText'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateXmlDeclaration">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlDeclaration CreateXmlDeclaration (string version, string encoding, string standalone);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlDeclaration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.String" />
<Parameter Name="encoding" Type="System.String" />
<Parameter Name="standalone" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="version">To be added: an object of type 'string'</param>
<param name="encoding">To be added: an object of type 'string'</param>
<param name="standalone">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlDeclaration'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateProcessingInstruction">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlProcessingInstruction CreateProcessingInstruction (string target, string data);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlProcessingInstruction</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
<Parameter Name="data" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="target">To be added: an object of type 'string'</param>
<param name="data">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlProcessingInstruction'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateEntityReference">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlEntityReference CreateEntityReference (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlEntityReference</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="name">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlEntityReference'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateDocumentFragment">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlDocumentFragment CreateDocumentFragment ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlDocumentFragment</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>To be added: an object of type 'XmlDocumentFragment'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateDocumentType">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlDocumentType CreateDocumentType (string name, string publicId, string systemId, string internalSubset);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlDocumentType</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="publicId" Type="System.String" />
<Parameter Name="systemId" Type="System.String" />
<Parameter Name="internalSubset" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="name">To be added: an object of type 'string'</param>
<param name="publicId">To be added: an object of type 'string'</param>
<param name="systemId">To be added: an object of type 'string'</param>
<param name="internalSubset">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlDocumentType'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateComment">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlComment CreateComment (string data);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlComment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="data" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="data">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlComment'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateCDataSection">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlCDataSection CreateCDataSection (string data);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlCDataSection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="data" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="data">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlCDataSection'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateAttribute">
<MemberSignature Language="C#" Value="public System.Xml.XmlAttribute CreateAttribute (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlAttribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="name">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlAttribute'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateElement">
<MemberSignature Language="C#" Value="public System.Xml.XmlElement CreateElement (string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="name">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlElement'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateAttribute">
<MemberSignature Language="C#" Value="public System.Xml.XmlAttribute CreateAttribute (string qualifiedName, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlAttribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="qualifiedName" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="qualifiedName">To be added: an object of type 'string'</param>
<param name="namespaceURI">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlAttribute'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateElement">
<MemberSignature Language="C#" Value="public System.Xml.XmlElement CreateElement (string qualifiedName, string namespaceURI);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="qualifiedName" Type="System.String" />
<Parameter Name="namespaceURI" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="qualifiedName">To be added: an object of type 'string'</param>
<param name="namespaceURI">To be added: an object of type 'string'</param>
<returns>To be added: an object of type 'XmlElement'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public XmlDocument ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Creates a new object of this type.</summary>
<remarks>
<para>
Creates a new document object. It is equivalent to <see cref="M:System.Xml.XmlDocument.ctor(System.Xml.XmlNameTable)" /> with a new <see cref="T:NameTable" /> object as its argument.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public XmlDocument (System.Xml.XmlNameTable nt);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="nt" Type="System.Xml.XmlNameTable" />
</Parameters>
<Docs>
<summary>Creates a new object of this type, with the argument <see cref="T:System.Xml.XmlNameTable" /> as its <see cref="P:System.Xml.XmlDocument.NameTable" />.</summary>
<param name="nt">An <see cref="T:System.Xml.XmlNameTable" /> object to store name strings.</param>
<remarks>
<para>
Creates a new document object, using argument <see cref="T:System.Xml.XmlNameTable" /> as its <see cref="P:System.Xml.XmlDocument.NameTable" /> property.
</para>
<para>
The XmlNameTable is added some name strings used in the document object model, such as "#element" (node names), "xml", "lang" and "space" (predefined xml attributes).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DocumentType">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlDocumentType DocumentType { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlDocumentType</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the document type definition (DTD).</summary>
<value>
<see cref="T:System.Xml.XmlDocumentType" /> object that represents the document type definition (DTD) of this document, or null if none as such.</value>
<remarks>
<para>
This property holds an <see cref="T:System.Xml.XmlDocumentType" /> object that represents DTD (document type definition) of this document.
</para>
<para>
DTD node can be created either from <see cref="T:System.Xml.XmlDocument.ReadNode" /> where the input <see cref="T:System.Xml.XmlReader" /> was positioned at DTD, or <see cref="T:System.Xml.XmlDocument.CreateDocumentType" /> method. Note that there is no standard way to provide DTD node in W3C Document Object Model specification. They are just a proprietary extension.
</para>
<para>
This property is an equivalent of "doctype" attribute of Document interface in W3C Document Object Model Core.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Implementation">
<MemberSignature Language="C#" Value="public System.Xml.XmlImplementation Implementation { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlImplementation</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Xml.XmlImplementation" /> which created this document object, if any.</summary>
<value>
<see cref="T:System.Xml.XmlImplementation" /> object which created this object, or null if there is no such relevant object.</value>
<remarks>
<para>
If this document is created from <see cref="M:System.Xml.XmlImplementation.CreateDocument" /> method, then this property returns the source <see cref="T:System.Xml.XmlImplementation" /> object. If not, then it returns null.
</para>
<para>
This property is an equivalent of "implementation" attribute of Document interface in W3C Document Object Model Core specification.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DocumentElement">
<MemberSignature Language="C#" Value="public System.Xml.XmlElement DocumentElement { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlElement</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the document element, if any.</summary>
<value>an <see cref="T:System.Xml.XmlElement" /> object that represents the document element, or null if it does not exist yet.</value>
<remarks>
<para>
It represents the document element (root element) of this document. A well-formed XML document must have exactly one element, but this property could be null.
</para>
<para>
This property is an equivalent of "documentElement" attribute of Document interface in W3C Document Object Model Core specification.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="XmlResolver">
<MemberSignature Language="C#" Value="public virtual System.Xml.XmlResolver XmlResolver { set; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlResolver</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets an xml resolver that is used to resolve external resources.</summary>
<value>An <see cref="T:System.Xml.XmlResolver" /> object to resolve external resources, or null to prohibit to resolve external resources.</value>
<remarks>
<para>
This property is used to resolve external resources such as SYSTEM ID in document type or entity declaration. This property is used in such methods as <see cref="M:System.Xml.XmlDocument.Load" />, <see cref="M:System.Xml.XmlDocument.LoadXml" /> or <see cref="P:System.Xml.XmlNode.InnerXml" />.
</para>
<para>
By default this property holds an <see cref="T:System.Xml.XmlUrlResolver" /> object. Setting null to this property indicates that it never tries to resolve external resources.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NameTable">
<MemberSignature Language="C#" Value="public System.Xml.XmlNameTable NameTable { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNameTable</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an <see cref="T:System.Xml.XmlNameTable" /> object that stores all name strings used in this document.</summary>
<value>an <see cref="T:System.Xml.XmlNameTable" /> that stores all name strings.</value>
<remarks>
<para>
This property returns an <see cref="T:System.Xml.XmlNameTable" /> object that stores all name strings used in the entire descendants of this document.
</para>
<para>
It returns the same name table as its constructor was passed. In case that this object is created via the default constructor, it is a new <see cref="T:NameTable" /> object.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PreserveWhitespace">
<MemberSignature Language="C#" Value="public bool PreserveWhitespace { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets or sets a flag that indicates whether this document preserves whitespace nodes on loading content.</summary>
<value>A boolean value that indicates whether this document preserves whitespacenodes when it loads the document content.</value>
<remarks>
<para>
When loading XML content to this document via such methods like <see cref="M:System.Xml.XmlDocument.Load" /> or <see cref="M:System.Xml.XmlDocument.LoadXml" />, this property is used to indicate whether it preserves such nodes whose <see cref="P:System.Xml.XmlReader.NodeType" /> is <see cref="F:XmlNodeType.Whitespace" /> or not. If this property is true, then those whitespace nodes are loaded as <see cref="T:System.Xml.XmlWhitespace" /> nodes. If false, then they are discarded.
</para>
<para>
Whitespace node in XML is such a node whose character data consists only of &#x9; &#xA; &#xD; and &#x20;.
</para>
<para>
The default value is false.
</para>
<para>
This flag does not indicate to ignore significant whitespaces (those whitespace nodes that are descendant of such element that has such "xml:space" attribute whose value is "preserve"), i.e. it does not discard those nodes whose <see cref="P:XmlReader.NodeType" /> is <see cref="F:XmlNodeType.SignificantWhitespace" />. Also, it does not indicate to ignore such text or CDATA section nodes whose character data consist of only whitespace characters.
</para>
<para>Note that there is no corresponding interface member in any of W3C Document Object Model specifications.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeInserting">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeInserting;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised before a node is being inserted.</summary>
<remarks>
<para>
This event is raised when a node is being inserted as a child or an attribute of any nodes in this document. It is invoked before the node is actually inserted.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeInserted">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeInserted;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised after a node was inserted.</summary>
<remarks>
<para>
This event is raised when a node was inserted as a child of any nodes in this document. It is invoked after the node was actually inserted.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeRemoving">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeRemoving;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised before a node is being removed.</summary>
<remarks>
<para>
This event is raised when a node is being removed from its parent node, or an attribute is being removed from its owner element, which resides in this document. It is invoked before the node is actually removed.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeRemoved">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeRemoved;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised after a node was removed.</summary>
<remarks>
<para>
This event is raised after a node was removed from its parent node, or an attribute was removed from its owner element, which resides in this document. It is invoked after the node was actually removed.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeChanging">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeChanging;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised before the value of a node is being changed.</summary>
<remarks>
<para>
This event is raised when the value of a node which resides in this document is being changed. It is invoked before the value is actually changed.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeChanged">
<MemberSignature Language="C#" Value="public event System.Xml.XmlNodeChangedEventHandler NodeChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.Xml.XmlNodeChangedEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raised after the value of a node was changed.</summary>
<remarks>
<para>
This event is raised after the value of a node which resides in this document was changed. It is invoked after the value was actually changed.
</para>
<para>
For the entire document event system, see <see cref="T:System.Xml.XmlDocument" />.
</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
|