Class XElementExtensions
public static class XElementExtensions
- Inheritance
-
XElementExtensions
- Inherited Members
Methods
ElementsNoNamespace(XContainer, string)
public static IEnumerable<XElement> ElementsNoNamespace(this XContainer container, string localName)
Parameters
container
XContainerlocalName
string
Returns
- IEnumerable<XElement>
Except(XElement, XElement)
public static XElement Except(this XElement source, XElement target)
Parameters
source
XElementtarget
XElement
Returns
- XElement
GetOptionalAttributeValue(XElement, string, string)
public static string GetOptionalAttributeValue(this XElement element, string localName, string namespaceName = null)