This documentation is archived and is not being maintained.

false Function (XQuery)

Returns the xs:boolean value False. This is equivalent to xs:boolean("0").

fn:false() as xs:boolean

This topic provides XQuery examples against XML instances that are stored in various xml type columns in the AdventureWorks database. For an overview of each of these columns, see xml Data Type Representation in the AdventureWorks Database.

A. Using the false() XQuery Boolean function

For a working sample, see true Function (XQuery).