Click or drag to resize

XmlExtensions Class

Defines extension functions related to Xml elements.
Inheritance Hierarchy
SystemObject
  GSF.XmlXmlExtensions

Namespace: GSF.Xml
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static class XmlExtensions
View Source

The XmlExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodApplyXSLTransform Transforms an XML document using the given XSL template.
Public Extension MethodFormat Formats the contents of an XML element and returns the result.
Public Extension MethodGetAttributeValueSafely gets or sets an XML node's attribute.
Public Extension MethodGetDataSet Gets a data set object from an XML data set formatted as a String.
Public Extension MethodGetXmlNode(XmlDocument, String)Gets an XML node from given path, creating the entire path if it does not exist.
Public Extension MethodGetXmlNode(XmlNode, String)Gets an XML node from given path, creating the entire path if it does not exist.
Public Extension MethodGetXmlNode(XmlDocument, String, Boolean)Gets an XML node from given path, creating the entire path if it does not exist.
Public Extension MethodGetXmlNode(XmlNode, String, Boolean)Gets an XML node from given path, creating the entire path if it does not exist.
Public Extension MethodIs Finds all attributes queried from WhereAttribute(IEnumerableXElement, String) that match attributeValue.
Public Extension MethodSetAttributeValueSafely sets an XML node's attribute.
Public Extension MethodTransformAll(XDocument, XName, FuncXElement, Int32, Object) Transforms all elements in the given document matching the given name using the given selector function to perform the transformation.
Public Extension MethodTransformAll(XDocument, XName, FuncXElement, Object) Transforms all elements in the given document matching the given name using the given selector function to perform the transformation.
Public Extension MethodWhereAttribute Finds all attributes in an enumeration of XElement items that match the specified attributeName.
Top
See Also