You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2016/04/26 00:06:19 UTC
svn commit: r1740914 - /webservices/axiom/trunk/src/docbkx/xsl/html.xsl
Author: veithen
Date: Mon Apr 25 22:06:19 2016
New Revision: 1740914
URL: http://svn.apache.org/viewvc?rev=1740914&view=rev
Log:
Fix the Google Analytics snippet in Docbook generated pages.
Modified:
webservices/axiom/trunk/src/docbkx/xsl/html.xsl
Modified: webservices/axiom/trunk/src/docbkx/xsl/html.xsl
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/docbkx/xsl/html.xsl?rev=1740914&r1=1740913&r2=1740914&view=diff
==============================================================================
--- webservices/axiom/trunk/src/docbkx/xsl/html.xsl (original)
+++ webservices/axiom/trunk/src/docbkx/xsl/html.xsl Mon Apr 25 22:06:19 2016
@@ -21,17 +21,7 @@
version="1.0">
<xsl:import href="urn:docbkx:stylesheet"/>
- <xsl:template match="@*|node()" mode="copy-head">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()" mode="copy-head"/>
- </xsl:copy>
- </xsl:template>
-
<xsl:template name="user.head.content">
- <xsl:for-each select="document('../../site/site.xml')/project/body/head/*">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()" mode="copy-head"/>
- </xsl:copy>
- </xsl:for-each>
+ <xsl:value-of select="document('../../site/site.xml')/project/body/head/text()" disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file