[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] [Error] null when creating pdf with fop
Thanks for the reply Mauritz. I tried your suggestion. While it didn't exactly fix my problem, it put me on the right track. After manually validating my docbook xml source files, I was able to create PDFs. Subject: RE: [docbook-apps] [Error] null when creating pdf with fop * From: "Mauritz Jeanson" <mj@johanneberg.com> * To: "'Roger Weinheimer'" <RogerW@onyx.com>, "'apps docbook'" <docbook-apps@lists.oasis-open.org> * Date: Sat, 16 Apr 2005 11:55:50 +0200 > -----Original Message----- > From: Roger Weinheimer > > I'm following the DocBook XSL Definitive Guide. I'm trying a > simple input xml file. I cannot create the pdf to save my > life. I would appreciate any suggestions. ... > xml input (myfile.xml): > <?xml version="1.0"?> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" > "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";> > <book> > <title>User Guide</title> > <para>This guide shows you how to use the software.</para> > <chapter> > <title>pre-foo</title> > <para>pre-bar</para> > </chapter> > <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; > href="myfile_chapter.xml"/--> > <!--xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; > href="myfile_chapter.xml"/--> > <chapter> > <title>post-foo</title> > <para>post-bar</para> > </chapter> > </book> The input file is not valid. A <para> element is not allowed directly after <title>. Remove the <para> and the PDF should be fine. /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]