Testing for Nil
Some elements can be explicitly set to nil. You can test an element to determine if it is set to nil or not. For example, the following XPath expression returns true if the $Order/Item/OnSale element is set to nil:
$Order/Item/OnSale/@xsi:nil="true"
Copyright © TIBCO Software Inc. All rights reserved.