title: Building reliably structure from XML file
body: <p>I need to describe some reliably structures in XML file and than load it into program, parse it, and build boolean function of this structure. Below I attached an image of sample structure.
  <a href="https://i.stack.imgur.com/YfSRR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YfSRR.png" alt="sample structure"></a></p>
  
  <p>How can I describe this in XML file?
  Every single part of this model remains in a certain state. False of True. So if we have elements 1 = true, 2 = false and rest equals to true it will be working but if element 1 is false whole this structure isn't working.
  How can I parse this XML file into boolean function describing that kind of structures?</p>