Revision: 6757
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6757&view=rev
Author:   dnaber
Date:     2012-04-21 10:14:17 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
show the URL, if any

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/print.xsl

Modified: trunk/JLanguageTool/src/rules/print.xsl
===================================================================
--- trunk/JLanguageTool/src/rules/print.xsl     2012-04-21 10:08:25 UTC (rev 
6756)
+++ trunk/JLanguageTool/src/rules/print.xsl     2012-04-21 10:14:17 UTC (rev 
6757)
@@ -48,7 +48,7 @@
 
     <xsl:template match="//rule[@id!='']">
         <li>
-            <xsl:value-of select="@name" />            
+            <xsl:value-of select="@name" />
         </li>
         <ul>
             <xsl:apply-templates select="*" />
@@ -64,6 +64,14 @@
         </ul>
     </xsl:template>
 
+    <xsl:template match="//rule/url">
+        <li>
+            <xsl:element name="a">
+                <xsl:attribute name="href"><xsl:value-of select="." 
/></xsl:attribute>
+                <xsl:value-of select="."/>
+            </xsl:element>
+        </li>
+    </xsl:template>
 
     <xsl:template match="//rule/example[@type='incorrect']">
         <li>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to