You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/11/07 19:53:22 UTC

svn commit: r331572 - /forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl

Author: thorsten
Date: Mon Nov  7 10:53:18 2005
New Revision: 331572

URL: http://svn.apache.org/viewcvs?rev=331572&view=rev
Log:
Changed the link generation out of the lex grammar to reuse it in inline css. It is a workaround for now till we establish a way to make contracts standalone.

Modified:
    forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl

Modified: forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl?rev=331572&r1=331571&r2=331572&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl (original)
+++ forrest/trunk/main/webapp/resources/chaperon/stylesheets/pattern2link.xsl Mon Nov  7 10:53:18 2005
@@ -34,7 +34,11 @@
  </xsl:template>
 
  <xsl:template match="lex:lexeme[@symbol='cssurl']">
-  <a href="{lex:group[3]}"><xsl:value-of select="lex:group[1]"/></a>
+  <!--HEADSUP: thorsten changed this because we get working inline css and for static reading it should not differ( one " ;" added).
+    was:
+    <a href="{lex:group[3]}"><xsl:value-of select="lex:group[1]"/></a>
+    -->
+  <xsl:value-of select="lex:group[1]"/>;<a href="{lex:group[3]}"><xsl:text> </xsl:text></a>
  </xsl:template>
  
  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">