OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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


> -----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]