title: Dynamic XSLT - run transformation from web page instead of command line
body: <p>I'm migrating some simple reports from bash to XSL. The XSL doesn't use an XML doc, it loads <code>.txt</code> files and other XML files to query for the reports.</p>
  
  <p>I'm currently running the XSL from the command line and outputting the results as a text file:</p>
  
  <pre><code>java -jar saxon9he.jar -s:xsl_example.xsl -xsl:xsl_example.xsl -o:xsl_results.txt
  </code></pre>
  
  <p>I'd like to have this run from a web page, so that when you load the web page, it runs the XSL and presents the results.</p>
  
  <p>I know it can be done, but I don't know how to do it, or know enough to start trying to figure it out. The closest I got was a chapter in a 2005 book titled "Beginning XSLT 2.0 - From Novice to Pro" which referred to "Dynamic XSLT", but the techniques are dated and only support XSLT 1.0 and I'm using 2.0.</p>
  
  <p>I don't have server access so I'm looking for a client side solution.</p>
  
  <p>Any suggestions? Clearly I am an XSL novice. Thanks for your patience.</p>