C# Class Bender.Nodes.Xml.XmlExtensions

Show file Open project: mikeobrien/Bender

Public Methods

Method Description
CreateAttribute ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XAttribute
CreateElement ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XElement
GetPath ( this node ) : string
Transform ( this element, string xsl ) : System.Xml.Linq.XElement

Method Details

CreateAttribute() public static method

public static CreateAttribute ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XAttribute
element this
name System.Xml.Linq.XName
return System.Xml.Linq.XAttribute

CreateElement() public static method

public static CreateElement ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XElement
element this
name System.Xml.Linq.XName
return System.Xml.Linq.XElement

GetPath() public static method

public static GetPath ( this node ) : string
node this
return string

Transform() public static method

public static Transform ( this element, string xsl ) : System.Xml.Linq.XElement
element this
xsl string
return System.Xml.Linq.XElement