Here is my XML code, what I would like to do is check that within the element there is the element with an if to put conditions.