aboutsummaryrefslogtreecommitdiffstats
path: root/examples/embedding/xml/xslt
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-02-05 00:31:50 +0000
committerGlen Mazza <gmazza@apache.org>2004-02-05 00:31:50 +0000
commit30ca4bc59edcb952327d0d2e01ac3b5c1fb2917c (patch)
treebb7bcc42779d1e560f86fff0ef6610bbd3839061 /examples/embedding/xml/xslt
parenta50659dd2da987ffda829a6416042c35306959ec (diff)
downloadxmlgraphics-fop-30ca4bc59edcb952327d0d2e01ac3b5c1fb2917c.tar.gz
xmlgraphics-fop-30ca4bc59edcb952327d0d2e01ac3b5c1fb2917c.zip
Added a parameter to the projectteam2fo.xsl example (for subsequent use
in showing a setTransform() call in the samples); also added a needed library to the examples' build.xml file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197330 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/embedding/xml/xslt')
-rw-r--r--examples/embedding/xml/xslt/projectteam2fo.xsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/embedding/xml/xslt/projectteam2fo.xsl b/examples/embedding/xml/xslt/projectteam2fo.xsl
index ba205fbf8..d10ae8551 100644
--- a/examples/embedding/xml/xslt/projectteam2fo.xsl
+++ b/examples/embedding/xml/xslt/projectteam2fo.xsl
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo">
<xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/>
+ <xsl:param name="versionParam" select="1.0"/>
<!-- ========================= -->
<!-- root element: projectteam -->
<!-- ========================= -->
@@ -15,6 +16,8 @@
<fo:flow flow-name="xsl-region-body">
<fo:block font-size="16pt" font-weight="bold" space-after="5mm">Project: <xsl:value-of select="projectname"/>
</fo:block>
+ <fo:block font-size="12pt" space-after="5mm">Version <xsl:value-of select="$versionParam"/>
+ </fo:block>
<fo:block font-size="10pt">
<fo:table table-layout="fixed">
<fo:table-column column-width="4cm"/>