diff options
Diffstat (limited to 'docs/xml-docs/style/stylesheets/context2label.xsl')
-rw-r--r-- | docs/xml-docs/style/stylesheets/context2label.xsl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/xml-docs/style/stylesheets/context2label.xsl b/docs/xml-docs/style/stylesheets/context2label.xsl new file mode 100644 index 000000000..91b074a39 --- /dev/null +++ b/docs/xml-docs/style/stylesheets/context2label.xsl @@ -0,0 +1,25 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> + + <xsl:param name="image"/> + <xsl:param name="color"/> + + <xsl:template match="/"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="context"> + <image source="{$image}"> + <xsl:apply-templates/> + </image> + </xsl:template> + + <xsl:template match="parameter"> + <xsl:if test="@name='label'"> + <text font="Arial" size="12" x="14" y="1" halign="left" + valign="top" color="{$color}" style="italic" text="{@value}"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet>
\ No newline at end of file |