메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
DOM ( ) : System |
Ensures no instances can be constructed.
|
public static GetAttribute ( |
||
context | The context |
|
name | string | The attribute name. |
리턴 | string |
public static GetChildElements ( |
||
parent | The parent |
|
리턴 |
public static GetElementByLocalName ( |
||
parent | The parent |
|
localName | string | The required element local name string. |
리턴 |
public static GetElementsByLocalName ( |
||
parent | The parent |
|
localName | string | The required element local name string. |
리턴 |
public static GetFirstChild ( |
||
parent | The parent |
|
리턴 |
public static GetLastChild ( |
||
parent | The parent |
|
리턴 |
public static GetNextSibling ( |
||
element | The context |
|
리턴 |
public static GetParent ( |
||
element | The context |
|
리턴 |
public static GetPreviousSibling ( |
||
element | The context |
|
리턴 |
public static HasChildNodes ( |
||
element | The context |
|
리턴 | bool |
public static SetAttribute ( |
||
context | The context |
|
name | string | The attribute name. |
value | string | The new value or |
리턴 | void |