[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, Eduard, thank you for spotting that error. Yeah, I mix things apparently. Anyways, this is what I did following your remark: xsltproc --output titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/template/titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/titlepage.templates.xml and now I make a diff: $ diff -ruNb titlepage.xsl /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/titlepage.templates.xsl --- titlepage.xsl 2018-10-25 14:40:47.354089038 +0200 +++ /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/titlepage.templates.xsl 2015-12-27 00:15:36.000000000 +0100 @@ -1,6 +1,7 @@ <?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0" exclude-result-prefixes="exsl d"> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" +xmlns:exsl="http://exslt.org/common" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0" exclude-result-prefixes="exsl d"> <!-- This stylesheet was created by template/titlepage.xsl--> @@ -5118,7 +5119,7 @@ <xsl:template name="indexdiv.titlepage.recto"> <fo:block xsl:use-attribute-sets="indexdiv.titlepage.recto.style"> <xsl:call-template name="indexdiv.title"> -<xsl:with-param name="title" select="title"/> +<xsl:with-param name="title" select="d:title"/> </xsl:call-template></fo:block> <xsl:choose> <xsl:when test="d:indexdivinfo/d:subtitle"> The first three lines of output seem to only have a newline char as difference. But the last stanza has the title string replaced with the d:title string. I cannot tell if this is a problem, but at least the output is not identical to the original file, and that contradicts the expectations of Bob (in a previous mail). As for your other question, yes I am indeed working with DocBook5. Thanks 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]