[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] New to this list, with an XSL question...
Greetings, Bob, On Wed, Oct 24, 2018 at 08:42:17AM -0700, Bob Stayton wrote:
I'm not sure what the problem is here, as your process looks correct. Can you compare your generated titlepage.xsl to the original fo/titlepage.templates.xsl that is included with the distribution? They should be equivalent, modulo whitespace variations.
Thank your for your reply. Please, be patient, I have reproduced the experiment, but since I do not modify any file, I am using the distribution files directly, like this: xsltproc --output titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xml The command above created the new titlepage.xsl file in the local directory. Now I can compare the sizes of both xsl files: 799 lines for the original one (/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.xsl) 1266 lines for the newly created one If I open the newly created file in an editor, I see *existing* lines that are empty. The file contains only the following non-empty line line 1: <?xml version="1.0"?> All the remaining lines are empty (only '\n' characters). For the record, the xml file contains this amount of lines: 1682 /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xml So something is wrong, but also I must have made a mistake the first time I tried, since the build of the pdf file went to the end (the validation succeeded) while now the build fails with the following error: /home/rusconi/devel/docbook/msxpertsuite/minexpert/xslt/fo/titlepage.xsl:1267: parser error : Start tag expected, '<' not found ^ compilation error: file /home/rusconi/devel/docbook/msxpertsuite/minexpert/xslt/fo/docbook.xsl line 6 element import xsl:import : unable to load /home/rusconi/devel/docbook/msxpertsuite/minexpert/xslt/fo/titlepage.xsl The error is related to the fact that apart from the first line, there is not a single XML tag in the imported xls file. So, this is where I am at the moment. Thank for your attention, Cheers, Filippo -- âââââââ Filippo Rusconi, PhD âââââââ Scientist at CNRS âââââââ Debian Developer âââââââ http://msxpertsuite.org http://www.debian.org ~~~~ book: http://www.lavoisier.fr/livre/notice.asp?id=3LKW2OAR2KROWZ http://books.google.fr/books?id=2NmguxmEI1sC&printsec=frontcover&dq=rusconi+f+lavoisier&hl=fr&sa=X&ei=nGGOUt2SH_Ly0gX0uIHoBQ&ved=0CDUQ6AEwAA#v=onepage&q&f=false ~~~~ GÃnÃtique Quantitative et Ãvolution & Plateforme PAPPSO UMR CNRS 8120 â INRA â Università Paris-Sud â AgroParisTech - Università Paris-Saclay http://moulon.inra.fr/ & http://pappso.inra.fr/ Ferme du Moulon 91190 Gif-sur-Yvette France Tel : +33 (0)1 69 33 23 68 Fax : +33 (0)1 69 33 23 40
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]