Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
shawn
/
Upload File :
New :
File
Dir
//home/cluster1/data/bu01/1121861/html/shawn/sakapulteko-format-2.xsl
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method='xml' indent="yes" omit-xml-declaration="yes" doctype-public = "-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <style type="text/css" media="all"> <xsl:comment> body { width:780px; font-size: 100%; font-face: Times, 'Times New Roman'; line-height: 1.35em; } h1, h2, h3, h4 ,h5 ,h6 { font-face: Helvetica; text-indent: -30px; padding-left: 30px; } h2 { font-size: 1.7em; text-align: center; } h3 { font-size: 1.5em; font-weight: normal; } p { text-indent: -10px; } p { padding-right: 30px; padding-left: 20px; } </xsl:comment> </style> <title>Diccionario Sakapulteko</title> </head> <body> <h2>Diccionario Sakapulteko</h2> <hr size="2" color="#ff0000" /> <xsl:apply-templates select="database"/> </body> </html> </xsl:template> <xsl:template match="database"> <h3>Definiciones: </h3> <xsl:apply-templates select="database"><xsl:sort select="lex" /> </xsl:apply-templates> <xsl:apply-templates /> </xsl:template> <xsl:template match="lexGroup"> <b><xsl:apply-templates select="lex"/></b>, <xsl:text> </xsl:text> <xsl:if test="paradig-formGroup/paradig-form"> (<i><xsl:apply-templates select="paradig-formGroup/paradig-form"/></i>) </xsl:if> <xsl:if test="var-lexGroup/var-lex"> (var. <i><xsl:apply-templates select="var-lexGroup/var-lex" /></i>) </xsl:if> <xsl:if test="claseGroup/clase"> clase: <i><xsl:apply-templates select="claseGroup/clase" /></i> <xsl:if test="claseGroup/subclase">; subclase: <i><xsl:apply-templates select="claseGroup/subclase" /></i> </xsl:if> </xsl:if> <xsl:choose> <xsl:when test="paradig-formGroup" ></xsl:when> <xsl:otherwise> <font color="ff0000"> || </font></xsl:otherwise> </xsl:choose> <xsl:apply-templates select="database | voc-esp | paradig-formGroup | ejGroup |sub-lex" /> <p/></xsl:template> <xsl:template match="//voc-esp"> <b><xsl:number count="//voc-esp" level="single" /> : </b> <xsl:apply-templates select="//voc-esp/text()" />. </xsl:template> <xsl:template match="paradig-formGroup"> </xsl:template> <xsl:template match="ejGroup"> <xsl:if test="ejGroup" /> -- <i><xsl:apply-templates select="ej"/></i><xsl:text> </xsl:text> <xsl:apply-templates select="ej-trad" /><xsl:text> </xsl:text> <xsl:apply-templates select="sub-lex" /> </xsl:template> <xsl:template match="sub-lex"> <xsl:if test="sub-lex"> -- <xsl:apply-templates select="sub-lex" /> </xsl:if> </xsl:template> </xsl:stylesheet>