[Yanel-commits] rev 29596 - public/yanel/trunk/src/realms/use-cases/yanel/data/xslt

josias at wyona.com josias at wyona.com
Thu Dec 6 11:55:14 CET 2007


Author: josias
Date: 2007-12-06 11:55:13 +0100 (Thu, 06 Dec 2007)
New Revision: 29596

Modified:
   public/yanel/trunk/src/realms/use-cases/yanel/data/xslt/global.xsl
Log:
don't ignore text nodes in the title. this fixes some htmlunit tests

Modified: public/yanel/trunk/src/realms/use-cases/yanel/data/xslt/global.xsl
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/data/xslt/global.xsl	2007-12-06 10:48:32 UTC (rev 29595)
+++ public/yanel/trunk/src/realms/use-cases/yanel/data/xslt/global.xsl	2007-12-06 10:55:13 UTC (rev 29596)
@@ -32,7 +32,7 @@
 <head>
 <xsl:comment>Name: <xsl:value-of select="$yanel.path.name"/> (without suffix: <xsl:value-of select="$name-without-suffix"/>), Path: <xsl:value-of select="$yanel.path"/>, Back 2 Realm: <xsl:value-of select="$yarep.back2realm"/>, Back 2 Context: <xsl:value-of select="$yanel.back2context"/></xsl:comment>
 
-  <title><xsl:apply-templates select="/xhtml:html/xhtml:head/xhtml:title/*"/> - Yanel</title>
+  <title><xsl:apply-templates select="/xhtml:html/xhtml:head/xhtml:title/node()"/> - Yanel</title>
 
   <!-- This is needed such that Microsoft Internet Explorer displays characters such as &nbsp; correctly (also see xsl:output, whereas I (Michi) am not sure if the encoding is really needed there) -->
   <meta content="application/xhtml+xml; charset=UTF-8" http-equiv="Content-Type"/>



More information about the Yanel-commits mailing list