XdsUtil Class |
Namespace: DXMLBase.Xds
The XdsUtil type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | appendNode |
Append a node as a child of another node. If the target and source
nodes do not have the same owner document then the source is imported into
the target's document. If the source is an XmlDocumentFragment then the children
of the source are each appended in order to the target.
|
![]() ![]() | getAssociation |
Get the association value string of the first child <association> element (if any) of
the passed parent element.
|
![]() ![]() | getAttr |
Utility method that returns the attribute value from an element, or a default value
if the attribute isn't set on the element
|
![]() ![]() | getChildElementsByTagName |
Get an enumeration of all of the child elements of the passed parent which match the
passed element name.
|
![]() ![]() | getFirstChildElementByTagName |
Get the first child element of the passed parent node whose name matches that passed.
|
![]() ![]() | getFirstChildElementByTagNameWithAttrValue |
Get the first child element of a node with a particular tag name and
a particular attribute/value pair (value is case sensitive)
|
![]() ![]() | getNullAttribute |
Get an XmlElement's attribute value, returning null if the attribute value is empty.
|
![]() ![]() | getValues | |
![]() ![]() | removeAllChildren |
Remove all of the child nodes of an XmlNode.
|
![]() ![]() | setAttr |
Utility method that sets an attribute value on an element. Will clear any existing attribute if value is
null, empty, or matches the default value.
|
![]() ![]() | setNonEmptyAttribute |
Set an XML attribute on an element only if the attribute value is non-null and non-empty. Removes
any existing attribute.
|
Name | Description | |
---|---|---|
![]() ![]() | NULL_NAMESPACE |
A string representing the null, or empty namespace URI.
|
![]() ![]() | WILDCARD_NAME |
A string representing any local name part.
|
![]() ![]() | WILDCARD_NAMESPACE |
A string representing any namespaceURI (including the null or empty URI).
|