Hi, I would need to read an xml element from an xml file to a local variable. Please could you help me with a shell script to get so? Considering that I have a file called file.xml like below:
<header>
<description>This is the description</description>
<content>This is the content</content>
</header>
What I'd like is to assign the value of "description" tag ("This is the description") to a local variable.
I guess this could be done by usig regular expressions...
Thanks in advance.