]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/xml/ld-html-term.xsl
xml: first ld to xml stylesheets
[helm.git] / helm / software / lambda-delta / xml / ld-html-term.xsl
diff --git a/helm/software/lambda-delta/xml/ld-html-term.xsl b/helm/software/lambda-delta/xml/ld-html-term.xsl
new file mode 100644 (file)
index 0000000..a83c080
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:strip-space elements="Sort LRef GRef Cast Appl Abst Abbr Void"/>
+
+<xsl:template match="Sort">
+   <b><xsl:call-template name="position"/></b>
+</xsl:template>
+
+<xsl:template match="LRef">
+   <xsl:call-template name="position"/>
+</xsl:template>
+
+<xsl:template match="GRef">
+   <xsl:call-template name="uri"/>
+</xsl:template>
+
+<xsl:template match="Cast">
+   <xsl:call-template name="oa"/>
+   <xsl:apply-templates/>
+   <xsl:call-template name="ca"/>   
+   <xsl:call-template name="fs"/>   
+</xsl:template>
+
+<xsl:template match="Appl">
+   <xsl:call-template name="op"/>   
+   <xsl:apply-templates/>
+   <xsl:call-template name="cp"/>
+   <xsl:call-template name="fs"/>   
+</xsl:template>
+
+<xsl:template match="Abst">
+   <xsl:call-template name="lambda"/>
+   <xsl:value-of select="@name"/>
+   <xsl:call-template name="cn"/>   
+   <xsl:apply-templates/>
+   <xsl:call-template name="fs"/>   
+</xsl:template>
+
+<xsl:template match="Abbr">
+   <xsl:call-template name="delta"/>
+   <xsl:call-template name="binder"/>
+   <xsl:call-template name="eq"/>   
+   <xsl:apply-templates/>
+   <xsl:call-template name="fs"/>   
+</xsl:template>
+
+<xsl:template match="Void">
+   <xsl:call-template name="chi"/>
+   <xsl:call-template name="binder"/>
+   <xsl:apply-templates/>
+   <xsl:call-template name="fs"/>
+
+</xsl:template>
+
+</xsl:stylesheet>