Subject: Re: [xsl] XSLFO - create a special first page From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 08 Jul 2008 16:14:56 -0400 |
Suppose I have a parameter passed to the style sheet called test, if test='yes' only then I need to create this first page with wordings "Hello World". Can I do that?
<xsl:if test="$test='yes'"> <page-sequence master-reference="whatever-page-geometry-you-have-set-up"> <flow flow-name="whatever-the-name-of-your-region-body-is"> <block text-align="center">Hello World</block> </flow> </page-sequence> </xsl:if>
-- Upcoming XSLT/XSL-FO hands-on courses: Wellington, NZ 2009-01 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLFO - create a special , Sarkup Sarkup | Thread | Re: [xsl] XSLFO - create a special , Sarkup Sarkup |
Re: [xsl] XSLFO - create a special , Sarkup Sarkup | Date | RE: [xsl] Copy results, Michael Kay |
Month |