1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
  
     | 
    
      <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="html" encoding="utf-8"/>
<xsl:template match="/">
  <html>
    <head>
      <title>gretl addons</title>
      <link rel="stylesheet" type="text/css"
      href="http://ricardo.ecn.wfu.edu/gretl/style/server.css"/>
    </head>
    <body>
      <p>[<a href="http://gretl.sourceforge.net/">gretl main page</a>]</p>
      <h1>gretl addons: “official” function packages</h1>
      <p>These packages should be installed or updated from within gretl.
      Look for the item “Check for addons” under the Help menu.
      </p>
      <p>There are also numerous 
      <a href="http://ricardo.ecn.wfu.edu/gretl/cgi-bin/gretldata.cgi?opt=SHOW_FUNCS">contributed
       function packages</a> for gretl.</p>
      <div class="gfn-info">
	<xsl:apply-templates/>
      </div>
    </body>
  </html>
</xsl:template>
<xsl:template match="gretl-addon">
  <xsl:call-template name="nl"/>
  <h2><xsl:value-of select="@name"/>: <xsl:value-of select="description"/></h2>
  
  <p>Written by <xsl:value-of select="author"/><br/>
  Current version
  <xsl:value-of select="version"/>, dated
  <xsl:value-of select="date"/><br/>	      
  Minimum gretl version required: <xsl:value-of select="@minver"/><br/>
  JEL code(s): <xsl:value-of select="tags"/><br/>
  Documentation: 
  <a href="{concat('https://sourceforge.net/projects/gretl/files/addons/doc/', @name, '.pdf')}"><xsl:value-of select="@name"/>.pdf</a>  
  </p>
</xsl:template>    
<xsl:template name="nl">
  <xsl:text>
</xsl:text>  
</xsl:template>
</xsl:stylesheet>
 
     |