[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] error in parameter setting
"Mauritz Jeanson" <mj@johanneberg.com> 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]