Finding the minimum of two numbers
There are some confusing aspects to your XML, and some practices that you may end up appreciating.....
Technical
Your XML is valid, but it does not follow best practices. The XML:

   &lt;con gurd=&quot;min&gt;b&quot;  type=&quot;if&quot;&gt;


This should be written:
    &lt;con gurd=&quot;min&amp;gt;b&quot;  type=&quot;if&quot;&gt;

Even though your XML is valid, the &gt; in the attribute value can lead to confusion. Even the XML Syntax parser here on Stack Exchange is failing to parse that part right....
Naming
XML is by nature relatively verbose. You are already 'paying' for that, so you may as well use it to your advantage. con should be condition, ins should be ..... instruction ? What is gurd ?
Additionally, you should be consistent in cases. InOut should be inputoutput or something. Mixing cases for XML tag names is a problem. I recommend making it all lowercase. I would actually call it 'interface', and have 'input' and 'output' as child elements.
Functional
When you use XML, you need a parser. There is always a balance between what you parse, and what you let the parser parse. The 'text' component in the XML elements are technically called PCDATA (Parsed Character Data). The XML Parser will Parse that data looking for more XML. That's all it does. Your actual data has things like: min=a Is your application manually parsing that content as well? If it is, you should probably make your text content attribute values instead.
Additionally, the white-space in your element text is scattered all over the place. Consider:

&lt;calc&gt;
    &lt;ins&gt; a=3 &lt;/ins&gt;
    &lt;ins&gt; b=5 &lt;/ins&gt;
    &lt;ins&gt; min=a &lt;/ins&gt;
&lt;/calc&gt;    
&lt;con gurd=&quot;min&gt;b&quot;  type=&quot;if&quot;&gt;
    &lt;calc&gt;
        &lt;ins&gt;min=b&lt;/ins&gt;
    &lt;/calc&gt;
&lt;/con&gt;


In your first &lt;ins&gt; elements you have space surrounding the text. In your later &lt;ins&gt; there is no space.
Is the space important? If it is, you should either use attributes, or set xml:space=&quot;preserve&quot; on your XML.
Update
FYI, I ran your XML through xmllint and it output your XML as:
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;start&gt;
  &lt;InOut&gt;
    &lt;in&gt;  a &lt;/in&gt;
    &lt;in&gt;  b &lt;/in&gt;
    &lt;out&gt; min &lt;/out&gt;
  &lt;/InOut&gt;
  &lt;calc&gt;
    &lt;ins&gt; a=3 &lt;/ins&gt;
    &lt;ins&gt; b=5 &lt;/ins&gt;
    &lt;ins&gt; min=a &lt;/ins&gt;
  &lt;/calc&gt;
  &lt;con gurd=&quot;min&amp;gt;b&quot; type=&quot;if&quot;&gt;
    &lt;calc&gt;
      &lt;ins&gt;min=b&lt;/ins&gt;
    &lt;/calc&gt;
  &lt;/con&gt;
  &lt;con gurd=&quot;min&amp;gt;b&quot; type=&quot;else&quot;&gt;
    &lt;calc&gt;
      &lt;ins&gt;min=a&lt;/ins&gt;
    &lt;/calc&gt;
  &lt;/con&gt;
&lt;/start&gt;

xmllint --format your.xml is a fantastic commandline tool that validates and reformats your XML to be consistent. I recommend it to anyone using XML that has access to Linux