|
Return Type |
Signature |
|---|---|
|
AppendChild( |
|
|
GetAttribute( |
|
|
GetAttributeNode( |
|
|
GetAttributeNS( |
|
|
GetXML() |
|
|
InsertBefore( |
|
|
RemoveAttribute( |
|
|
RemoveAttributeNS( |
|
|
RemoveChild( |
|
|
ReplaceChild( |
|
|
SetAttribute( |
|
|
SetAttributeNS( |
|
Type |
Property |
|---|---|
newChild to the end of the list of children
of this node. If the newChild is already in the tree, it
is first removed.
XmlNode AppendChild(
XmlNode newChild)
Name |
Description |
|---|---|
|
newChild |
The node to add.
|
getAttributeNS method.
string GetAttribute(
string name)
Name |
Description |
|---|---|
|
name |
The name of the attribute to retrieve.
|
GetAttributeNodeNS method.
XmlNode GetAttributeNode(
string name)
Name |
Description |
|---|---|
|
name |
The
nodeName of the attribute to retrieve.
|
void GetAttributeNS(
string namespaceURI,
string localName)
Name |
Description |
|---|---|
|
namespaceURI |
The namespace URI of the attribute to retrieve.
|
|
localName |
The qualified name of the attribute to retrieve.
|
XmlNode.
string GetXML()
boolean HasAttributes()
boolean HasChildNodes()
newChild before the existing child node
refChild and returns it. If refChild is null,
insert newChild at the end of the list of children.
newChild is already in the
tree, it is first removed.
XmlNode InsertBefore(
XmlNode newChild,
XmlNode refChild)
Name |
Description |
|---|---|
|
newChild |
The node to insert.
|
|
refChild |
The reference node, i.e., the node before which the
new node must be inserted.
|
XmlNodeList of all the XmlNodes matching a given XPath and contained in the
node.
XmlNodeList Query(
string xpath)
Name |
Description |
|---|---|
|
xpath |
The XPath which is evaluated to get the
XmlNodes.
|
RemoveAttributeNS method.
void RemoveAttribute(
string name)
Name |
Description |
|---|---|
|
name |
The name of the attribute to remove.
|
void RemoveAttributeNS(
string namespaceURI,
string localName)
Name |
Description |
|---|---|
|
namespaceURI |
The namespace URI of the attribute to retrieve.
|
|
localName |
The local name of the attribute to retrieve.
|
oldChild from the list
of children, and returns it.
XmlNode RemoveChild(
XmlNode oldChild)
Name |
Description |
|---|---|
|
oldChild |
The node being removed.
|
oldChild with newChild
in the list of children, and returns the oldChild node.
newChild is already in the tree, it
is first removed.
XmlNode ReplaceChild(
XmlNode newChild,
XmlNode oldChild)
Name |
Description |
|---|---|
|
newChild |
The new node to put in the child list.
|
|
oldChild |
The node being replaced in the list.
|
SetAttributeNS method.
void SetAttribute(
string name,
string value)
Name |
Description |
|---|---|
|
name |
The name of the attribute to create or alter.
|
|
value |
Value to set in string form.
|
void SetAttributeNS(
string namespaceURI,
string qualifiedName,
string value)
Name |
Description |
|---|---|
|
namespaceURI |
The namespace URI of the attribute to set.
|
|
qualifiedName |
The qualified name of the attribute to set.
|
|
value |
Value to set in string form.
|
XmlNodeList containing the attributes of this node or null otherwise.
XmlNodeList attributes readonly
XmlNodeList that contains all children of this node. If
there are no children, this is an XmlNodeList containing no
nodes.
XmlNodeList childnodes readonly
null
XmlNode firstchild readonly
null.
XmlNode lastchild readonly
null if it is
unspecified (see ).
string namespaceuri readonly
null.
XmlNode nextsibling readonly
string nodename readonly
integer nodetype
string nodevalue
XmlDocument owning the node.
XmlDocument ownerdocument readonly
null.
XmlNode parentnode readonly
null if it is
unspecified.
string prefix readonly
null.
XmlNode previoussibling readonly
string textcontent