<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ld="http://lambdadelta.info/"
- xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
>
-<xsl:strip-space elements="Sort LRef GRef Cast Appl Abst Abbr Void"/>
-
-<xsl:template name="separator">
- <span class="separator">
- <xsl:call-template name="fs"/>
- </span>
-</xsl:template>
-
<xsl:template match="ld:Sort">
- <span class="sort">
- <xsl:call-template name="position"/>
- </span>
+ <xhtml:span class="sort" title="{@position}">
+ <xsl:value-of select="@name"/>
+ </xhtml:span>
</xsl:template>
<xsl:template match="ld:LRef">
- <span class="lref">
- <xsl:call-template name="position"/>
- </span>
+ <xhtml:span class="lref" title="{@position}">
+ <xsl:value-of select="@name"/>
+ </xhtml:span>
</xsl:template>
<xsl:template match="ld:GRef">
- <span class="gref">
+ <xhtml:span class="gref" title="{@position}<{@uri}>">
<xsl:call-template name="uri"/>
- </span>
+ </xhtml:span>
</xsl:template>
<xsl:template match="ld:Cast">
- <span class="cast">
+ <xhtml:span class="cast">
<xsl:call-template name="oa"/>
- <xsl:apply-templates/>
+ <xsl:apply-templates select="*"/>
<xsl:call-template name="ca"/>
- </span>
+ </xhtml:span>
<xsl:call-template name="separator"/>
</xsl:template>
<xsl:template match="ld:Appl">
- <span class="appl">
+ <xhtml:span class="appl">
<xsl:call-template name="op"/>
- <xsl:call-template name="mk_terms"/>
+ <xsl:apply-templates select="*"/>
+<!-- <xsl:call-template name="mk_terms"/> -->
<xsl:call-template name="cp"/>
- </span>
+ </xhtml:span>
+ <xsl:call-template name="separator"/>
+</xsl:template>
+
+<xsl:template match="ld:Proj">
+ <xhtml:span class="proj">
+ <xsl:call-template name="oc"/>
+ <xsl:apply-templates select="*"/>
+ <xsl:call-template name="cc"/>
+ </xhtml:span>
<xsl:call-template name="separator"/>
</xsl:template>
<xsl:template match="ld:Abst">
- <span class="local">
- <xsl:call-template name="lambda"/>
- <xsl:call-template name="mk_binder">
- <xsl:with-param name="sep-seq">
- <xsl:call-template name="cn"/>
- </xsl:with-param>
- </xsl:call-template>
- </span>
+ <xhtml:span class="local" title="{@position}">
+ <xsl:call-template name="abst"/>
+ <xsl:call-template name="ob"/>
+ <xsl:call-template name="name"/>
+ <xsl:call-template name="cn"/>
+ <xsl:apply-templates select="*"/>
+ <xsl:call-template name="cb"/>
+ </xhtml:span>
<xsl:call-template name="separator"/>
</xsl:template>
<xsl:template match="ld:Abbr">
- <span class="local">
- <xsl:call-template name="delta"/>
- <xsl:call-template name="mk_binder">
- <xsl:with-param name="sep-seq">
- <xsl:call-template name="eq"/>
- </xsl:with-param>
- </xsl:call-template>
- </span>
+ <xhtml:span class="local">
+ <xsl:call-template name="abbr"/>
+ <xsl:call-template name="ob"/>
+ <xsl:call-template name="name"/>
+ <xsl:call-template name="eq"/>
+ <xsl:apply-templates select="*"/>
+ <xsl:call-template name="cb"/>
+ </xhtml:span>
<xsl:call-template name="separator"/>
</xsl:template>
<xsl:template match="ld:Void">
- <span class="local">
- <xsl:call-template name="chi"/>
+ <xhtml:span class="local">
+ <xsl:call-template name="void"/>
<xsl:call-template name="ob"/>
- <xsl:call-template name="mk_names"/>
+ <xsl:call-template name="name"/>
<xsl:call-template name="cb"/>
- </span>
+ </xhtml:span>
<xsl:call-template name="separator"/>
</xsl:template>