]> matita.cs.unibo.it Git - helm.git/commitdiff
- added an additional level of quoting on xmluri argument because
authorStefano Zacchiroli <zack@upsilon.cc>
Mon, 2 Dec 2002 13:23:36 +0000 (13:23 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Mon, 2 Dec 2002 13:23:36 +0000 (13:23 +0000)
  libxslt's document() implementation sucks

helm/style/links_library.xsl

index 22e0ac48d779da37cd0f5b7e83c92d32836005e3..0c8c02845e2ffc5e8ce5ccfcaca2861247820deb 100644 (file)
 </xsl:template>
 
 <xsl:variable name="absPath">
+ <!-- Zack: two levels of quoting because libxslt 'document()'
+ implementation perform an unquoting on the given URL -->
  <xsl:call-template name="quote">
-  <xsl:with-param name="s"><xsl:value-of select="$getterURL"/>getxml?uri=</xsl:with-param>
+  <xsl:with-param name="s">
+   <xsl:call-template name="quote">
+    <xsl:with-param name="s"><xsl:value-of select="$getterURL"/>getxml?uri=</xsl:with-param>
+   </xsl:call-template>
+  </xsl:with-param>
  </xsl:call-template>
 </xsl:variable>