title: How to use xQuery
body: <p>I have an xsl file which I am currently grabbing all of the records from at once, starting them off as hidden and showing them as the user selects an id (<code>&lt;xsl:for-each select""&gt;</code>). The id value is currently being stored as a javascript variable selected by a user clicking that id. <br><br>
    I would like to use xQuery to grab the records, but only the records which match the ID the user has selected.  Furthermore I generally understand the logic behind the rules in xQuery i just don't understand how to actually use it in my xsl file.  Is it possible to use xQuery to maybe compare the value of the id(a js variable) to something using xQuery to grab only the records with that matching id?</p>
  
  <p>Thank you for your time,</p>