- From: G. Ken Holman <gkholman@CraneSoftwrights.com>
- Date: Sat, 11 Oct 2003 18:15:38 -0400
- To: www-xsl-fo@w3.org
At 2003-10-10 18:26 +0530, Aananth.S wrote: >This is what i've been able to make out from what you said.let me know >if this is correct (not syntactically coded). You are very close ... read Chapter 7, the example on page 204 shows the definition of before and after regions *inside* of simple page masters with different region names. >i create 2 simple page masters > ><layout-master-set> > <simple-page-master name="1"> ...... <region-before region-name="first-page-before"/> ></simple-page-master> > <simple-page-master name="2"> ...... <region-before region-name="other-page-before"/> ></simple-page-master> > > <page-sequence-master name="both"> > <single-page-master-reference master-name="1"/> > <repeateable-page-master-refrence master-name="2" >maximum-repeats="100"/> > </page-sequence-master> > </layout-master-set> > > <page-sequence master-refrence="both"> <static-content flow-name="first-page-before">.... <static content flow-name="other-page-before">.... <flow>.... >in this page sequence,i can have only >one static content each for region before/after etc. Correct, but you have two differently-name regions, one in each of the two different simple page masters. >how do i say that >for the first page in the sequence(created as a result of the single >page master reference), use static content ONE and for the subsequent >pages(generated by the repetable page master) use static content >number 2?? Indirectly through the region names. See bottom of page 197. >is this the correct way of doing first of all?? Close. >Practical frmatting using XSL - FO but using psmi etc is not an option PSMI is not appropriate for this, since all you are doing is sequencing and not in-the-flow triggering. >as we need to adher to only w3c standards. PSMI only uses standard W3C XSLT ... it just happens to be two-step instead of one-step ... in my opinion using PSMI still adheres to W3C ... you just don't need it for this part of the project. I hope this helps. .................. Ken -- Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-11-?? Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details G. Ken Holman mailto:gkholman@CraneSoftwrights.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Received on Saturday, 11 October 2003 23:34:10 UTC