We have an xml file of the following format:
<mailBox>
...
</mailBox>
<mailBox>demon</mailBox>
<tz>16385</tz>
<Contact>
....
</Contact>
</mailBox>
<mailBox>
...
</mailBox>
Is there a way to extract a particular node out of this xml using a sed/awk/grep one-liner?
I was looking for somethign in the format
`sed -n 'mailBox\>demon,......p`