<?xml version="1.0"?>
+<!-- Copyright (C) 2000, HELM Team -->
+<!-- -->
+<!-- This file is part of HELM, an Hypertextual, Electronic -->
+<!-- Library of Mathematics, developed at the Computer Science -->
+<!-- Department, University of Bologna, Italy. -->
+<!-- -->
+<!-- HELM is free software; you can redistribute it and/or -->
+<!-- modify it under the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation; either version 2 -->
+<!-- of the License, or (at your option) any later version. -->
+<!-- -->
+<!-- HELM is distributed in the hope that it will be useful, -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
+<!-- GNU General Public License for more details. -->
+<!-- -->
+<!-- You should have received a copy of the GNU General Public License -->
+<!-- along with HELM; if not, write to the Free Software -->
+<!-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, -->
+<!-- MA 02111-1307, USA. -->
+<!-- -->
+<!-- For details, see the HELM World-Wide-Web page, -->
+<!-- http://cs.unibo.it/helm/. -->
+
<!--******************************************************************-->
<!-- Basic Set Theory -->
<!-- First draft: April 3 2000 -->
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:helm="http://www.cs.unibo.it/helm">
-<!--******************************************************************-->
-<!-- Variable containing the absolute path of the CIC file -->
-<!--******************************************************************-->
-
-<xsl:variable name="absPath">http://localhost:8081/getciconly?uri=</xsl:variable>
<!-- ************************* LOGIC *********************************-->
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/In.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
and (count(child::*) = 2) and APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/In.con']]]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="APPLY/CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Empty_set.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Singleton.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Couple.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Triple.ind'] and (count(child::*) = 5)]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Intersection.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Union.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Included.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Strict_Included.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Setminus.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Add.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Subtract.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="CONST/@uri"/>
</xsl:call-template>
</xsl:variable>
<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Finite_sets/Ensembles_finis/cardinal.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
- <xsl:with-param name="first_uri" select="/cicxml/@uri"/>
+ <xsl:with-param name="first_uri" select="$CICURI"/>
<xsl:with-param name="second_uri" select="MUTIND/@uri"/>
</xsl:call-template>
</xsl:variable>