title: How to pass parameter value to XSL?
body: <p>Suppose I have a XSL as follows:</p>
  
  <pre><code>&lt;xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    version="1.0"&gt;
    &lt;xsl:output method="html" encoding="utf-8" omit-xml-declaration="yes" indent="yes"/&gt;
      &lt;xsl:param name="sortKey" select="'firstname'"/&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Then a XML as follows</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="XYZ.xsl"?&gt;
  &lt;ABC&gt;
       &lt;firstname&gt;GREG&lt;/firstname&gt;
  &lt;/ABC&gt;
  </code></pre>
  
  <p>I want to pass a value to the XSL parameter <strong>firstname</strong> from XML. Can I do that? If yes, How?</p>
  
  <p>It looks from the answers that this is not possible. </p>
  
  <p>What about reading the value from the same XML and assigning it to the parameter. Can this be done? If yes, how?</p>