Next in thread → Next in month →

RE: [docbook-apps] error in parameter setting

From
Chip Wiegand <>
Date
2005-08-02T18:03:53+00:00
ID
Thread
RE: [docbook-apps] error in parameter setting
"Mauritz Jeanson" <> wrote on 08/02/2005 10:21:12 AM:

> > -----Original Message-----
> > From: Chip Wiegand 
> > 
> > Description: F The prefix "fo" for element "fo:block" is not bound.
> > 
> > with this code in my customization stylesheet -
> > 
> >     <xsl:template match="processing-instruction('custom-pagebreak')">
> >     <fo:block break-before='page'/>
> >     </xsl:template>
> > 
> > (this is 'supposed' to cause a page break in the .pdf 
> > document wherever I 
> > put <?custom-pagebreak?>)
> > Is this correct?
> > What does the error mean and how do I fix this?
> 
> 
> It means that you have elements in your stylesheet that use the "fo" 
prefix
> and that this prefix hasn't been declared as belonging to the XSL FO
> namespace. To fix it, add a declaration so that the start tag of the
> xsl:stylesheet element looks like this: 
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                 xmlns:fo="http://www.w3.org/1999/XSL/Format" 
>                 version="1.0">
> 
> 
> /MJ

Thanks, its working now, with the page breakes in the final .pdf even. 
Lookin' better all the time.
Regards,
Chip
Next in thread → Next in month →