]> granicus.if.org Git - docbook-dsssl/commitdiff
Xalan debugging; harmless changes
authorNorman Walsh <ndw@nwalsh.com>
Wed, 20 Jun 2001 20:10:44 +0000 (20:10 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 20 Jun 2001 20:10:44 +0000 (20:10 +0000)
xsl/common/l10n.xsl

index 23138ab3665e85b0db6435e45e5d978685bed80c..a59236654eca4408463711d61cc72e5fac7d377a 100644 (file)
   <xsl:variable name="l10n.gentext"
                 select="($l10n.xml/internationalization/localization[@language=$lang]/gentext[@key=$key])[1]"/>
 
-  <xsl:variable name="l10n.name">
+  <xsl:variable name="l10n.name" select="$l10n.gentext/@text"/>
+
+<!--
+  <xsl:message>
+    <xsl:text>gentext: </xsl:text>
+    <xsl:value-of select="$key"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="count($l10n.gentext)"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$l10n.name"/>
+    <xsl:text>; </xsl:text>
+    <xsl:value-of select="name($l10n.gentext)"/>
+    <xsl:text>, </xsl:text>
     <xsl:value-of select="$l10n.gentext/@text"/>
-  </xsl:variable>
+  </xsl:message>
+-->
 
   <xsl:choose>
     <xsl:when test="count($l10n.gentext)=0">