[Yanel-commits] rev 54506 - public/yanel/trunk/src/webapp/htdocs/Google-Analytics

michi at wyona.com michi at wyona.com
Mon Nov 8 14:53:11 CET 2010


Author: michi
Date: 2010-11-08 14:53:11 +0100 (Mon, 08 Nov 2010)
New Revision: 54506

Modified:
   public/yanel/trunk/src/webapp/htdocs/Google-Analytics/GA.xslt
Log:
match all links independent of namespaces

Modified: public/yanel/trunk/src/webapp/htdocs/Google-Analytics/GA.xslt
===================================================================
--- public/yanel/trunk/src/webapp/htdocs/Google-Analytics/GA.xslt	2010-11-08 13:52:22 UTC (rev 54505)
+++ public/yanel/trunk/src/webapp/htdocs/Google-Analytics/GA.xslt	2010-11-08 13:53:11 UTC (rev 54506)
@@ -62,7 +62,10 @@
 
 
 <!-- INFO: Add onclick if URL corresponds to an asset -->
+<xsl:template match="*[local-name()='a']">
+<!-- TODO: It seems that all links inserted with TinyMCE are loosing their namespace and hence the below does not match
 <xsl:template match="xhtml:a">
+-->
   <xsl:param name="URL" select="@href"/>
 
 <!-- DEBUG: Output URL suffix



More information about the Yanel-commits mailing list