<RESULT> xml tag attributes

Does anyone have an example of the a:ifblank / notblank and a:check logic in their connectors (as follows)? I can't find one on lumdev currently (after searching for ifblank).
The following info is from the Luminis SDK Generic Connector Framework Implementation Guide Release 4.1 April 2008
The RESULT tag has the following attributes:
a:value This is the value to be returned. It may be a Boolean value, a string retrieved from a search or a result of macro substitution. If a:value is null, then a:check will be evaluated for return. Either a:value or a:check must be set.
a:check This is the secondary value to be evaluated in the conditional expression. If a:check is set, then a:ifblank and a:ifnotblank must also be set.
a:ifblank This is the value to be returned if the conditional evaluation of a:check evaluates to null.
a:ifnotblank This is the value to be returned if the conditional evaluation of a:check evaluates to not null.
The following is a sudo code representation of the conditional evaluation performed
for the a:value and the a:check tags. For readability, the a: has been removed.
(value != null) ? value : (check == null || check.length()==0) ? ifblank : ifnotblank;

Thanks!!

Syndicate content