Method | Description | |
---|---|---|
GetAttribute ( |
Gets the value of the specified attribute on the indicated context XmlElement. Note that this method returns
|
|
GetChildElements ( |
Locates all the child elements of the given parent XmlElement and returns them in a (possibly empty) XmlNodeList.
|
|
GetElementByLocalName ( |
Locates the first child XmlElement of the indicated parent that matches the given local name string, ignoring prefixes and namespaces.
|
|
GetElementsByLocalName ( |
Locates all the child XmlElement instances of the indicated parent that match the given local name string, ignoring prefixes and namespaces.
|
|
GetFirstChild ( |
Finds the first child element of the given XmlElement skipping any intermediate non-element XmlNode instances.
|
|
GetLastChild ( |
Finds the last child element of the given XmlElement skipping any intermediate non-element XmlNode instances.
|
|
GetNextSibling ( |
Finds the next sibling element of the given XmlElement skipping any intermediate non-element XmlNode instances.
|
|
GetParent ( |
Finds the parent XmlElement of the given node.
|
|
GetPreviousSibling ( |
Finds the previous sibling element of the given XmlElement skipping any intermediate non-element XmlNode instances.
|
|
HasChildNodes ( |
Determines if the given XmlElement has at least one child element.
|
|
SetAttribute ( |
Sets the value of specified attribute on the indicated context XmlElement. If the value is
|
Method | Description | |
---|---|---|
DOM ( ) : System |
Ensures no instances can be constructed.
|
public static GetAttribute ( |
||
context | The context |
|
name | string | The attribute name. |
return | string |
public static GetChildElements ( |
||
parent | The parent |
|
return |
public static GetElementByLocalName ( |
||
parent | The parent |
|
localName | string | The required element local name string. |
return |
public static GetElementsByLocalName ( |
||
parent | The parent |
|
localName | string | The required element local name string. |
return |
public static GetFirstChild ( |
||
parent | The parent |
|
return |
public static GetLastChild ( |
||
parent | The parent |
|
return |
public static GetNextSibling ( |
||
element | The context |
|
return |
public static GetParent ( |
||
element | The context |
|
return |
public static GetPreviousSibling ( |
||
element | The context |
|
return |
public static HasChildNodes ( |
||
element | The context |
|
return | bool |
public static SetAttribute ( |
||
context | The context |
|
name | string | The attribute name. |
value | string | The new value or |
return | void |