Skip to main content
Question

If active node value is False in xml

  • April 17, 2026
  • 1 reply
  • 8 views

Hi, I am trying to extract xml data (employee number, Active & Address node values) If Active node value is False in xml then update as NA in excel columns (B to J) & update as 'In-Active' in excel comments columns Z. And how can I use Boolean Equal to/Compare to Command for True/False Comparison?

1 reply

  • Cadet | Tier 2
  • April 17, 2026

I understand your question as wanting to compare whether a value in XML is a specific value (False). If this is what you want, since values ​​in XML nodes are output as Strings, I recommend using the IF package to compare them.

Regarding your other question, you asked about the Compare to and Equal to commands in the Boolean package. The Compare to command compares two Boolean variables and outputs the result as a numeric variable of 1, 0, or -1. The Equal to command simply outputs whether the values ​​match as a Boolean variable.