]> matita.cs.unibo.it Git - helm.git/blob - helm/on-line/xslt/metadataLib.xsl
Dead code removed.
[helm.git] / helm / on-line / xslt / metadataLib.xsl
1 <?xml version="1.0"?>
2
3 <xsl:stylesheet version="1.0"
4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5  xmlns:subst="http://www.cs.unibo.it/helm/subst">
6
7 <xsl:import href="utils.xsl"/>
8 <xsl:import href="show_dc.xsl"/>
9 <xsl:import href="links_library.xsl"/>
10
11 <xsl:param name="CICURI" select="''"/>
12 <xsl:param name="getterURL" select="''"/>
13 <xsl:param name="draw_graphURL" select="''"/>
14 <xsl:param name="rdflyURL" select="'http://localhost:58086/'"/>
15
16 <!--CSC: code cut & pasted from makeGraphLinks -->
17 <xsl:param name="uri_set_size" select="'30'"/>
18 <!--CSC: end of cut & paste from makeGraphLinks -->
19
20 <xsl:variable name="BaseRDFURLForward" select="concat($rdflyURL,'get?kind=forward&amp;object=')"/>
21 <xsl:variable name="BaseRDFURLBackward" select="concat($rdflyURL,'get?kind=backward&amp;object=')"/>
22 <xsl:variable name="BaseRDFURLDC" select="concat($rdflyURL,'get?kind=dc&amp;object=')"/>
23
24 <xsl:template match="/">
25  <html>
26   <head>
27    <title>Metadata of <xsl:value-of select="$CICURI"/></title>
28   </head>
29   <body onLoad="window.focus()" bgColor="white">
30    <xsl:variable name="CICURL">
31      <xsl:call-template name="makeURL">
32       <xsl:with-param name="uri" select="$CICURI"/>
33      </xsl:call-template>
34    </xsl:variable>
35    <xsl:apply-templates select="*"/>
36   <xsl:call-template name="loop_show_dc">
37    <xsl:with-param name="CICURI" select="$CICURI"/>
38   </xsl:call-template>
39   </body>
40  </html>
41 </xsl:template>
42
43 </xsl:stylesheet>