IsNull property: XmlNode class
Description
This property returns a Boolean value, indicating whether the node is a valid node. Use this property to verify the value of the add or insert XmlNode methods.
This property is read-only.
Example
Local XmlDoc &inXMLDoc;
Local XmlNode &elementNode;
&inXMLDoc = CreateXmlDoc("<?xml version='1.0'?><root/>");
&elementNode = &inXMLDoc.DocumentElement.AddElement("first");
&elementNode = &inXMLDoc.DocumentElement.FindNode("/second");
If &elementNode.IsNull Then
/* do some error processing here, will not find "second" */
End-If;