Did you forget to define your "footer" attribute set?  If you don't need 
it, remove that from the block and you should be OK:

A very simple example:

        <fo:static-content flow-name="region-after-first">
                <xsl:call-template name="poFooter"/>
        </fo:static-content>


        <xsl:template name="poFooter">
                <fo:block space-before="1mm" font-size="7pt" 
text-align="end">
                        Page <fo:page-number/> of <fo:page-number-citation 
ref-id="lastpage"/>
                </fo:block>
                <xsl:call-template name = "copyright"/>
        </xsl:template>

OK?

-Lou

"Steffanina, Jeff" <[EMAIL PROTECTED]> wrote on 10/02/2008 
11:55:07 AM:

> Hello All, 
> FOP 0.95 
> Linux 
> I am trying to add a footer to my functioning style sheet.  The 
> footer will include a page number and some fixed text.  I have added
> the code below and the following error is generated:
> SEVERE: javax.xml.transform.TransformerException: attribute-set 
> named footer does not exist 
> What am I missing? 
> 
> …. 
> …. 
> …. 
> <fo:region-after region-name="footer-main" extent="1in"/> 
> ….. 
> …. 
> …. 
> …. 
> <fo:static-content flow-name="footer-main"> 
>   <fo:block xsl:use-attribute-sets="footer"> 
>   <fo:page-number/> 
>   </fo:block> 
> </fo:static-content> 
> Jeff 

Reply via email to