title: how to escape '<' and '>' in xml tags using regular expression with vim?
body: <p>I am parsing a XML file with Python. </p>
  
  <pre><code>from xml.dom import minidom
  xmldoc = minidom.parse('selections.xml')
  </code></pre>
  
  <p>But when I execute it, such an<code>xml.parsers.expat.ExpatError: not well-formed (invalid token)</code>error occurred. After examining the file, I find there are too many &lt; > in tags.
  Therefore,I want to escape <strong>&lt;</strong> and <strong>></strong> in XML tags using regular expression.
  For example, in the text tags, I want to escape the <strong>&lt;</strong> and <strong>></strong> outside of 'Winning 11'.</p>
  
  <pre><code>&lt;writing&gt;
      &lt;topic id="10"&gt;I am a fun&lt;/topic&gt;
      &lt;date&gt;2012-03-1&lt;/date&gt;   
      &lt;grade&gt;86&lt;/grade&gt;
      &lt;text&gt;
            You know he is a soccer fan,so you'd better to buy the game is &lt;Winning 11&gt;!
      &lt;/text&gt;
  &lt;/writing&gt;
  </code></pre>
  
  <p>I know the escape of &lt; and > is <code>&amp;lt;</code> and <code>&amp;gt;</code>. As there are too many  tags in my XML file therefore I want to use regular expression to solve it under vim.</p>
  
  <p>Could anyone give me some ideas? I am a newbie in regular expression.</p>