I'd put <xsl:template select="Contents> instead of <xsl:template match="Contents"> which threw up the error: null.

Thanks Mihael for telling me about the fop -d option


At 09:07 AM 3/22/2002 +0100, you wrote:
> I constructed my first xsl document to render a pdf using a singletemplate. This worked fine. However the form was rather large so Idecided to split certain parts of it into separate templates and now I amgetting a null error. Please help
> I used fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf
> and get
> C:\dev\homelet2002\dist\lib>java -cpc:\fop-0.20.1\build\fop.jar;c:\fop-0.20.1\lib\batik.jar;c:\fop-0.20.1\lib\xalan.jar;c:\fop-0.20.1\l
> ib\xerces.jar;c:\fop-0.20.1\lib\jimi-1.0.jar org.apache.fop.apps.Fop -xmlTIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf
> FOP 0.20.1
> ERROR: null
> <fo:page-sequence>

I think you forgot the master-reference attribute on fo:page-sequence.

Jeremias Märki


Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch

Reply via email to