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] New namespacing in DocBook XSL 1.77.0 titlepage customization for FO causing problems


Hi Dermot,
I found the problem. I had forgotten that the template/titlepage.xsl stylesheet was changed so that it could output elements in a namespace by setting the stylesheet param "ns" to the namespace name. This was to fix the problem of generating titlepage templates for XHTML output, whose elements are in the XHTML namespace.

But the change also affected the fo titlepage file, but I don't think that was intentional. Until this gets fixed, you can reproduce your titlepage stylesheet by setting the ns param as follows:

xsltproc -o titlepage.fo.xsl --stringparam ns http://www.w3.org/1999/XSL/Format docbook-xsl-1.77.0/template/titlepage.xsl titlepage.fo.xml

I think this feature can be automated by adding the namespace string to each of the titlepage.template.xml files so that the stylesheet knows what the default namespace should be (and it can still be overwritten on the command line).

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "Bob Stayton" <bobs@sagehill.net> To: "Dermot O'Halloran" <dermot.ohalloran@gmail.com>; <docbook-apps@lists.oasis-open.org>
Sent: Thursday, May 31, 2012 9:54 AM
Subject: Re: [docbook-apps] New namespacing in DocBook XSL 1.77.0 titlepage customization for FO causing problems


Hi Dermot,
Indeed, the titlepage spec system is broken in 1.77.0. I'll investigate and get back to you. Thanks for the report.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- From: "Dermot O'Halloran" <dermot.ohalloran@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, May 31, 2012 4:23 AM
Subject: [docbook-apps] New namespacing in DocBook XSL 1.77.0 titlepage customization for FO causing problems



Hi,

The titlepage spec file I use for FO output no longer works in DocBook XSL
1.77.0. The first two pages in the resulting PDF (i.e. the title page and
copyright page) appear blank. From what I can see, the only relevant change
is in the template/titlepage.xsl stylesheet which now uses the fo namespace.
So even if I just have a spec file containing the following line I'll get
the blank pages:

<t:titlepage t:element="book" t:wrapper="fo:block"/>

Any ideas?

Rgds, Dermot
--
View this message in context: http://old.nabble.com/New-namespacing-in-DocBook-XSL-1.77.0-titlepage-customization-for-FO-causing-problems-tp33937589p33937589.html
Sent from the docbook apps mailing list archive at Nabble.com.


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