Subject: Re: [xsl] XSL-FO beginner's question From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 28 Sep 2009 18:58:31 -0400 |
Ladies and Gentlemen of the xsl-list,
Seoncdly, thanks for heads of on your training session. My boss and I discussed this a week ago as something helpful for me. In the meantime, I will have to make due with my failing around....
Thirdly, some more details on my problem, since I am still not getting any results.
0) DRIVER STYLESHEET which calls A and should also call B has this form: <xsl:stylesheet>
<!--stylesheet includes-->
<xsl:include href="./A.xsl"/> <!-- after the contents in print/web permission -->
<xsl:include href="./B.xsl"/> <!-- needs to be positioned on its own page at the very end -->
<!-- flow for first page--> ... <fo:flow flow-name="xsl-region-body"> <fo:block font-size="8pt" text-align="center"> <xsl:apply-templates select="//UOIS" mode="cover"/> ... <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="//UOIS" mode="captions"/>
A) The correctly working pages 2 - ?? has this form:
<xsl:stylesheet>
<xsl:template match="UOIS[@MODEL_ID = $IMAGE_MODEL_ID or @MODEL_ID = $TMS_IMAGE_MODEL_ID]" mode="captions">
<fo:table> </fp:table>
</xsl:template>
</xsl:stylesheet>
B) the new stylesheet B.xsl containing only static content to be placed at the very end now has this form, following my understanding of Ken's recommendations:
<xsl:stylesheet> <fo:page-sequence master-reference="last" force-page-count="no-force"> <fo:static-content flow-name="xsl-region-start"> <fo:table> </fo:table> </fo:static-content> <fo:static-content flow-name="xsl-region-body"> <fo:table> </fo:table> </fo:static-content> </fo:page-sequence> </xsl:stylesheet>
Am I on track?
<xsl:stylesheet ...> <xsl:template name="do-the-last-bit"> <fo:page-sequence master-reference="last" force-page-count="no-force"> <fo:static-content flow-name="xsl-region-start"> ... <fo:flow> ... </fo:page-sequence> </xsl:template> </xsl:stylesheet>
... <xsl:apply-templates select="//UOIS" mode="captions"/> <fo:block id="last-page"/> </fo:flow> </fo:page-sequence> <xsl:call-template name="do-the-last-bit"/> </fo:root> </xsl:template>
-- Upcoming hands-on code list, UBL, XSLT, XQuery and XSL-FO classes. Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx 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] XSL-FO beginner's questio, mark bordelon | Thread | Re: [xsl] XSL-FO beginner's questio, mark bordelon |
Re: [xsl] XSL-FO beginner's questio, mark bordelon | Date | Re: [xsl] XSL-FO beginner's questio, mark bordelon |
Month |