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">
10 media-type="text/html"
11 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
12 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
14 <xsl:param name="RDFURI" select="''"/>
17 <xsl:include href="http://phd.cs.unibo.it/helm/xslt/metadataLib.xsl"/>
19 <xsl:variable name="url" select="concat($getterURL,'resolve?uri=')"/>
21 <xsl:template match="InductiveDefinition">
22 <xsl:for-each select="InductiveType">
23 <xsl:variable name="RDFURIInductiveType" select="concat($RDFURI,',',position())"/>
24 <xsl:apply-templates select="document(concat($url,$RDFURIInductiveType))" mode="makelink">
25 <xsl:with-param name="name" select="@name"/>
26 <xsl:with-param name="RDFURI" select="$RDFURIInductiveType"/>
27 </xsl:apply-templates>
28 <xsl:for-each select="Constructor">
29 <xsl:variable name="RDFURIConstructor" select="concat($RDFURIInductiveType,',',position())"/>
30 <xsl:apply-templates select="document(concat($url,$RDFURIConstructor))" mode="makelink">
31 <xsl:with-param name="name" select="@name"/>
32 <xsl:with-param name="RDFURI" select="$RDFURIConstructor"/>
33 </xsl:apply-templates>