From: Claudio Sacerdoti Coen Date: Fri, 14 Sep 2001 13:58:49 +0000 (+0000) Subject: * getter.xsl added X-Git-Tag: v0_1_3~86 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=0b1e5fb100fe57fb53f98038570b1fae191d331d;p=helm.git * getter.xsl added In this stylesheet there is a simple function to make the URL of an XML file given its URI. (The URL is used to ask the getter to retrieve the file) * every other stylesheet (but ricerca.xsl that is unused and links_library.xsl) has been changed to use the new function instead of computing the URL cutting&pasting the same code again and again. --- diff --git a/helm/style/content.xsl b/helm/style/content.xsl index 2ce29b43a..95a1f66b2 100644 --- a/helm/style/content.xsl +++ b/helm/style/content.xsl @@ -182,51 +182,54 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../] - + - + + - + + + mutcase - + - + LAMBDA - + app - + LAMBDA diff --git a/helm/style/drop_coercions.xsl b/helm/style/drop_coercions.xsl index a259955dd..9731d6601 100644 --- a/helm/style/drop_coercions.xsl +++ b/helm/style/drop_coercions.xsl @@ -34,7 +34,7 @@ -getxml?uri= + diff --git a/helm/style/getter.xsl b/helm/style/getter.xsl new file mode 100644 index 000000000..c2f36de5c --- /dev/null +++ b/helm/style/getter.xsl @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + getxml?uri= + + + diff --git a/helm/style/html_set.xsl b/helm/style/html_set.xsl index 900329f79..4003d258c 100644 --- a/helm/style/html_set.xsl +++ b/helm/style/html_set.xsl @@ -110,8 +110,6 @@ - @@ -294,8 +292,6 @@ - diff --git a/helm/style/inductive.xsl b/helm/style/inductive.xsl index ae225272d..83569d751 100644 --- a/helm/style/inductive.xsl +++ b/helm/style/inductive.xsl @@ -43,8 +43,9 @@ + + select="document($InductiveTypeUrl)/Definition/type//PROD[not(ancestor::source)]/source/*[1]"/> diff --git a/helm/style/params.xsl b/helm/style/params.xsl index 6e7f98545..b5b7f9b88 100644 --- a/helm/style/params.xsl +++ b/helm/style/params.xsl @@ -165,8 +165,9 @@ + + select="document($second_url)/*/@params"/> diff --git a/helm/style/proofs.xsl b/helm/style/proofs.xsl index 51a0f0d52..0651f65ec 100644 --- a/helm/style/proofs.xsl +++ b/helm/style/proofs.xsl @@ -108,8 +108,9 @@ + + select="document($InductiveTypeUrl)/InductiveDefinition"/> diff --git a/helm/style/ricerca.xsl b/helm/style/ricerca.xsl index 9831718df..e22a2a943 100644 --- a/helm/style/ricerca.xsl +++ b/helm/style/ricerca.xsl @@ -31,6 +31,8 @@ + + getxml?uri= diff --git a/helm/style/rootcontent.xsl b/helm/style/rootcontent.xsl index 497e54c48..64acead36 100644 --- a/helm/style/rootcontent.xsl +++ b/helm/style/rootcontent.xsl @@ -45,6 +45,7 @@ + @@ -52,17 +53,16 @@ -getxml?uri= - + + - - +