Created new function find_tag to find XML like tags.