How to use true and false operation in Boolean Function Using XPath in Xml

In this article I will explain true and false operation of Boolean function.
  • 1626

Introduction

The  True operation in  Boolean  function can be used to return true, and the false operation of Boolean function can be used to return the false.

Syntax

boolean true()
boolean false()

Example

Select="false() and false()"
Select="false() and true()"
Select="true and false()"
Select="false() and false()"
Select="true()"

Output

false
false
false
true
true

Ask Your Question 

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

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.