title: Selecting specific elements that contain extra attributes
body: <p>I'm fairly new to XSLT, and was wondering how I could replace certain elements. Basically, I would like to replace <strong>BR</strong> elements that come with extra attributes, with just a plain <strong>BR</strong>. The XML is as follows:</p>
  
  <pre><code>&lt;outer_element&gt;
      &lt;p&gt;
          &lt;font face="Arial"&gt;
              Invitations&lt;br&gt;
          &lt;/font&gt;
          &lt;font face="Arial"&gt;
              Charts&lt;br&gt;
          &lt;/font&gt;
      &lt;/p&gt;
      &lt;span style="font-size:12pt;"&gt;
          &lt;br clear="all" style="font-size:18pt;"&gt;
      &lt;/span&gt;
  &lt;outer_element&gt;
  </code></pre>
  
  <p>And below is part of the XSL :</p>
  
  <pre><code>&lt;xsl:template match="//outer_element"&gt;
      &lt;xsl:element name="outer_element"&gt;
          &lt;xsl:value-of select="."/&gt;
      &lt;/xsl:element&gt;
      &lt;xsl:element name = "text"&gt;
          &lt;xsl:value-of select="."/&gt;
      &lt;/xsl:element&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Also, I don't know exactly whether it's a XSLT 1.0 or XSLT 2.0 solution that I am looking for.</p>