]> matita.cs.unibo.it Git - helm.git/commitdiff
- added a level of quoting on xmluri parameter because libxslt's
authorStefano Zacchiroli <zack@upsilon.cc>
Mon, 2 Dec 2002 13:09:02 +0000 (13:09 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Mon, 2 Dec 2002 13:09:02 +0000 (13:09 +0000)
  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>