]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/xml/ld-html-entity.xsl
new xml exportation procedure for basic_rg (10 times faster than previous). the stati...
[helm.git] / helm / software / lambda-delta / xml / ld-html-entity.xsl
diff --git a/helm/software/lambda-delta/xml/ld-html-entity.xsl b/helm/software/lambda-delta/xml/ld-html-entity.xsl
new file mode 100644 (file)
index 0000000..ac30dac
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    ||M||  This file is part of HELM, an Hypertextual, Electronic        
+    ||A||  Library of Mathematics, developed at the Computer Science     
+    ||T||  Department, University of Bologna, Italy.                     
+    ||I||                                                                
+    ||T||  HELM is free software; you can redistribute it and/or         
+    ||A||  modify it under the terms of the GNU General Public License   
+    \   /  version 2 or (at your option) any later version.              
+     \ /   This software is distributed as is, NO WARRANTY.              
+      V_______________________________________________________________ -->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:strip-space elements="ABST ABBR"/>
+
+<xsl:template match="ABST">
+   <h2>
+      <xsl:text>Declaration:</xsl:text>
+      <xsl:call-template name="entity"/>
+   </h2>
+   <div><xsl:apply-templates/></div>
+</xsl:template>
+
+<xsl:template match="ABBR">
+   <h2>
+      <xsl:text>Definition:</xsl:text>
+      <xsl:call-template name="entity"/>
+   </h2>
+   <div><xsl:apply-templates/></div>
+</xsl:template>
+
+</xsl:stylesheet>