title: xslt: match partial attribute name
body: <p>any xslt version should do.</p>
  
  <p>assuming attributes like that :</p>
  
  <pre><code>&lt;tag attr-something="1" attr-something-else="1" attr-something-more="1" attr-different="1" attr-thing="1"&gt;
  </code></pre>
  
  <p>what's the simplest way to match all attributes whose names start with <em>attr-something</em> ?</p>
  
  <p>this matches one specific attribute :</p>
  
  <pre><code>&lt;xsl:template match="@attr-something"/&gt;
  </code></pre>
  
  <p>this matches a hardcoded list of attributes :</p>
  
  <pre><code>&lt;xsl:template match="@attr-something|@attr-something-else"/&gt;
  </code></pre>
  
  <p>this matches all nodes that contain attribute[s] that start with the required string :</p>
  
  <pre><code>&lt;xsl:template match="*[starts-with(name(@*), 'attr-something')]"/&gt;
  </code></pre>
  
  <p>but how to match attributes themselves ?</p>