Created a select query to display all the xml_row_number for the start and end of the Level 1 then created an update query for the level_1_key the check the level_1_key data if data in XML are in line