Find sub tree condition in an xml file.