we can find xml file type as the follwing
find /tmp/ -type f -name '*.xml'
but how to change the syntax in order to find only xml that contain with:
<Name>some words</Name>
and print what is between:
<Name> ------ </Name>
expected output
some words
example - xml file contain:
<Name>files_with_extra_data</Name>
expected output
files_with_extra_data