/usr/share/kf5/kdoctools/customization/kde-chunk-common.xsl is in kdoctools5 5.28.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="kde-include-common.xsl"/>
<xsl:template name="dbhtml-filename">
<xsl:choose>
<xsl:when test=". != /*">
<xsl:value-of select="@id"/>
<xsl:value-of select="$html.ext"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>index.html</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dbhtml-dir">
</xsl:template>
<xsl:template name="user.head.content">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="GENERATOR" content="KDE XSL Stylesheet V{$KDOCTOOLS_XSLT_VERSION} using libxslt"/>
</xsl:template>
<xsl:template name="user.header.navigation">
<!-- xsl:attribute name="id">content</xsl:attribute -->
<xsl:text disable-output-escaping="yes"><div id="content"></xsl:text>
</xsl:template>
<xsl:template name="user.header.content">
<xsl:text disable-output-escaping="yes"><div id="contentBody"></xsl:text>
</xsl:template>
<xsl:template name="user.footer.content">
<xsl:text disable-output-escaping="yes"></div></xsl:text>
</xsl:template>
<xsl:template name="user.footer.navigation">
<xsl:text disable-output-escaping="yes"></div></xsl:text>
</xsl:template>
<xsl:template match="ulink[@type='commondoc']">
<xsl:variable name="kde.commondoc.url"><xsl:value-of select="concat($kde.common,@url)"/></xsl:variable>
<xsl:call-template name="ulink">
<xsl:with-param name="url" select="$kde.commondoc.url"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>
|