This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]