[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Reg D group "illustration-assumption" page missing?
From: |
Greg Chicares |
Subject: |
[lmi] Reg D group "illustration-assumption" page missing? |
Date: |
Fri, 28 Sep 2018 21:09:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Vadim--Having once studied 'reg_d_group.xsl', can you remember why
this logical page:
<!-- Define the Illustration Assumption Detail page. -->
<fo:simple-page-master master-name="illustration-assumption">
seems never to print? AFAICT:
- Old XSL-FO PDFs match new wxPdfDoc PDFs for 'sample2gpp'.
- New PDFs have no code for this page.
- Old PDFs do have code for this page, but seem never to print it.
My theory is that this is dead code. I see conditionals in the
template that depend on whether there is a supplemental report,
and on whether the PDF is a composite...
<xsl:template name="illustration-assumption">
<xsl:variable name="illustration_assumption_columns_raw">
...
<xsl:variable name="illustration_assumption_columns"
select="document('')//xsl:address@hidden'illustration_assumption_columns_raw']/column"/>
<xsl:variable name="columns"
select="$illustration_assumption_columns[not(@composite) or
(boolean(@composite='1')=$is_composite)]"/>
...
<fo:flow flow-name="xsl-region-body">
...
<xsl:if test="not($has_supplemental_report)">
<fo:block id="endofdoc"/>
</xsl:if>
</fo:flow>
</xsl:template>
...but I tried all combinations of those two conditions and couldn't
get this page to print with the old XSL-FO system. Perhaps this XSL
fragment...
[not(@composite)
or (boolean(@composite='1')=$is_composite)
]
...expresses a condition that can never be satisfied?
- [lmi] Reg D group "illustration-assumption" page missing?,
Greg Chicares <=