Note that there are some explanatory texts on larger screens.

plurals
  1. PONeed to create a static footer with xsl-fo
    text
    copied!<p>At the bottom of my document, I have an address that I need to stay at the bottom so the address can be used in window mailers. I have tried using static-content tags to achieve this, but my document errors out every time. I am new to this, so I'm guessing I missing something. I want the "contractor" template to be static in the footer.</p> <pre><code> &lt;xsl:template match="/" &gt; &lt;fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt; &lt;fo:layout-master-set&gt; &lt;!-- Setup up page size (Can be in inches or centimeters)--&gt; &lt;fo:simple-page-master master-name="page" page-width="8.50in" page-height="11.00in" margin-top="0.50in" margin-bottom="0.50in" margin-left="0.50in" margin-right="0.50in"&gt; &lt;fo:region-body margin-top="0cm"/&gt; &lt;fo:region-before extent="0cm"/&gt; &lt;fo:region-after extent="0cm"/&gt; &lt;/fo:simple-page-master&gt; &lt;/fo:layout-master-set&gt; &lt;xsl:apply-templates select="/Permits/Permit" /&gt; &lt;/fo:root&gt; &lt;/xsl:template&gt; &lt;xsl:template match="Permit"&gt; &lt;fo:page-sequence master-reference="page"&gt; &lt;fo:flow flow-name="xsl-region-body"&gt; &lt;fo:block font-size="10pt"&gt; &lt;xsl:call-template name="header"/&gt; &lt;xsl:call-template name="permitdetails"/&gt; &lt;xsl:call-template name="permitdetails2"/&gt; &lt;xsl:call-template name="parties"/&gt; &lt;xsl:call-template name="feesummary"/&gt; &lt;xsl:call-template name="inspections"/&gt; &lt;xsl:call-template name="contractor"/&gt; &lt;/fo:block&gt; &lt;/fo:flow&gt; &lt;/fo:page-sequence&gt; &lt;/xsl:template&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload