xsl-list
[Top] [All Lists]

blank-or-not-blank attribute

2004-08-29 12:23:45
I'm not able to get the "blank-or-not-blank" attribute of
fo:conditional-page-master to work.  I've read the W3 spec on the topic, but
find it rather cryptic.  This is what my code looks like:


<fo:simple-page-master master-name="theImage"
            page-height="29.7cm"
            page-width="21cm"
            margin-top="1cm"
            margin-bottom="1cm"
            margin-left="2.5cm"
            margin-right="2.5cm">
  <fo:region-body margin-top="1.5cm" margin-bottom="1.5cm"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="blankPage">
       <fo:region-body/>
</fo:simple-page-master>

<fo:page-sequence-master master-name="image">
  <fo:repeatable-page-master-alternatives>
     <fo:conditional-page-master-reference master-reference="blankPage"
        blank-or-not-blank="blank"/>
     <fo:conditional-page-master-reference master-reference="theImage"/>
  </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

Essentially, what I'm trying to achieve here is an empty page and then the
contents of "theImage" on the following page.  I've also tried making a
fo:page-sequence-master all its own for the blank page with its fo:flow
containing no content, but that didn't seem to work either.  At this point my
output is the content of theImage page with no blank neighboring pages.  In
addition, I've confirmed the support of this feature since I'm using the
RenderX fo processor and its literature indicates this attribute is supported.

Any insight would be greatly appreciated,
Tracy






<Prev in Thread] Current Thread [Next in Thread>