| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/dasher/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<!-- alphabet.xsl Iain Murray 09/2002
A quick demonstration of another reason for using XML: ease of transformation -->
<xsl:output method="html" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
<xsl:template match="alphabets">
<html lang="en">
<head>
<title>Dasher Alphabets</title>
<!-- Uncomment the following line if your xslt processor doesn't add it.
xsltproc from the Gnome project (and available for Windows) does. -->
<!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -->
<link rel="home" title="Home" href="http://www.inference.phy.cam.ac.uk/dasher/"/>
<link rel="contact" title="Contact" href="http://www.metafaq.com/faq/dasher/"/>
<style type="text/css">
.content {font-family : 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;}
.content h1 {border-bottom : 2px solid #4686c2; margin-bottom : 1em;}
.content h2 {margin-top : 0;}
.content hr{
color : #4686c2;
background-color : #4686c2;
height : 2px;
border: 0 solid #4686c2;
margin-top : 1em;
margin-bottom : 1em;
}
</style>
</head>
<body>
<div class="content">
<h1><a><xsl:attribute name="href">http://www.inference.phy.cam.ac.uk/dasher/</xsl:attribute>Dasher </a>
<a><xsl:attribute name="href">http://www.inference.phy.cam.ac.uk/dasher/download/alphabets/</xsl:attribute>Alphabets</a></h1>
<xsl:apply-templates select="//alphabet"/>
</div>
<div style="text-align:right"><em>This page automagically generated by
<a><xsl:attribute name="href">http://www.inference.phy.cam.ac.uk/dasher/download/alphabets/alphabet.xsl</xsl:attribute>
alphabet.xsl
</a></em></div>
</body>
</html>
</xsl:template>
<xsl:template match="alphabet">
<h2><xsl:value-of select="@name"/></h2>
<ul>
<li>Training file:
<a><xsl:attribute name="href">http://www.inference.phy.cam.ac.uk/dasher/download/training/<xsl:value-of select="train"/></xsl:attribute>
<xsl:value-of select="train"/>
</a></li>
<li>Encoding type: <xsl:value-of select="encoding/@type"/></li>
<li>Default orientation: <xsl:value-of select="orientation/@type"/></li>
<li>Space character: <xsl:value-of select="space/@d"/></li>
<li>Paragraph character: <xsl:value-of select="paragraph/@d"/></li>
</ul>
<table>
<xsl:for-each select="group">
<tr>
<td><strong><xsl:value-of select="@name"/>:</strong></td><td bgcolor="#ddeeff"><strong><xsl:value-of select="@label"/></strong> </td>
<xsl:for-each select="s">
<td> <abbr>
<xsl:attribute name="title">
<xsl:value-of select="@note"/>
bgcolor:<xsl:value-of select="@b"/>
</xsl:attribute>
<xsl:value-of select="@d"/>
</abbr></td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
<hr/>
</xsl:template>
</xsl:stylesheet>