Mono Class Library: System.Xml.XPath.XPathNavigator Overview | Members

System.Xml.XPath.XPathNavigator.IsEmptyElement Property

Indicates if the current node is "empty tag element" or not.

public abstract bool IsEmptyElement { get; }

Value

True if the current ndoe is empty tag element; False if the current node is not an element, or an element that has contents, or an element that has explicit close tag.

Remarks

This property is nothing to do with XPath data model, nor constructs any part of XML Infoset. This only affects to the XSLT output format.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0