Click or drag to resize
XdsUtilgetNullAttribute Method
Get an XmlElement's attribute value, returning null if the attribute value is empty.

Namespace: DXMLBase.Xds
Assembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string getNullAttribute(
	XmlElement source,
	string attrName
)

Parameters

source
Type: System.XmlXmlElement
The XmlElement containing the attribute.
attrName
Type: SystemString
The name of the attribute.

Return Value

Type: String
The non-empty attribute value, or null.
See Also