CSharp System.Xml XML Document

CSharp examples for System.Xml:XML Document

Description

Click the following links for the tutorial for System.Xml and XML Document.

  1. Method to obtain a List of XML elements within an XMLDocument, given the element name.
  2. Method to obtain an XML element within an XMLDocument, given the element name.
  3. Add an XML attribute to an element
  4. Load XML Document from Stream
  5. Creates XML document to a file.
  6. Saves an XML document to a memory stream.
  7. Get XML Nodes from XmlDocument
  8. Create XML Document


  9. Method to convert a XmlDocument to string.
  10. Deletes a field from all records on the specified path from XmlDocument.
  11. Inserts a record with multiple values at bottom of hierarchy into XmlDocument.
  12. Returns a DataTable for all rows on the path from XmlDocument
  13. Returns an array of values for the specified field for all rows on the path from XmlDocument.
  14. Update a single field in all records in the specified path in XmlDocument.
  15. Get Node XML from XmlDocument
  16. Unlike XmlNode.AppendChild(), this one works regardless of if they have the same OwnerDocument or not. Unless there's a Scheme


  17. Add XML Element to XmlDocument
  18. Load Xml Document
  19. Save Xml Document
  20. Create Document from root name
  21. print an xml document to string; this can be necessary for transmitting between server and client, since XmlDocument is not serializable
  22. Get Xml Document from String
  23. Serializes an XmlDocument to an instance object of type T
  24. Creates the XML document.
  25. Creates the XML document element.
  26. Selects the required value from XML Document via xpath.
  27. Creates XML Attribute and assigns a value, to the specified XmlDocument and XmlElement.
  28. Returns a validating XML document for a given file.
  29. Returns a non-validating XML document for a given file.
  30. Clone XML Element To Document
  31. Add Elements XDocument
  32. Escapes the specified text (or string version of an object) and returns a string safe to embed with an Xml document.
  33. Convert String To Xml Document
  34. Save XmlDocument to TextWriter
  35. String To Xml Document
  36. Get Config As Xml Document
  37. Get XDocument from file
  38. Get Xml Document from file
  39. Init New Xml Document
  40. Create Xml Declaration
  41. Inserts a record with multiple values at bottom of XML hierarchy. This is analogous to inserting a column of data.