diff options
author | fotis <fotis@unknown> | 2001-01-11 12:37:20 +0000 |
---|---|---|
committer | fotis <fotis@unknown> | 2001-01-11 12:37:20 +0000 |
commit | a5448941a947004e4ace2d69e9495a024aa89b1f (patch) | |
tree | d35bf3cbcd7a166660e7b3ff606b8d73e7f761ac /docs/xml-docs/style/stylesheets/context2label.xsl | |
parent | 533c0fa3a7803ffeced5efc6d996ad84dd8041c2 (diff) | |
download | xmlgraphics-fop-a5448941a947004e4ace2d69e9495a024aa89b1f.tar.gz xmlgraphics-fop-a5448941a947004e4ace2d69e9495a024aa89b1f.zip |
adding html resource files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193968 13f79535-47bb-0310-9956-ffa450edef68
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 |