How to use XQuery fn:not(arg) function in XML

In this article you will learn about XQuery boolean function
  • 1889

fn:not Function

fn:not function returns true if the boolean value is false and returns false if boolean value is true.

It have fallowing properties- 

  • deterministic

  • context-independent

  • focus-independent

Syntax of not function

fn:not($arg as item()*) as xs:not


Example of fn:not function
 

fn:not(fn:true)  returns false
fn:not("false")  returns true

Further Readings

You may also want to read these related articles:

Ask Your Question 

Got a programming related question? You may want to post your question here
 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.