title: how to filter nodes in xml using xslt..?
body: <p>suppose i have this xml:</p>
  
  <pre><code>&lt;college&gt;
      &lt;student&gt;
          &lt;name&gt;amit&lt;/name&gt;
          &lt;file&gt;/abc/kk/final.c&lt;/file&gt;
          &lt;rollno&gt;22&lt;/rollno&gt;
      &lt;/student&gt;
      &lt;student&gt;
          &lt;name&gt;sumit&lt;/name&gt;
          &lt;file&gt;/abc/kk/up.h&lt;/file&gt;
          &lt;rollno&gt;23&lt;/rollno&gt;
      &lt;/student&gt;
      &lt;student&gt;
          &lt;name&gt;nikhil&lt;/name&gt;
          &lt;file&gt;/xyz/up.cpp&lt;/file&gt;
          &lt;rollno&gt;24&lt;/rollno&gt;
      &lt;/student&gt;
      &lt;student&gt;
          &lt;name&gt;bharat&lt;/name&gt;
          &lt;file&gt;/abc/kk/down.h&lt;/file&gt;
          &lt;rollno&gt;25&lt;/rollno&gt;
      &lt;/student&gt;
      &lt;student&gt;
          &lt;name&gt;ajay&lt;/name&gt;
          &lt;file&gt;/simple/st.h&lt;/file&gt;
          &lt;rollno&gt;27&lt;/rollno&gt;
      &lt;/student&gt;
  &lt;/college&gt;
  </code></pre>
  
  <p>i am using for-each in ".xsl" to display all the entries of nodes, but i only want to display the entries of those node only in which file name starts with "/abc/kk" as i am new to xslt..</p>
  
  <p>please provide me solution.</p>
  
  <p>i am using :</p>
  
  <pre><code>&lt;xsl:for-each select="college/student"&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;xsl:value-of select="name"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="file"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="rollno"/&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>