[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] error with including files in chapters and an extra page in the .pdf
It may depend on what you are including and whether the result is a valid document. You might try validating the content after XIncludes are resolved: http://www.sagehill.net/docbookxsl/ValidXinclude.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Chip Wiegand" <chip.wiegand@simrad.com> To: "Docbook list" <docbook-apps@lists.oasis-open.org> Sent: Friday, July 29, 2005 1:51 PM Subject: [docbook-apps] error with including files in chapters and an extra page in the .pdf > I am starting a <book> and have set up 3 chapters with no data, just empty > chapters. This works fine and creates a proper .pdf. When I add this line > of code - > > <xi:include href="error-0-record-or-file-busy.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> > > I get the following error: > > SystemID: null > Description: E The process 'FOP' ended with code : 2 The error was : > [ERROR] > file:/C:/Documents%20and%20Settings/Chip.Wiegand.SIMRAD/My%20Documents/DocBook%20Work/MAS200Book.xml_xslt:1:40414 > page-sequence must be child of root, not fo:flow > > The full source looks like this - > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" > "http://www.docbook.org/xml/4.4/docbookx.dtd" > [ <!ENTITY % xinclude SYSTEM > "file:/C:/Program%20Files/Oxygen%206.1/frameworks/docbook/dtd/xinclude.mod"> > %xinclude; > ]> > <book> > <title>MAS200 Troubleshooting Guide</title> > <bookinfo> > <author> > <firstname>Chip</firstname> > <surname>Wiegand</surname> > </author> > </bookinfo> > <chapter> > <title>Error 0 Fixes</title> > <xi:include href="error-0-record-or-file-busy.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> > </chapter> > <chapter> > <title>Error 11 Fixes</title> > <!-- <xi:include href="error-11-corrupt-invoice.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> > <xi:include href="error-11-incorrect-whse.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> > <xi:include href="error-11-unable-to-run-rebuild-sorts.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> --> > </chapter> > <chapter> > <title>Non-Numbered Errors - Fixes</title> > <!--<xi:include href="inventory-data-file-fix.xml" > xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>--> > </chapter> > </book> > > Oh, yeah, one more question - when the .pdf is created (I am using oXygen > on XP) there is the cover page, then title page, then a page with a > horizontal line at the bottom and top, then the toc. How can I get rid of > the mostly blank page with just the horizontal lines? > > Thanks and Regards, > > Chip Wiegand > Computer Services > Simrad, Inc > 425-778-8821 > 425-771-7211 (FAX) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]