title: Xslt using a wildcard when selecting by attribute
body: <p>so I have this assignment and they are asking for data given by Xslt</p>
  
  <p>This is what I've got:</p>
  
  <pre><code>&lt;xsl:apply-templates select="results/result[@name=$param0]"/&gt;
  </code></pre>
  
  <p>So the $param0 is given by a jquery transform function. My problem is how can I select all of the @name when sending a certain value for $param0? I've tried most wildcards but nothing seems to work.
  Can you guys help me?</p>
  
  <p>input XML</p>
  
  <pre><code>&lt;results&gt;
   &lt;result name="name1"&gt;
    &lt;score&gt;2500&lt;/score&gt;
   &lt;/result&gt;
   &lt;result name="name2"&gt;
    &lt;score&gt;13500&lt;/score&gt;
   &lt;/result&gt;
   &lt;result name="name3"&gt;
    &lt;score&gt;65100&lt;/score&gt;
   &lt;/result&gt;
  &lt;/results&gt;
  </code></pre>
  
  <p>output for $param0="name1"</p>
  
  <pre><code>&lt;result name="name1"&gt;
   &lt;score&gt;2500&lt;/score&gt;
  &lt;/result&gt;
  </code></pre>
  
  <p>So i would have to get all of the scores, I need to keep the xslt statement so I can still select one.</p>
  
  <p>output for $param0="wildcard"  &lt;== I need some kind of wildcard (have tried alot of them)</p>
  
  <pre><code> &lt;result name="name1"&gt;
    &lt;score&gt;2500&lt;/score&gt;
   &lt;/result&gt;
   &lt;result name="name2"&gt;
    &lt;score&gt;13500&lt;/score&gt;
   &lt;/result&gt;
   &lt;result name="name3"&gt;
    &lt;score&gt;65100&lt;/score&gt;
   &lt;/result&gt;
  </code></pre>
  
  <p>I hope this makes a it clearer what I'm looking for...</p>