[interchange-docs] xmldocs - docelic modified docbook/html-chunks.xsl

docs at icdevgroup.org docs at icdevgroup.org
Mon Mar 27 19:45:29 EST 2006


User:      docelic
Date:      2006-03-28 00:45:29 GMT
Modified:  docbook  html-chunks.xsl
Log:
* Wazzaaa Racke ;-)

  There goes our <meta name=area content=...> support for swish ;-)
  It inserts the <meta> tag in the page body (not head), but if we
  see this to be not enough in tomorrow's build, I already have a solution
  for <head> in hand.

  Also thanks to Scott Hudson ( http://scottysengineeringlog.net/ )
  for most of this pearl.

Revision  Changes    Path
1.14      +5 -2      xmldocs/docbook/html-chunks.xsl


rev 1.14, prev_rev 1.13
Index: html-chunks.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/html-chunks.xsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- html-chunks.xsl	27 Mar 2006 22:38:30 -0000	1.13
+++ html-chunks.xsl	28 Mar 2006 00:45:29 -0000	1.14
@@ -98,9 +98,12 @@
 
 	<xsl:template match="refclass[1]">
 		<xsl:variable name="area">
-			<xsl:value-of select="." />
+		<xsl:value-of select="." />
 		</xsl:variable>
-		<meta name="AREA" content="$area" />
+
+		<xsl:text disable-output-escaping="yes">&lt;meta name="AREA" content="</xsl:text>
+		<xsl:value-of select="$area" />
+		<xsl:text disable-output-escaping="yes">" /&gt;</xsl:text>
 	</xsl:template>
 
 








More information about the docs mailing list