title: Creating bash script to parse xml file to csv
body: <p>I'm trying to create a bash script to parse an xml file and save it to a csv file.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
      &lt;List&gt;
      &lt;Job id="1" name="John/&gt;
      &lt;Job id="2" name="Zack"/&gt;
      &lt;Job id="3" name="Bob"/&gt;
  &lt;/List&gt;
  </code></pre>
  
  <p>I would like the script to save information into a csv file as such:</p>
  
  <pre><code>John | 1
  Zack | 2
  Bob  | 3
  </code></pre>
  
  <p>The name and id will be in a different cell.</p>
  
  <p>Is there any way I can do this?</p>