title: Can parameters be passed between stylesheets?
body: <p>I am building a database in XML and displaying the data with xsl stylesheets.
  Here is how the XML is broken down:</p>
  
  <pre><code>&lt;store&gt;
      &lt;storeid&gt;999&lt;/storeid&gt;
      &lt;storename&gt;Grocery Store&lt;/storename&gt;
      &lt;storenumber&gt;&lt;/storenumber&gt;
      &lt;client&gt;THE CLIENT&lt;/client&gt;
      &lt;street&gt;999 Avenue Ave&lt;/street&gt;
      &lt;city&gt;New York&lt;/city&gt;
      &lt;state&gt;NY&lt;/state&gt;
      &lt;zip&gt;99999&lt;/zip&gt;
      &lt;phone&gt;9999999999&lt;/phone&gt;
      &lt;personnel&gt;
          &lt;name&gt;&lt;/name&gt;
          &lt;phone&gt;&lt;/phone&gt;
      &lt;/personnel&gt;
      &lt;equipment&gt;&lt;/equipment&gt;
      &lt;servicelog&gt;
          &lt;record&gt;&lt;/record&gt;
          &lt;date&gt;&lt;/date&gt;
          &lt;storename&gt;&lt;/storename&gt;
          &lt;problem&gt;&lt;/problem&gt;
          &lt;technician&gt;&lt;/technician&gt;
          &lt;resolved&gt;&lt;/resolved&gt;
      &lt;/servicelog&gt;
  &lt;/store&gt;
  </code></pre>
  
  <p>What I'm trying to create is: Instead of displaying the 'equipment' element in the data table with the rest of the data, I'd like there to be a link displayed instead. This link will open a new window that will display the respective equipment data for that given store. (Clicking the equipment link for the first 'store' will open a new window displaying 'equipment' element for only that store. Like so:
  <a href="https://i.stack.imgur.com/6c4Np.jpg" rel="nofollow noreferrer">xslequipment</a></p>
  
  <p>Hope this is a clear explanation. If I left any important info out, please let me know! I'm open to javascript solutions as well. Thanks for the help! :)</p>