]> matita.cs.unibo.it Git - helm.git/commitdiff
Fixed a problem of Netscape with 'file:///' URL.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 23 Jul 2001 12:01:43 +0000 (12:01 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 23 Jul 2001 12:01:43 +0000 (12:01 +0000)
Now the stylesheets are copied inside every HTML file instead of
creating a <link/> to them.

helm/on-line/xslt/resolve_topurl.xsl

index fbd9d44a07509b09bf24c2139ec2a88f7558b5aa..6cfe0eda0417efbb802da2454d876cecc0d17728 100644 (file)
@@ -11,7 +11,7 @@
 <xsl:param name="topurl" select="''"/>
 
 <xsl:template match="subst:script">
- <script language="{@language}" src="{concat($topurl,@src)}"></script>
+ <xsl:copy-of select="document(concat($topurl,@src,'_xml'))" />
 </xsl:template>
 
 <xsl:template match="subst:topurl">