RE: Importing titlepage.xsl breaks section heading level in html
Cramer, David W (David <dcramer <at> motive.com>
2010-08-02 23:37:20 GMT
Hi Bob,
I see now that I do also have a separate titlepage file that I generated using the titlepage templates
mechanism. They do look similar inside so I don't feel so bad about having gotten confused
This came up as a result of the way I do my customization layer: If I want to change a template in the stock xsls,
I first copy the entire file that contains the template to my customization layer directory. I then make
any changes to the template(s) in it. Now, when it comes time to upgrade, I do a three way diff comparing the
unmodified xsl from the old base version, my modified version of it, and the latest version. This lets me
see if I've changed a template that also changed between DocBook xsl releases so I can carefully merge my
changes in with the changes in the stock xsls.
In this case, I modified some templates in titlepage.xsl some time ago (perhaps I should have done that work
within the titlepage templates mechanism) and eventually noticed that I wasn't getting anything but
<h1>s in my html output. In chunked html, it's not so noticeable since you don't see a heading and a
subheading on the same page.
I'll be sure that I import titlepage.xsl before I import my generated titlepage-templates.xsl file from
now on.
Thanks,
David
-----Original Message-----
From: Bob Stayton [mailto:bobs <at> sagehill.net]
Sent: Saturday, July 31, 2010 4:15 PM
To: Cramer, David W (David); docbook-apps <at> lists.oasis-open.org
Subject: Re: [docbook-apps] Importing titlepage.xsl breaks section heading level in html
Hi David,
I'm not sure you have the right titlepages file. In the xhtml directory the
(Continue reading)