[Home] [By Thread] [By Date] [Recent Entries]
At 2009-10-26 10:36 -0700, mark bordelon wrote:
I will eventually learn all this at a class I am taking with Ken, but need this working before then, unfortunately. Yes, all of this is covered in the classroom. Note to others: there are still seats remaining for both the XSLT/XQuery class next week and the XSL-FO class the following week ... please see here for details: http://www.CraneSoftwrights.com/index.html#Crane200910IAD 1) (region-bfore) I am getting errors about having two flow tags. Indeed. In XSL-FO 1.0 only one flow is allowed (any number are allowed in 1.1, but you only need one). When I change the first to static-content, nothing appears at all in this region. That surprises me. From your stylesheet I would have expected the content to show, but to be in conflict with the body content on the page. How can you put text into two regions of the same page-sequence? You use multiple <fo:static-content flow-name=""> elements, one for each of the perimeter regions you need content in, and then one <fo:flow> that triggers the pagination. 2) (region-after) The "denominator" of the page footer does not display. I have looked through the documentation and cannot figure what is wrong. I'm unfamiliar with the use of "denominator" in publishing, and I don't see the word in your stylesheet fragment. But I do note that your body-region doesn't have any margin to accommodate the after-region ... only the before and left margins are specified for the body-region. Your body-region should have a bottom margin at least the size of the extent of the page's after-region. An error is not generated in the case of the overlap of regions, because there are some strategies where the overlap is very useful, as illustrated in the free UN Layout Key stylesheets for UBL on our web site: the background is painted with XSL-FO and the foreground is overlaid on top with more XSL-FO. I hope this helps. . . . . . . . . . . . Ken <?xml version="1.0" encoding="UTF-8"?> -- Upcoming: hands-on XSLT, XQuery and XSL-FO Washington DC Nov 2009 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
|

Cart



