aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/style/stylesheets/any2header.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/xml-docs/style/stylesheets/any2header.xsl')
-rw-r--r--docs/xml-docs/style/stylesheets/any2header.xsl29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/xml-docs/style/stylesheets/any2header.xsl b/docs/xml-docs/style/stylesheets/any2header.xsl
new file mode 100644
index 000000000..29cdf075f
--- /dev/null
+++ b/docs/xml-docs/style/stylesheets/any2header.xsl
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
+
+ <xsl:param name="label"/>
+
+ <xsl:template match="/">
+ <image width="456" height="35" bgcolor="0086b2">
+ <xsl:apply-templates/>
+ </image>
+ </xsl:template>
+
+ <xsl:template match="s1|faqs|changes">
+ <xsl:variable name="title">
+ <xsl:if test="string-length(@title)=0">
+ <xsl:value-of select="$label"/>
+ </xsl:if>
+ <xsl:if test="string-length(@title)>0">
+ <xsl:value-of select="@title"/>
+ </xsl:if>
+ </xsl:variable>
+
+ <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080"
+ text="{$title}"/>
+ <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff"
+ text="{$title}"/>
+ </xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file