<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY f  "http://xmlns.4suite.org/ext">
  <!ENTITY fres "http://xmlns.4suite.org/reserved">
]>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:cext="http://xmlns.4suite.org/demos/cards"
  xmlns:exslt="http://exslt.org/common"
  xmlns:exslt-str="http://exslt.org/strings"
  xmlns:f="&f;"
  xmlns:fcore="http://xmlns.4suite.org/4ss/score"
  xmlns:fhttp="http://xmlns.4suite.org/4ss/http"
  xmlns:fres="&fres;"
  xmlns:xupdate="http://www.xmldb.org/xupdate"
  extension-element-prefixes="cext exslt exslt-str f fcore fhttp fres"
  exclude-result-prefixes="xupdate"
>

  <!--

    4Suite repository demo application: Cribbage

    Generate soft redirects

    Copyright 2004 Fourthought, Inc. (USA)
    http://4suite.org/

  -->

  <xsl:output method='html'/>

  <xsl:param name='redirect'/>
  <xsl:param name='message'/>

  <xsl:template match='/'>
    <html>
      <head>
        <meta http-equiv='Refresh' content='0;URL="{$redirect}"'/>
      </head>
      <body bgcolor='green'>
        <table height='100%' width='100%'>
          <tr valign='center' align='center'>
            <td>
              <img src='/images/cards/AS.png'/>
            </td>
            <!-- blink?! -->
            <td><h2><blink><xsl:value-of select='$message'/></blink></h2></td>
            <td>
              <img src='/images/cards/KS.png'/>
            </td>
          </tr>
        </table>
      </body>
    </html>
  </xsl:template>

</xsl:stylesheet>
