Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

nilled

nilled

The nilled function in XQuery is used to check whether a given node is nilled. A nilled element is where the
xsi:nil
attribute is set to
true
in an XML document that supports XML Schema.

Syntax

fn:nilled(arg)
The following table describes the argument for this command:
Argument
Required/
Optional
Description
arg
Required
The node to be checked for the
nilled
status. This can be an element node or none.

Return Value

  • Returns an
    xs:boolean
    indicating whether the argument node is nilled.
  • Returns
    true
    if the node is an element and is nilled, that is,
    xsi:nil="true"
    .
  • Returns
    false
    if the node is an element but not nilled.
  • Returns
    None
    if $arg is not an element node or if it is empty.

Examples

The following table lists some sample values and return values:
SAMPLE FUNCTION
OUTPUT
fn:nilled(())
None
let $textNode := text{"example"} return fn:nilled($textNode)
None

0 COMMENTS

We’d like to hear from you!